Fix slit menu so it closes when you press escape
This commit is contained in:
parent
6e60c53ae7
commit
b79d7ee745
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 1.0rc2:
|
||||
*06/06/27:
|
||||
* Fix slit menu so it closes when you press escape (Mark)
|
||||
Slit.cc
|
||||
*06/06/26:
|
||||
* Fix _NET_FRAME_EXTENTS implementation (Simon)
|
||||
Ewmh.cc Window.cc Screen.cc FbWinFrame.hh
|
||||
|
|
|
@ -1018,6 +1018,7 @@ void Slit::buttonPressEvent(XButtonEvent &e) {
|
|||
|
||||
m_slitmenu.move(x, y);
|
||||
m_slitmenu.show();
|
||||
m_slitmenu.grabInputFocus();
|
||||
} else
|
||||
m_slitmenu.hide();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue