projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22f8550
)
fix bug with window menu positioning
author
Dana Jansens
<danakj@orodu.net>
Mon, 29 Apr 2002 23:27:31 +0000
(23:27 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 29 Apr 2002 23:27:31 +0000
(23:27 +0000)
src/Window.cc
patch
|
blob
|
history
diff --git
a/src/Window.cc
b/src/Window.cc
index 4ced0046f8e90b2023232c689fb3148dea238aad..cc078fba01b35a408a9d4ad8fa0bc81cc2fc2386 100644
(file)
--- 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) {