mirror of
https://github.com/fltk/fltk.git
synced 2026-05-22 07:01:34 +08:00
Improve control of screen where FLTK positions menu windows (#1376)
This commit is contained in:
@@ -119,6 +119,8 @@ protected:
|
||||
end();
|
||||
set_modal();
|
||||
clear_border();
|
||||
// Put it on same screen as that where Menu_Window::parent_ is.
|
||||
screen_num(Fl_Window_Driver::menu_parent(NULL)->screen_num());
|
||||
}
|
||||
public:
|
||||
const Fl_Menu_Item* menu;
|
||||
|
||||
Reference in New Issue
Block a user