From 6712130f22914319f3c42365376e42d14bf9be0b Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 3 Jun 2024 15:05:04 +0200 Subject: Document how to control window location in screen under Wayland --- FL/Fl_Window.H | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'FL') diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index 03e20ac5c..3df78092e 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -174,8 +174,12 @@ public: \see Fl::screen_xywh(int &X, int &Y, int &W, int &H, int n) \note Under Wayland, it's generally not possible for the client app to control - the position of a window in the system. It's only possible to specify on what screen - should the compositor place a fullscreen window. + the position of a window in the system. It's possible to specify on what screen + should the compositor place a fullscreen window. It's also possible to make an + Fl_Window the child of another window or group and control with \p x and \p y + its screen position relatively to the enclosing window. Apply member function + Fl_Window::allow_expand_outside_parent() to the child window to allow it + to expand partially or totally outside its parent. */ Fl_Window(int x, int y, int w, int h, const char *title = 0); /** -- cgit v1.2.3