From 900e6da0f29399a1ae2936819df6750c3daa3db0 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 1 Jan 2002 16:07:28 +0000 Subject: Restored lower window with mouseclick feature and fixed windowmenu bug when resizing --- src/Window.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 6cccec7..70531be 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -2760,13 +2760,13 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent *be) { screen->getWorkspace(workspace_number)->raiseWindow(this); } - /*} else if (be->button == 2 && (be->window != frame.iconify_button) && - (be->window != frame.close_button)) { + } else if (be->button == 2 && be->window == frame.label) { screen->getWorkspace(workspace_number)->lowerWindow(this); - */ + } else if (windowmenu && be->button == 3 && - (frame.title == be->window || frame.label == be->window || - frame.handle == be->window || frame.window == be->window)) { + (frame.title == be->window || frame.label == be->window || + frame.handle == be->window)) { + int mx = 0, my = 0; if (frame.title == be->window || frame.label == be->window) { -- cgit v0.11.2