diff options
author | fluxgen <fluxgen> | 2002-01-01 16:07:28 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-01-01 16:07:28 (GMT) |
commit | 900e6da0f29399a1ae2936819df6750c3daa3db0 (patch) | |
tree | 26305c159b2f486c3888152ef50ac9eaf4a1cee9 | |
parent | 24960df87987f17481ef293ad5e8e16cb6b8e2d7 (diff) | |
download | fluxbox_paul-900e6da0f29399a1ae2936819df6750c3daa3db0.zip fluxbox_paul-900e6da0f29399a1ae2936819df6750c3daa3db0.tar.bz2 |
Restored lower window with mouseclick feature and fixed windowmenu bug when resizing
-rw-r--r-- | src/Window.cc | 10 |
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) { |