{ S("-display"), S("*display"), XrmoptionSepArg },
{ S("-geometry"), S("*geometry"), XrmoptionSepArg },
{ S("-into"), S("*parentWindow"), XrmoptionSepArg },
- { S("-icon"), S("*icon"), XrmoptionIsArg },
+ { S("-iconic"), S("*iconic"), XrmoptionIsArg },
{ S("-withdrawn"), S("*withdrawn"), XrmoptionIsArg },
#define GC(g)
#define C(c,u) \
wm_hints->flags= InputHint;
wm_hints->input= False;
- wm_hints->initial_state= (getresource("withdrawn") ? WithdrawnState :
- getresource("icon") ? IconicState
+ wm_hints->initial_state= (getresource_bool("withdrawn",0) ? WithdrawnState :
+ getresource_bool("iconic",0) ? IconicState
: NormalState);
class_hint->res_name= program_name_silly;
xacpi-simple improvements:
* Better parsing of boolean -debug option.
+ * Support -into, -iconic and -withdrawn options.
--