summaryrefslogtreecommitdiff
path: root/xserver/include
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2018-01-15 15:30:37 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2018-01-15 15:30:37 +0000
commit8e432d651570775c9a7758b6a3aceee8d1f48080 (patch)
tree490a217a7587663a0c334b9982849032a6dd9ade /xserver/include
parente061c608afa92f61481071786f2cde0a40cb9aac (diff)
watch for events sent by drm(4) over kevent using EVFILT_DEVICE
and NOTE_CHANGE to notify the desktop environment to deal with the change (e.g. after plugging in an HDMI cable) with this change there is no need to manually do any randr commands if your desktop environment supports it (gnome, mate, kde, etc.) ok matthieu@, kettenis@
Diffstat (limited to 'xserver/include')
-rw-r--r--xserver/include/dix-config.h.in3
-rw-r--r--xserver/include/do-not-use-config.h.in3
2 files changed, 6 insertions, 0 deletions
diff --git a/xserver/include/dix-config.h.in b/xserver/include/dix-config.h.in
index 2d63a0f6b..ad0ce6748 100644
--- a/xserver/include/dix-config.h.in
+++ b/xserver/include/dix-config.h.in
@@ -439,6 +439,9 @@
/* Use libudev for kms enumeration */
#undef CONFIG_UDEV_KMS
+/* Use kevent for kms enumeration */
+#undef CONFIG_KEVENT_KMS
+
/* Use udev_monitor_filter_add_match_tag() */
#undef HAVE_UDEV_MONITOR_FILTER_ADD_MATCH_TAG
diff --git a/xserver/include/do-not-use-config.h.in b/xserver/include/do-not-use-config.h.in
index be89b5513..259d0b426 100644
--- a/xserver/include/do-not-use-config.h.in
+++ b/xserver/include/do-not-use-config.h.in
@@ -36,6 +36,9 @@
/* Use the HAL hotplug API */
#undef CONFIG_HAL
+/* Use kevent for kms enumeration */
+#undef CONFIG_KEVENT_KMS
+
/* Use libudev for input hotplug */
#undef CONFIG_UDEV