From 06d4ea68085558b94d8e9c937091e7b7fcc5d95a Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 20 Sep 2012 08:18:11 +0200 Subject: libxcb xserver pixman mesa git update 20 sep 2012 libxcb: 08cc068ead7b8e678cdb119b38ada5261d5cc3ea xserver: 70e5766874a919039678bb2ed75f2ccea0cb4345 pixman: 3124a51abb89475b8c5045bc96e04c5852694a16 mesa: bd8fb9e80562fbe0ff76cae50fc411635096f3a9 --- xorg-server/config/udev.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'xorg-server/config') diff --git a/xorg-server/config/udev.c b/xorg-server/config/udev.c index c2d00bbda..454838f4c 100644 --- a/xorg-server/config/udev.c +++ b/xorg-server/config/udev.c @@ -300,9 +300,15 @@ wakeup_handler(pointer data, int err, pointer read_mask) return; action = udev_device_get_action(udev_device); if (action) { - if (!strcmp(action, "add") || !strcmp(action, "change")) { + if (!strcmp(action, "add")) { device_removed(udev_device); device_added(udev_device); + } else if (!strcmp(action, "change")) { + /* ignore change for the drm devices */ + if (strcmp(udev_device_get_subsystem(udev_device), "drm")) { + device_removed(udev_device); + device_added(udev_device); + } } else if (!strcmp(action, "remove")) device_removed(udev_device); -- cgit v1.2.3