diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-05-01 21:10:43 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-05-01 21:10:43 +0200 |
| commit | 02c7ee5128c02f25c1f46cea12d5c5dbba1eca55 (patch) | |
| tree | 1e78f6c0077acde42be151a73ee8cc40c5edce8e /src/drivers | |
| parent | ae65a6bf999b71f60a9c0da2681eea6d0929165d (diff) | |
Fix regression in Fl::screeen_xywh() introduced at 9ea0cc8
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index 6d72ea48e..d7f6a32be 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -1082,6 +1082,7 @@ static void registry_handle_global(void *user_data, struct wl_registry *wl_regis wl_output_add_listener(output->wl_output, &output_listener, output); wl_list_insert(&(scr_driver->outputs), &output->link); scr_driver->screen_count_set( wl_list_length(&(scr_driver->outputs)) ); + wl_display_roundtrip(scr_driver->wl_display); // important //fprintf(stderr, "wl_output: id=%d wl_output=%p screen_count()=%d\n", id, output->wl_output, Fl::screen_count()); } else if (strcmp(interface, xdg_wm_base_interface.name) == 0) { |
