darcs patch: Subscribe to leaveNotify events for windows (and 1 more)

Hi,
this is the correct patch. It gets screefocus-follows-mouse going. The trick is
to enable leaveNotify events for client windows (no enterNotify event for the
root window is generated when you move the mouse from a window to the empty
space). But these events are generated for the old window, so we must not feed
that to focus (or we might create an infinite loop), so there is focusScreen
which just makes the screen below the mouse current if it turns out to be a
different one than the active one.
Works with UpdatePointer without problems.
Greetings,
Joachim
Wed Oct 8 18:25:36 CEST 2008 Joachim Breitner
participants (1)
-
Joachim Breitner