summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-06-03 15:05:04 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-06-03 15:05:04 +0200
commit6712130f22914319f3c42365376e42d14bf9be0b (patch)
treee1641f4b8843188ee7a43594302eb462886f9851 /src/drivers
parentce46b4b68be0d140e2cd5d2e1bd75b7f0cc90140 (diff)
Document how to control window location in screen under Wayland
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 4d36f8ce9..467e985ef 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -1867,6 +1867,7 @@ void Fl_Wayland_Window_Driver::resize(int X, int Y, int W, int H) {
}
if (fl_win && fl_win->kind == SUBWINDOW && fl_win->subsurface) {
+ // Interactive move or resize of a subwindow requires to commit the parent surface (#987)
Fl_Window *parent = pWindow->window();
struct wld_window *xid = fl_wl_xid(parent);
if (xid) wl_surface_commit(xid->wl_surface);