diff options
author | markt <markt> | 2006-06-27 01:46:42 (GMT) |
---|---|---|
committer | markt <markt> | 2006-06-27 01:46:42 (GMT) |
commit | b79d7ee745256eb14d664dcc1a6dac8520c9f490 (patch) | |
tree | 02b07c4bcbc395ec97f397aaba2052a840c93bc4 | |
parent | 6e60c53ae7fbffa034da952e061f5a81d0f082be (diff) | |
download | fluxbox_lack-b79d7ee745256eb14d664dcc1a6dac8520c9f490.zip fluxbox_lack-b79d7ee745256eb14d664dcc1a6dac8520c9f490.tar.bz2 |
Fix slit menu so it closes when you press escape
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | src/Slit.cc | 1 |
2 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,8 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 1.0rc2: | 2 | Changes for 1.0rc2: |
3 | *06/06/27: | ||
4 | * Fix slit menu so it closes when you press escape (Mark) | ||
5 | Slit.cc | ||
3 | *06/06/26: | 6 | *06/06/26: |
4 | * Fix _NET_FRAME_EXTENTS implementation (Simon) | 7 | * Fix _NET_FRAME_EXTENTS implementation (Simon) |
5 | Ewmh.cc Window.cc Screen.cc FbWinFrame.hh | 8 | Ewmh.cc Window.cc Screen.cc FbWinFrame.hh |
diff --git a/src/Slit.cc b/src/Slit.cc index c676f30..e1a4b0f 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -1018,6 +1018,7 @@ void Slit::buttonPressEvent(XButtonEvent &e) { | |||
1018 | 1018 | ||
1019 | m_slitmenu.move(x, y); | 1019 | m_slitmenu.move(x, y); |
1020 | m_slitmenu.show(); | 1020 | m_slitmenu.show(); |
1021 | m_slitmenu.grabInputFocus(); | ||
1021 | } else | 1022 | } else |
1022 | m_slitmenu.hide(); | 1023 | m_slitmenu.hide(); |
1023 | } | 1024 | } |