7 Commits

Author SHA1 Message Date
50a5e94307 Some low-effort visibility hygiene 2022-05-27 18:38:30 -07:00
8657bc249c Stop threading the xcb connection everywhere
Easier to just store a reference to it in the structs.
2022-05-27 18:35:38 -07:00
761b906fb7 Split Monitor detection/creation 2022-05-27 18:16:02 -07:00
e89b6cb604 Make monitor resource freeing better 2022-05-27 18:11:20 -07:00
a516a25a9f Use regular X11 rather than XFIXES to hide cursor
The semantics of the XFIXES cursor hide deal are annoying and make
things harder.
2022-05-27 18:05:55 -07:00
344907f55a Avoid unmatched ShowCursor/HideCursor requests 2022-05-24 20:32:15 -07:00
8eb8dfac2e Refactor a bit and add backlight brightness keys handling
This will only work if the video driver supports the xrandr backlight
property.  It's possible only Intel does this...
2022-05-23 20:27:59 -07:00