mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
parent
abd0be51a0
commit
562c737588
@ -2076,7 +2076,9 @@ static void main_loop(void)
|
||||
sigaddset(&newmask, SIGUSR1);
|
||||
#endif
|
||||
|
||||
#ifdef BUILD_X11
|
||||
#ifdef BUILD_XSHAPE
|
||||
if (out_to_x.get(*state)) {
|
||||
/* allow only decorated windows to be given mouse input */
|
||||
int major_version, minor_version;
|
||||
if (!XShapeQueryVersion(display, &major_version, &minor_version)) {
|
||||
@ -2089,7 +2091,9 @@ static void main_loop(void)
|
||||
NULL, 0, ShapeSet, Unsorted);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif /* BUILD_XSHAPE */
|
||||
#endif /* BUILD_X11 */
|
||||
|
||||
last_update_time = 0.0;
|
||||
next_update_time = get_time() - fmod(get_time(), active_update_interval());
|
||||
|
Loading…
Reference in New Issue
Block a user