Fix slit menu so it closes when you press escape

This commit is contained in:
markt 2006-06-27 01:46:42 +00:00
parent 6e60c53ae7
commit b79d7ee745
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -1018,6 +1018,7 @@ void Slit::buttonPressEvent(XButtonEvent &e) {
m_slitmenu.move(x, y);
m_slitmenu.show();
m_slitmenu.grabInputFocus();
} else
m_slitmenu.hide();
}