Improve control of screen where FLTK positions menu windows (#1376)

This commit is contained in:
ManoloFLTK 2026-03-10 10:37:34 +01:00
parent 201a56f0a5
commit d05c0790a3

View File

@ -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;