summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-02-26 03:12:57 -0500
committerDana Jansens <danakj@orodu.net>2008-02-26 03:12:57 -0500
commit1ef0d8eb53fcae52afbae74310fbef0cac729951 (patch)
tree96fbc6f376c094f04c5b83d587846abebeffd699 /openbox/focus.c
parentdd97c9beac2778cddb97603315b21778323a25c7 (diff)
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.
Diffstat (limited to 'openbox/focus.c')
0 files changed, 0 insertions, 0 deletions