summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-29 23:27:31 +0000
committerDana Jansens <danakj@orodu.net>2002-04-29 23:27:31 +0000
commit84f0293a888db6720647289219ec44d2733df91c (patch)
tree39155bf4109ffa0a1325e064a60e90d9c1f4c4ee /src
parent22f8550d4508773fdcd97cfd96ce708550eef9d8 (diff)
fix bug with window menu positioning
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 4ced0046..cc078fba 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -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) {