wlroots/backend/drm
Simon Ser 38f18cd684 backend/drm: fix enabling an output with a custom mode set
Since 5567aefb1c ("backend/drm: Don't add pollute fixed modes
list with custom modes"), when a custom mode is set on an output,
current_mode will be NULL.

Instead of checking current_mode, check width/height.

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3946
(cherry picked from commit 94cb8e2bc7)
2025-10-21 22:25:46 +00:00
..
atomic.c backend/drm: check whether clipped damage is empty 2024-11-11 14:11:06 -05:00
backend.c backend/drm: Free drm device name on error 2024-04-30 10:18:05 +02:00
drm.c backend/drm: fix enabling an output with a custom mode set 2025-10-21 22:25:46 +00:00
fb.c backend/drm: add drm_fb_copy() 2024-03-04 11:25:33 +01:00
gen_pnpids.sh backend/drm: use libdisplay-info to parse EDID 2023-02-28 14:44:02 +00:00
legacy.c backend/drm: fix drmModePageFlip() when disabling CRTC on legacy uAPI 2024-11-29 08:42:38 -05:00
libliftoff.c backend/drm: avoid "maybe uninitialized" warning 2024-06-05 01:07:24 +03:00
meson.build add an option to enable/disable libliftoff 2024-06-05 22:33:05 -06:00
monitor.c backend/drm: drop wl_display argument 2024-01-25 15:05:36 +00:00
properties.c backend/drm: add support for SIZE_HINTS property 2024-07-10 22:42:44 +00:00
renderer.c allocator: remove backend parameter in allocator_autocreate_with_drm_fd 2024-02-02 16:36:31 -05:00
util.c backend/drm: use CRTCs in-order 2024-08-23 09:30:33 -04:00