Restored lower window with mouseclick feature and fixed windowmenu bug when resizing

This commit is contained in:
fluxgen 2002-01-01 16:07:28 +00:00
parent 24960df879
commit 900e6da0f2

View file

@ -2760,13 +2760,13 @@ void FluxboxWindow::buttonPressEvent(XButtonEvent *be) {
screen->getWorkspace(workspace_number)->raiseWindow(this); screen->getWorkspace(workspace_number)->raiseWindow(this);
} }
/*} else if (be->button == 2 && (be->window != frame.iconify_button) && } else if (be->button == 2 && be->window == frame.label) {
(be->window != frame.close_button)) {
screen->getWorkspace(workspace_number)->lowerWindow(this); screen->getWorkspace(workspace_number)->lowerWindow(this);
*/
} else if (windowmenu && be->button == 3 && } else if (windowmenu && be->button == 3 &&
(frame.title == be->window || frame.label == be->window || (frame.title == be->window || frame.label == be->window ||
frame.handle == be->window || frame.window == be->window)) { frame.handle == be->window)) {
int mx = 0, my = 0; int mx = 0, my = 0;
if (frame.title == be->window || frame.label == be->window) { if (frame.title == be->window || frame.label == be->window) {