xwayland: Make fullscreen used a fixed size
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>
This commit is contained in:
parent
881e1a5693
commit
34446a9952
|
@ -799,6 +799,7 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char **argv)
|
||||||
use_fixed_size = 1;
|
use_fixed_size = 1;
|
||||||
}
|
}
|
||||||
else if (strcmp(argv[i], "-fullscreen") == 0) {
|
else if (strcmp(argv[i], "-fullscreen") == 0) {
|
||||||
|
use_fixed_size = 1;
|
||||||
xwl_screen->fullscreen = 1;
|
xwl_screen->fullscreen = 1;
|
||||||
}
|
}
|
||||||
else if (strcmp(argv[i], "-host-grab") == 0) {
|
else if (strcmp(argv[i], "-host-grab") == 0) {
|
||||||
|
|
Loading…
Reference in New Issue