]> Dogcows Code - chaz/openbox/commitdiff
fix bug with window menu positioning
authorDana Jansens <danakj@orodu.net>
Mon, 29 Apr 2002 23:27:31 +0000 (23:27 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 29 Apr 2002 23:27:31 +0000 (23:27 +0000)
src/Window.cc

index 4ced0046f8e90b2023232c689fb3148dea238aad..cc078fba01b35a408a9d4ad8fa0bc81cc2fc2386 100644 (file)
@@ -2596,7 +2596,7 @@ void OpenboxWindow::buttonPressEvent(XButtonEvent *be) {
           mx = be->x_root - windowmenu->getWidth() / 2;
           if (be->window == frame.title || be->window == frame.label) {
             my = frame.y + frame.title_h;
-          } else if (be->window = frame.handle) {
+          } else if (be->window == frame.handle) {
             my = frame.y + frame.y_handle - windowmenu->getHeight();
           } else { // (be->window == frame.window)
             if (be->y <= (signed) frame.bevel_w) {
This page took 0.027252 seconds and 4 git commands to generate.