chiark / gitweb /
actually compile
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 7 Jun 2012 18:15:06 +0000 (19:15 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 7 Jun 2012 18:15:06 +0000 (19:15 +0100)
cprogs/xacpi-simple.c

index f33380e..7324080 100644 (file)
@@ -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;