fix bug with window menu positioning
This commit is contained in:
parent
22f8550d45
commit
84f0293a88
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue