diff options
| author | Olivier Fourdan <ofourdan@redhat.com> | 2023-07-25 16:25:29 +0200 |
|---|---|---|
| committer | Olivier Fourdan <ofourdan@redhat.com> | 2023-07-27 09:58:51 +0200 |
| commit | 34446a99528a9c2ee1cc5e83118e5d0c58795b31 (patch) | |
| tree | 66f1dbf490b152803304afefdfa7c7bd6d3e3420 | |
| parent | 881e1a569393aae3010a17079567be47c70d259e (diff) | |
Similar to commit 94deed272 - " xwayland: Use sensible defaults for
rootful size", mark fullscreen mode as fixed so that the actual monitor
layout is not reflected in the single fullscreen rootful window.
Without this, if "-fullscreen" is used without "-geometry", the XRandR
configuration is taken from the compositor via wl_output/xdg-output and
cannot be changed by the X11 clients.
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
| -rw-r--r-- | hw/xwayland/xwayland-screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xwayland/xwayland-screen.c b/hw/xwayland/xwayland-screen.c index 37ee7da0f..6b57fbe9d 100644 --- a/hw/xwayland/xwayland-screen.c +++ b/hw/xwayland/xwayland-screen.c @@ -799,6 +799,7 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char **argv) use_fixed_size = 1; } else if (strcmp(argv[i], "-fullscreen") == 0) { + use_fixed_size = 1; xwl_screen->fullscreen = 1; } else if (strcmp(argv[i], "-host-grab") == 0) { |
