xserver/hw/xwayland
Olivier Fourdan 598bc33cfa xwayland: Use output geometry by default when fullscreen
Currently, when started fullscreen, Xwayland rootful would use a default
resolution of "640x480" and apply a viewport to match the actual output
resolution.

That's quite counter intuitive, because when started fullscreen, one
would expect the default Xwayland root size to match the logical size
of the output where it is placed, unless of course, a geometry is
explicitly specified from the command line.

Fix the default resolution to be driven from the window size instead,
even when started fullscreen, so that one can start Xwayland rootful
and fullscreen and get the optimal resolution by default.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2196>
2026-04-29 11:50:19 +02:00
..
desktop xwayland: Use "-decorate" if available 2026-01-19 12:32:22 -08:00
man xwayland: Add a new command line option to enable selection bridge 2026-04-27 14:24:04 +02:00
.gitignore xwayland: Add wp_viewport wayland extension support 2019-10-12 12:19:14 +02:00
drm.xml wayland: Sync drm.xml with Mesa 2017-07-05 10:13:04 -04:00
meson.build xwayland: Implement clipboard and primary selection 2026-04-27 14:24:04 +02:00
xwayland-cursor.c xwayland: Do not keep the cursor's pixmap around 2026-01-25 10:39:58 -08:00
xwayland-cursor.h xwayland: Add xwl_cursor_clear_frame_cb() 2021-10-25 12:05:42 +00:00
xwayland-cvt.c xwayland: Keep the CVT timings for non-standard modes 2023-05-15 10:33:21 +02:00
xwayland-cvt.h xwayland: Move Xwayland CVT declaration 2019-12-20 16:19:01 +01:00
xwayland-dmabuf.c treewide: replace xnfrealloc() calls to XNFrealloc() 2026-01-25 10:39:55 -08:00
xwayland-dmabuf.h xwayland: Move dmabuf code to its own source file 2026-01-19 12:32:21 -08:00
xwayland-drm-lease.c hw/xwayland: fix missing NULL checks in DRM lease allocation paths 2026-04-28 02:37:43 +00:00
xwayland-drm-lease.h Xwayland: implement drm-lease-v1 2021-12-07 10:02:29 +00:00
xwayland-glamor-gbm.c xwayland: Expand tab characters 2026-01-25 11:47:31 -08:00
xwayland-glamor-gbm.h xwayland/glamor/gbm: Copy explicit sync code to GLAMOR/GBM 2026-01-25 10:39:54 -08:00
xwayland-glamor-xv.c treewide: replace xnfcalloc() calls by XNFcallocarray() 2026-01-25 10:39:55 -08:00
xwayland-glamor.c Strip trailing whitespace from source files 2026-01-25 10:40:02 -08:00
xwayland-glamor.h xwayland: Pass xwl_window to xwl_glamor_dri3_syncobj_passthrough 2026-01-19 12:32:25 -08:00
xwayland-input.c hw/xwayland: handle wl_array_add failure in keyboard_handle_key 2026-04-28 02:37:43 +00:00
xwayland-input.h xwayland: wrong expecting_event 2026-02-08 11:44:42 -08:00
xwayland-output.c xwayland: Clean-up stray newlines 2026-01-25 11:47:31 -08:00
xwayland-output.h xwayland: Adjust RandR emulation for rotation 2026-01-25 11:47:26 -08:00
xwayland-pixmap.c xwayland: Add xwl_pixmap_get_wl_buffer helper 2024-01-22 14:14:05 +00:00
xwayland-pixmap.h xwayland: Replace window pixmap as needed for drawing operation 2026-01-19 12:32:20 -08:00
xwayland-present.c xwayland: Clean-up stray newlines 2026-01-25 11:47:31 -08:00
xwayland-present.h xwayland: Only ignore manual redirection by clients for surface window 2026-01-25 10:39:54 -08:00
xwayland-screen.c xwayland: Use output geometry by default when fullscreen 2026-04-29 11:50:19 +02:00
xwayland-screen.h xwayland: Use output geometry by default when fullscreen 2026-04-29 11:50:19 +02:00
xwayland-selection.c xwayland: Implement clipboard and primary selection 2026-04-27 14:24:04 +02:00
xwayland-selection.h xwayland: Implement clipboard and primary selection 2026-04-27 14:24:04 +02:00
xwayland-shm.c os: move os_move_fd() out of public API 2026-01-19 12:32:20 -08:00
xwayland-shm.h xwayland: Move SHM declarations to their own header 2019-12-20 16:19:01 +01:00
xwayland-types.h xwayland: Add xwl_seat to the Xwayland types 2026-04-27 14:24:04 +02:00
xwayland-vidmode.c xwayland: Expand tab characters 2026-01-25 11:47:31 -08:00
xwayland-vidmode.h xwayland: Move Xwayland vidmode declaration 2019-12-20 16:19:01 +01:00
xwayland-window-buffers.c xwayland: Do not include sys/eventfd.h without DRI3 2026-01-25 10:39:56 -08:00
xwayland-window-buffers.h xwayland/window-buffers: optionally force disposal 2026-01-25 10:39:55 -08:00
xwayland-window.c xwayland: Use output geometry by default when fullscreen 2026-04-29 11:50:19 +02:00
xwayland-window.h xwayland: Avoid premature surface commit running rootfull 2026-01-25 11:47:31 -08:00
xwayland-xtest.c xwayland: Clean-up stray newlines 2026-01-25 11:47:31 -08:00
xwayland-xtest.h xwayland: Fallback to plain XTEST if EI does not work 2023-06-26 13:19:19 +02:00
xwayland.c xwayland: Validate command line options separately 2026-04-28 07:38:18 +00:00