aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-01-01 16:07:28 (GMT)
committerfluxgen <fluxgen>2002-01-01 16:07:28 (GMT)
commit900e6da0f29399a1ae2936819df6750c3daa3db0 (patch)
tree26305c159b2f486c3888152ef50ac9eaf4a1cee9 /src/Window.cc
parent24960df87987f17481ef293ad5e8e16cb6b8e2d7 (diff)
downloadfluxbox-900e6da0f29399a1ae2936819df6750c3daa3db0.zip
fluxbox-900e6da0f29399a1ae2936819df6750c3daa3db0.tar.bz2
Restored lower window with mouseclick feature and fixed windowmenu bug when resizing
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc10
1 files 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) {
2760 2760
2761 screen->getWorkspace(workspace_number)->raiseWindow(this); 2761 screen->getWorkspace(workspace_number)->raiseWindow(this);
2762 } 2762 }
2763 /*} else if (be->button == 2 && (be->window != frame.iconify_button) && 2763 } else if (be->button == 2 && be->window == frame.label) {
2764 (be->window != frame.close_button)) {
2765 screen->getWorkspace(workspace_number)->lowerWindow(this); 2764 screen->getWorkspace(workspace_number)->lowerWindow(this);
2766 */ 2765
2767 } else if (windowmenu && be->button == 3 && 2766 } else if (windowmenu && be->button == 3 &&
2768 (frame.title == be->window || frame.label == be->window || 2767 (frame.title == be->window || frame.label == be->window ||
2769 frame.handle == be->window || frame.window == be->window)) { 2768 frame.handle == be->window)) {
2769
2770 int mx = 0, my = 0; 2770 int mx = 0, my = 0;
2771 2771
2772 if (frame.title == be->window || frame.label == be->window) { 2772 if (frame.title == be->window || frame.label == be->window) {