all repos — openbox @ 84f0293a888db6720647289219ec44d2733df91c

openbox fork - make it a bit more like ryudo

fix bug with window menu positioning
Dana Jansens danakj@orodu.net
commit

84f0293a888db6720647289219ec44d2733df91c

parent

22f8550d4508773fdcd97cfd96ce708550eef9d8

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -2596,7 +2596,7 @@ // get the coords for the menu

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) {