From b79d7ee745256eb14d664dcc1a6dac8520c9f490 Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 27 Jun 2006 01:46:42 +0000 Subject: Fix slit menu so it closes when you press escape --- ChangeLog | 3 +++ src/Slit.cc | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8eed445..c19e33b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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) { m_slitmenu.move(x, y); m_slitmenu.show(); + m_slitmenu.grabInputFocus(); } else m_slitmenu.hide(); } -- cgit v0.11.2