x11/slim: fix path to DRM device in slim.conf patch

pending an update to a less-abandoned github fork.. or a cvs rm.
discussed with ajacoutot@
This commit is contained in:
landry 2021-02-19 17:20:18 +00:00
parent 64129fdf86
commit 796bb1a135
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.55 2020/07/24 05:41:37 landry Exp $
# $OpenBSD: Makefile,v 1.56 2021/02/19 17:20:18 landry Exp $
COMMENT= simple login manager
DISTNAME= slim-1.3.6
REVISION= 24
REVISION= 25
SHARED_LIBS= slim 0.0 # 1.3

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-slim_conf,v 1.8 2014/01/13 20:00:50 landry Exp $
$OpenBSD: patch-slim_conf,v 1.9 2021/02/19 17:20:18 landry Exp $
--- slim.conf.orig Wed Oct 2 00:38:05 2013
+++ slim.conf Mon Jan 13 20:50:42 2014
@@ -1,17 +1,17 @@
@ -41,9 +41,9 @@ $OpenBSD: patch-slim_conf,v 1.8 2014/01/13 20:00:50 landry Exp $
-# sessionstart_cmd some command
-# sessionstop_cmd some command
+# transfer /dev/drm0 ownership to the logged in user
+sessionstart_cmd chown %user /dev/drm0
+sessionstop_cmd chown root /dev/drm0
+# transfer /dev/dri/card0 ownership to the logged in user
+sessionstart_cmd chown %user /dev/dri/card0
+sessionstop_cmd chown root /dev/dri/card0
+
# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line