Markus Teich <markus.teich_AT_stusta.mhn.de> writes:
>
> which version of slock are you using? Please try the latest
> one. slock-1.4 was just released a few days ago. Build it from source
> if your distribution doesn't have a package for it yet. If the bug
> persists, what versions of the X server and Xrandr extension are you
> running?
I built slock from 1.4, with the same desktop-revealing result. This is
on Xorg 1.16.4, which supports RandR 1.4.
I merged my patch into 1.4; it fixes the issue.
The RandR protocol documentation at
<
https://www.x.org/releases/X11R7.5/doc/randrproto/randrproto.txt>
indicates under 'RRScreenChangeNotify' (just before section 8.1):
Note that the sizes in this event reflect the new SCREENSIZE and
thus will appear rotated by the 'rotation' parameter from the sizes
of the screen itself. In other words, when rotation is 90 or 270,
widthInPixels in this event will be the same as the height value
from a ConfigureNotify that reflects the same size change. This
will probably confuse developers.
I suspect that it's only accidentally working for some folks with
portrait screens.
Bob
Received on Tue Nov 22 2016 - 22:54:19 CET