freenode/#stumpwm - IRC Chatlog
Search
21:55:53
PuercoPop
mood: Btw MichaelRaskin found more issues with the xinerama PR as well. And if we want to support xrandr with the same approach we'd have to use the extension that is not loaded by default which involves changing clx
21:59:58
mood
PuercoPop: RandR implements the Xinerama protocol, so we (at least initially) don't need to explicitly support it
22:01:59
mood
Well, that is unless it offers some functionality we need that the Xinerama protocol doesn't offer
22:25:08
PuercoPop
I didn't knew that xrandr handlers xinerama calls. Seems that all we need is xinerama then
22:25:44
mood
PuercoPop: I'll push a small fix to your branch, that makes it work without a working Xinerama
22:55:14
PuercoPop
Done, thanks. Should we close this PR then? https://github.com/stumpwm/stumpwm/pull/328 If I understood you correctly our new method of querying works with XRandr as well
22:58:34
mood
PuercoPop: If I understand the things I read about it correctly, and judging by the fact that truly disabling Xinerama in Xephyr requires disabling RandR, I think so
22:59:10
mood
RandR does offer functionality Xinerama doesn't, namely events when the configuration changes, but otherwise I believe it should not be necessary
23:03:08
mood
I would really like to someday switch over to using RandR completely, but that first requires a proper RandR implementation for CLX
23:11:08
PuercoPop
I have a branch that works with Manuel Giraud's implementation. It is not complete but it has what we need. https://github.com/sharplispers/clx/pull/15#issuecomment-124023883
23:13:44
PuercoPop
But I'm becoming increasingly convinced that CLX is a dead-end, and I should write cl-xcb using sockets only. (rpav has a cl-xcb-xlib but it uses cffi). It is full of archaisms like def-clx-class
23:15:04
mood
PuercoPop: I definitely agree. cl-xcb has just been too big of a project for me to really get started on
23:21:53
PuercoPop
Also having an XML description of the protocol is almost an invitation for yak shaving trying to write a custom reader that reads the XML description and converts it the implementation (not going to go that route)