summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-05-24 13:20:58 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-05-24 13:20:58 +0200
commit00dc35097b86f77d4aae7c789b03c70690f4b97f (patch)
tree7865b572876132384b498206e914f75a445877e1 /src
parenta09d43eb404fd864b7b76660774434ea54b720e8 (diff)
Control screen used by Fl_Menu_Bar::play_menu() - cont'd
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Menu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Menu.cxx b/src/Fl_Menu.cxx
index 328f195d9..ed362a921 100644
--- a/src/Fl_Menu.cxx
+++ b/src/Fl_Menu.cxx
@@ -344,7 +344,7 @@ menuwindow::menuwindow(const Fl_Menu_Item* m, int X, int Y, int Wp, int Hp,
menubartitle = menubar_title;
origin = NULL;
offset_y = 0;
- int n = (Wp > 0 ? Fl::screen_num(X, Y, Wp, Hp) : -1);
+ int n = (Wp > 0 ? Fl::screen_num(X, Y) : -1);
Fl_Window_Driver::driver(this)->menu_window_area(scr_x, scr_y, scr_w, scr_h, n);
if (!right_edge || right_edge > scr_x+scr_w) right_edge = scr_x+scr_w;