mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Remove not needed check
This commit is contained in:
parent
f56ce07141
commit
a17544d962
@ -156,7 +156,7 @@ ui_get_idle_time(void)
|
||||
#ifdef HAVE_LIBXSS
|
||||
if (display) {
|
||||
XScreenSaverInfo* info = XScreenSaverAllocInfo();
|
||||
if (info && display) {
|
||||
if (info) {
|
||||
XScreenSaverQueryInfo(display, DefaultRootWindow(display), info);
|
||||
unsigned long result = info->idle;
|
||||
XFree(info);
|
||||
|
Loading…
Reference in New Issue
Block a user