projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9e5820
)
Fix crash when using $desktop_name with out_to_x no
author
Pavel Labath
<pavelo@centrum.sk>
Wed, 3 Mar 2010 10:56:25 +0000
(11:56 +0100)
committer
Pavel Labath
<pavelo@centrum.sk>
Wed, 3 Mar 2010 10:56:25 +0000
(11:56 +0100)
src/x11.c
patch
|
blob
|
history
diff --git
a/src/x11.c
b/src/x11.c
index
dcb5df1
..
46a4629
100644
(file)
--- a/
src/x11.c
+++ b/
src/x11.c
@@
-778,7
+778,7
@@
void get_x11_desktop_info(Display *current_display, Atom atom)
void update_x11info(void)
{
struct information *current_info = &info;
- if (!x_initialised == YES)
+ if (x_initialised != YES)
return;
current_info->x11.monitor.number = XScreenCount(display);
current_info->x11.monitor.current = XDefaultScreen(display);