From 4fb480525128bbc3696e4f3316fbd2184d3cd5a2 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Thu, 10 Jul 2003 12:00:49 +0000 Subject: minor cleaning --- src/FbTk/Menu.cc | 5 +---- src/fluxbox.cc | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 67ec949..c9943b3 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Menu.cc,v 1.27 2003/07/03 12:47:22 fluxgen Exp $ +// $Id: Menu.cc,v 1.28 2003/07/10 11:57:37 fluxgen Exp $ //use GNU extensions #ifndef _GNU_SOURCE @@ -83,7 +83,6 @@ Menu *Menu::s_focused = 0; Menu::Menu(MenuTheme &tm, int screen_num, ImageControl &imgctrl): m_theme(tm), m_screen_num(screen_num), - m_prev_focused_window(0), m_image_ctrl(imgctrl), m_display(FbTk::App::instance()->display()), m_parent(0), @@ -1035,11 +1034,9 @@ bool Menu::isItemEnabled(unsigned int index) const { void Menu::handleEvent(XEvent &event) { if (event.type == FocusOut) { - cerr<<"Focus out"<xfocus.mode == NotifyUngrab || e->xfocus.detail == NotifyPointer) break; @@ -888,9 +887,6 @@ void Fluxbox::handleEvent(XEvent * const e) { } break; case FocusOut:{ -#ifdef DEBUG - cerr<<__FILE__<<"("<<__FUNCTION__<<") Focus out!"<xfocus.mode == NotifyUngrab || e->xfocus.detail == NotifyPointer) break; -- cgit v0.11.2