diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-05-20 06:05:34 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-05-20 06:05:34 +0200 |
| commit | 60440632eeabaf8e9611d6a83b8b2ca958c2ea5b (patch) | |
| tree | cf4335988884c55d2100ece53671cf9ea47cd93d /src/drivers | |
| parent | 89454508a2024da5fde5db309ede45a0af9cdeb3 (diff) | |
Fix name of static member variable Fl_Wayland_Screen_Driver::wl_display
and add explanatory comment.
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 2 | ||||
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index 2a379d57a..653fc646d 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -1182,7 +1182,7 @@ static void sync_done(void *data, struct wl_callback *cb, uint32_t time) { Fl_Wayland_Screen_Driver *scr_driver = (Fl_Wayland_Screen_Driver*)Fl::screen_driver(); Fl_Wayland_Screen_Driver::output *output; wl_list_for_each(output, &scr_driver->outputs, link) { // each screen of the system - while (!output->done) wl_display_dispatch(scr_driver->wl_display); + while (!output->done) wl_display_dispatch(Fl_Wayland_Screen_Driver::wl_display); } } diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index 7864d8289..166628e99 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -957,6 +957,7 @@ static void popup_configure(void *data, struct xdg_popup *xdg_popup, int32_t x, int HH; Fl_Window_Driver::menu_parent(&HH); if (window->fl_win->h() > HH && y != win_pos->y) { // A menu taller than the display + // Under KDE, height is set to the display height or less: we ignore that. window->state = (y - win_pos->y); // make selected item visible, if there's one Fl_Window_Driver::scroll_to_selected_item(window->fl_win); |
