diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-05-24 13:20:58 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-05-24 13:20:58 +0200 |
| commit | 00dc35097b86f77d4aae7c789b03c70690f4b97f (patch) | |
| tree | 7865b572876132384b498206e914f75a445877e1 /src/Fl_Menu.cxx | |
| parent | a09d43eb404fd864b7b76660774434ea54b720e8 (diff) | |
Control screen used by Fl_Menu_Bar::play_menu() - cont'd
Diffstat (limited to 'src/Fl_Menu.cxx')
| -rw-r--r-- | src/Fl_Menu.cxx | 2 |
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; |
