xserver/mi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ivaylo Dimitrov 17bb295818 DPMS: Don't wake display from input when timeouts are disabled
When DPMS is active, `mieqProcessInputEvents()` unconditionally
switches the display back to `DPMSModeOn` for every input event.

This prevents systems from keeping the display powered off while still
allowing applications to use input devices when DPMS is externally
managed by disabling all screen-saver and DPMS timeouts.

When all screen-saver and DPMS timeouts are disabled, the current DPMS
state is assumed to be externally managed and should not be overridden
by input activity.

Keep input processing unchanged so devices such as media buttons remain
usable while the display is off.

Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2287>
(cherry picked from commit 975453b1aa)
(cherry picked from commit 3daad9945ee4cf750dc2624109096cbfb288be13)
(cherry picked from commit 68481c5b4ee716a8a7d093e1b9ca622d97882156)
2026-10-02 12:35:19 +02:00
..
meson.build mi: move over mioverlay.c to hw/xfree86/compat 2026-06-24 19:26:49 +02:00
mi_priv.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
miarc.c Handle -Wimplicit-fallthrough warnings from gcc 16.1 2026-09-30 21:03:21 +02:00
micmap.c mi: parentheses around macro argument symbols 2026-06-25 09:23:45 +02:00
micopy.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
midash.c
midispcur.c mi: fix double-free/UAF in miDCInitialize() on miSpriteInitialize() failure 2026-08-07 15:00:09 +02:00
mieq.c DPMS: Don't wake display from input when timeouts are disabled 2026-10-02 12:35:19 +02:00
miexpose.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
mifillarc.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
mifillarc.h mi: parentheses around macro argument symbols 2026-06-25 09:23:45 +02:00
mifpoly.h
migc.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
miglblt.c fb/mi/glamor: reject glyphs with negative dimensions 2026-07-14 11:54:22 +02:00
miinitext.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
miinitext.h mi: drop including dix-config.h from headers 2026-02-10 16:01:20 +01:00
mipointer.c mi: guard against NULL event pointer 2026-08-31 14:02:13 +02:00
mipointer_priv.h license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
mipoly.c treewide: replace min/max macros by non-exported MIN/MAX and deprecate them 2026-06-25 14:06:17 +02:00
mipoly.h mi: parentheses around macro argument symbols 2026-06-25 09:23:45 +02:00
mipolypnt.c mi: use NULL instead of NullClient 2025-07-18 22:24:55 +02:00
mipolyrect.c mi: parentheses around macro argument symbols 2026-06-25 09:23:45 +02:00
mipolyseg.c
mipolytext.c treewide: clean up includes of misc.h 2026-06-19 19:24:57 +02:00
mipushpxl.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
miscanfill.h mi: parentheses around macro argument symbols 2026-06-25 09:23:45 +02:00
miscrinit.c treewide: clean up includes of misc.h 2026-06-19 19:24:57 +02:00
misprite.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
misprite.h mi: misprite.h: change retval's from Bool to bool (stdbool.h) 2026-04-23 20:01:59 +02:00
mivaltree.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
miwideline.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
miwideline.h mi: parentheses around macro argument symbols 2026-06-25 09:23:45 +02:00
miwindow.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
mizerarc.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00
mizerclip.c mi: parentheses around macro argument symbols 2026-06-25 09:23:45 +02:00
mizerline.c mi: use stdbool's 'bool' instead of 'Bool' for local variables 2026-08-07 14:35:29 +02:00