chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99bf8bd
)
actually compile
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 7 Jun 2012 18:15:06 +0000
(19:15 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 7 Jun 2012 18:15:06 +0000
(19:15 +0100)
cprogs/xacpi-simple.c
patch
|
blob
|
history
diff --git
a/cprogs/xacpi-simple.c
b/cprogs/xacpi-simple.c
index f33380e1943be96819d1323278eb0ea2f89be3fd..7324080353fb518ac1330b83d14e54133edb4f24 100644
(file)
--- 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;