Improve control of screen where FLTK positions menu windows (#1376)
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

This commit is contained in:
ManoloFLTK
2026-03-10 10:37:34 +01:00
parent 201a56f0a5
commit d05c0790a3
+2
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;