How is it possible to catch a buttonpress event outside any window, without
messing up everything?
Until now I've tried to apply grabbuttons to the root window, with
focused=True. Doing so, the root window catches the button press, but it
catches too much, i.e. every button press. So every other window becomes deaf.
I've tried also to create a ghost window with CWOverrideRedirect, like barwin
does, which has the same size of the root window. It works.
However, since I don't update it, old pixels remains when a window is moved.
Is there a simple solution, or do I have to update the ghost win every time?
Thanks ;)
-- :wq! "I don't know nothing" The One Who reached the Thinking Matter '.' [ Alpt --- Freaknet Medialab ] [ GPG Key ID 441CF0EE ] [ Key fingerprint = 8B02 26E8 831A 7BB9 81A9 5277 BFF8 037E 441C F0EE ]Received on Mon Sep 24 2007 - 07:00:24 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:55:12 UTC