all repos — openbox @ ad215303e7e651c0274d219709e109073bc4a032

openbox fork - make it a bit more like ryudo

fix #2670 (hilight first entry in menus) and respect keepBorder setting when removing borders from mwm hints
Mikael Magnusson mikachu@comhem.se
commit

ad215303e7e651c0274d219709e109073bc4a032

parent

0efe52a12bdf838363b061c05a537a56f8daceae

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

jump to
M openbox/client.copenbox/client.c

@@ -1228,7 +1228,7 @@ if (! ((self->mwmhints.decorations & OB_MWM_DECOR_HANDLE) ||

(self->mwmhints.decorations & OB_MWM_DECOR_TITLE))) /* if the mwm hints request no handle or title, then all decorations are disabled */ - self->decorations = 0; + self->decorations = config_theme_keepborder ? OB_FRAME_DECOR_BORDER : 0; } }
M openbox/menu.copenbox/menu.c

@@ -315,6 +315,8 @@ }

} if (!menu_frame_show(frame, NULL)) menu_frame_free(frame); + else if (frame->entries) + menu_frame_select_next(frame); } static ObMenuEntry* menu_entry_new(ObMenu *menu, ObMenuEntryType type, gint id)