You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I need to get the dimensions of the current monitor. However when requesting xcb:randr:GetScreenResourcesCurrent . It always returns nil. Here's a simple sexp to demonstrate.
The reason this does not work might be that the XELB XRandr extension is not initialized. This is done by xcb:get-extension-data, see exwm-randr.el:
(when (= 0 (slot-value (xcb:get-extension-data exwm--connection 'xcb:randr)
'present))
(error "[EXWM] RandR extension is not supported by the server"))
This not documented anywhere (that I've seen) and cost me long hours of astonishment to discover.
Hello, I need to get the dimensions of the current monitor. However when requesting xcb:randr:GetScreenResourcesCurrent . It always returns nil. Here's a simple sexp to demonstrate.
As you can see reply evals to NIL.
I know this should work because exwm uses it with exwm--root. So I'm not sure what I'm doing wrong here. Or maybe exwm--root is special?
In C my code looks like this, and works as expected.
The text was updated successfully, but these errors were encountered: