mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
Options for limiting window/menu title height
(Window|Menu)Title(Min|Max)Height defaults options allow to set minimum and maximum titlebar height. For example, to force all titlebars to 24 pixels execute following commands: $ wdwrite WindowMaker WindowTitleMinHeight 24 $ wdwrite WindowMaker WindowTitleMaxHeight 24 $ wdwrite WindowMaker MenuTitleMinHeight 24 $ wdwrite WindowMaker MenuTitleMaxHeight 24 Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
This commit is contained in:
committed by
Carlos R. Mafra
parent
99aad55425
commit
e819818eeb
@@ -160,7 +160,10 @@ WMenu *wMenuCreate(WScreen * screen, char *title, int main_menu)
|
||||
menu->flags.titled = 1;
|
||||
}
|
||||
menu->frame =
|
||||
wFrameWindowCreate(screen, tmp, 8, 2, 1, 1, &wPreferences.menu_title_clearance, flags,
|
||||
wFrameWindowCreate(screen, tmp, 8, 2, 1, 1, &wPreferences.menu_title_clearance,
|
||||
&wPreferences.menu_title_min_height,
|
||||
&wPreferences.menu_title_max_height,
|
||||
flags,
|
||||
screen->menu_title_texture, NULL,
|
||||
screen->menu_title_color, &screen->menu_title_font);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user