wlroots-hyprland/backend/session
sghctoma 2bd6fbf20e Fix that major(st_rdev) have no meaning on FreeBSD
The major device number does not indicate the device type on FreeBSD,
and AFAIK the only way to differentiate between DRM, input, and other
devices is checking the fd path. This commit implements that.

The drmDropmaster and drmSetmaster calls are necessary, because the
implicit drop (that should occur when the DRM fd is closed) seems not
to be working in some scenarios (e.g. if you have a tmux session
running - maybe the fd is retained somehow by tmux?). This is a
problem, because once you exit the compositor, you can't start it (or
any other program that wants to be DRM master) again until you close
all your tmux sessions.
2018-08-30 11:15:39 +02:00
..
direct-freebsd.c Fix that major(st_rdev) have no meaning on FreeBSD 2018-08-30 11:15:39 +02:00
direct-ipc.c Fix that major(st_rdev) have no meaning on FreeBSD 2018-08-30 11:15:39 +02:00
direct.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
logind.c Revert "Merge pull request #1153 from emersion/include-config" 2018-07-21 09:44:20 -04:00
session.c Init the new destroy signals added by #1200 2018-08-27 18:21:36 +02:00