summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-03-29 09:30:30 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-03-29 09:30:30 +0200
commita681aa803c8975fb1852414e93453b7e674dd9e7 (patch)
treea3360bd83feaa81a2c50b7ef5c5c56aa7ebedd26 /src
parent43c4bd1031b6d2d729f15404e044f568752d628f (diff)
Complete explanatory comment about Weston compositor
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 2110560c3..48327e33e 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -883,7 +883,7 @@ static void xdg_toplevel_configure(void *data, struct xdg_toplevel *xdg_toplevel
int32_t width, int32_t height, struct wl_array *states)
{
// runs for borderless top-level windows
- // under Weston: width & height are 0 during both calls
+ // under Weston: width & height are 0 during both calls, except if fullscreen
struct wld_window *window = (struct wld_window*)data;
//fprintf(stderr, "xdg_toplevel_configure: surface=%p size: %dx%d\n", window->wl_surface, width, height);
if (window->fl_win->fullscreen_active() && !parse_states_fullscreen(states)) {