mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 12:18:09 +02:00
xwayland: Make fullscreen used a fixed size
Similar to commit94deed272- " 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> (cherry picked from commit34446a9952)
This commit is contained in:
parent
9b6b11d194
commit
5b39ad9041
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue