From: Ian Jackson Date: Thu, 7 Jun 2012 18:15:06 +0000 (+0100) Subject: actually compile X-Git-Tag: debian/4.1.32~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=d757688c1768a432e7e27e27f90b7c0151b4a936;p=chiark-utils.git actually compile --- diff --git a/cprogs/xacpi-simple.c b/cprogs/xacpi-simple.c index f33380e..7324080 100644 --- a/cprogs/xacpi-simple.c +++ b/cprogs/xacpi-simple.c @@ -783,9 +783,10 @@ static void initgraphics(int argc, char **argv) { wm_hints->flags= InputHint; wm_hints->input= False; - wm_hints->initial_state= (getresource_bool("withdrawn",0) ? WithdrawnState : - getresource_bool("iconic",0) ? IconicState - : NormalState); + wm_hints->initial_state= + (getresource_bool("withdrawn",0,0) ? WithdrawnState : + getresource_bool("iconic",0,0) ? IconicState + : NormalState); class_hint->res_name= program_name_silly; class_hint->res_class= program_name_silly;