mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 21:38:00 +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
@@ -60,6 +60,8 @@ typedef struct WFrameWindow {
|
||||
|
||||
short top_width;
|
||||
int *title_clearance;
|
||||
int *title_min_height;
|
||||
int *title_max_height;
|
||||
short bottom_width;
|
||||
|
||||
short resizebar_corner_width;
|
||||
@@ -150,7 +152,8 @@ typedef struct WFrameWindow {
|
||||
|
||||
WFrameWindow*
|
||||
wFrameWindowCreate(WScreen *scr, int wlevel, int x, int y,
|
||||
int width, int height, int *clearance, int flags,
|
||||
int width, int height, int *clearance,
|
||||
int *title_min, int *title_max, int flags,
|
||||
union WTexture **title_texture,
|
||||
union WTexture **resize_texture,
|
||||
WMColor **color, WMFont **font);
|
||||
|
||||
Reference in New Issue
Block a user