]> icculus.org git repositories - mikachu/openbox.git/commit
Fixing bug from commit 041d17373e04
authorDana Jansens <danakj@orodu.net>
Tue, 26 Feb 2008 08:12:57 +0000 (03:12 -0500)
committerDana Jansens <danakj@orodu.net>
Tue, 26 Feb 2008 08:12:57 +0000 (03:12 -0500)
commit1ef0d8eb53fcae52afbae74310fbef0cac729951
tree96fbc6f376c094f04c5b83d587846abebeffd699
parentdd97c9beac2778cddb97603315b21778323a25c7
Fixing bug from commit 041d17373e04

Pressing a button and leave/enter would cause the button to show hover mode, not pressed mode.  Change the behaviour back to how it used to be for pressing (the button stays pressed when you move outside of its box) and make it work correctly, as commit 041d17373e04 also did for menus.

Reverting this behaviour because it seems impossible to do the enter/leave stuff correctly for the close button on maximized windows.  Leaving the titlebar contexts doesn't give us an Enter event to go along with it, so even if we check all motion events, the button will flash unpressed when leaving the topright contexts.
openbox/event.c
openbox/frame.h
openbox/mouse.c