From 4e75549e7bd8b0ea032cf279066d0fac09577067 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 2 Feb 2023 17:03:09 +0100 Subject: Update dependencies and fix whitespace errors - replace tabs with spaces - remove trailing whitespace --- src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/drivers/Wayland') diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx index b54acac2f..26c00f10c 100644 --- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx @@ -996,7 +996,7 @@ static const char *get_prog_name() { the source window and the display top. FLTK can later reposition the same tall popup, without the constraint not to go beyond the display top, at the exact position so that the desired series of menu items appear in the visible part of the tall popup. - + In case 1) above, the values that represent the display bounds are given very large values. That's done by member function Fl_Wayland_Window_Driver::menu_window_area(). Consequently, FLTK computes an initial layout of future popups relatively to @@ -1010,7 +1010,7 @@ static const char *get_prog_name() { process_menu_or_tooltip(), makeWindow() calls Fl_Window::wait_for_expose() so its constrained position is known before computing the position of the next popup. This ensures each popup is correctly placed relatively to its parent. - + Groups of popups containing a menutitle, the associated menuwindow, and optionally a submenu window and that don't belong to an Fl_Menu_Bar are mapped in a different order: the menuwindow is mapped first, and the menutitle is mapped second above it as a child popup. @@ -1019,7 +1019,7 @@ static const char *get_prog_name() { the menutitle is mapped only after the menuwindow has been mapped, as a child of it. This positions better the popup group in the display relatively to where the popup was created. - + In case 2) above, a tall popup is mapped with XDG_POSITIONER_CONSTRAINT_ADJUSTMENT_SLIDE_Y which puts its top at the display top border. The Wayland system then calls the popup_configure() callback function with the x,y coordinates of the top left corner -- cgit v1.2.3