mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 17:47:09 +00:00
Fix segfault when out_to_x is set to false
This commit is contained in:
parent
8ea7b11ebd
commit
3db3e6045f
@ -111,13 +111,13 @@ namespace priv {
|
||||
#endif
|
||||
}
|
||||
|
||||
if(not out_to_x.get(l)) {
|
||||
if(out_to_x.get(l))
|
||||
init_window(l, do_convert(l, -1).first);
|
||||
else {
|
||||
// own_window makes no sense when not drawing to X
|
||||
l.pop();
|
||||
l.pushboolean(false);
|
||||
}
|
||||
|
||||
init_window(l, do_convert(l, -1).first);
|
||||
}
|
||||
}
|
||||
|
||||
++s;
|
||||
|
Loading…
Reference in New Issue
Block a user