xwininfo-1.1.0-r1 produces wrong value for window left outside of the screen.
it gives a positive value of 65xxx where it should be a negative value
1.0.5 doesn't have this problem.
reported upstream - fix attatched.
Steps to Reproduce:
1. move a window particularly left outside of the screen
2. xwininfo and click that window
the output of f.e. Absolute upper-left X is positive
the output of f.e. Absolute upper-left X should be negative
problem reported upstream
patch from jcristau attached
Created attachment 251433 [details]
updated ebuild using the patch
Created attachment 251435 [details, diff]
jcristau's patch to fix the bug
Note it's not a fix, it's a workaround. Proper fix would be to change types in xcb-proto.
Proper fix: http://cgit.freedesktop.org/xcb/proto/commit/?id=661fe8dd7727c27467e61a0d20dc91557ce3747f
thank you for the quick fix!
it doesn't seem to work though for me.
I rebuilt xcb-proto-1.6 with your patch and afterwards rebuilt xwininfo
without the workaround patch.
the value is still positive -
Absolute upper-left X: 64247
in the test case.
is there anything else I should rebuild?
All libxcb* libraries, they are generated from xcb-proto.
And then xwininfo again.
wow you're damn fast! :)
I rebuilt libxcb, xcb-util and unpatched =xwininfo-1.1.0-r1 from portage
and it works!
thank you very much! :)
Created attachment 251465 [details]
updated xcb-proto ebuild using proper patch
Created attachment 251467 [details, diff]
the proper patch
Guys, this bug causes double virtual screen size for
me from time to time. The attached fix in this bug fixes this problem.
It needs to go in sooner than later I think
This is fixed in xwininfo-1.1.1, xwininfo-1.1.0 is not even in portage anymore.
although xwininfo is fixed, the actual bug is in xcb-proto (see #3 + #4).
Added into main tree. Thanks for report and sorry for delay.
Affected packages should probably be revbumped. The proto does nothing on its own, so people will not get the fix until they rebuild manually.