[Xfce4-commits] [xfce/xfwm4] 02/02: Use the correct drm/dri device on OpenBSD

noreply at xfce.org noreply at xfce.org
Mon Jan 26 21:51:55 CET 2015


This is an automated email from the git hooks/post-receive script.

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit 71d66e3fc7321168c9fdc7b99dc44154e99bfd8a
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Mon Jan 26 21:08:24 2015 +0100

    Use the correct drm/dri device on OpenBSD
    
    Bug: 11478
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/compositor.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/compositor.c b/src/compositor.c
index 0c23164..bf5165b 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -102,7 +102,11 @@
 #define TIMEOUT_REPAINT_MAX   20
 #define TIMEOUT_DRI           10 /* seconds */
 
+#ifdef __OpenBSD__
+#define DRM_CARD0             "/dev/drm0"
+#else
 #define DRM_CARD0             "/dev/dri/card0"
+#endif
 
 typedef struct _CWindow CWindow;
 struct _CWindow

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list