mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-01 21:46:22 +00:00
Remove not needed check
This commit is contained in:
@@ -156,7 +156,7 @@ ui_get_idle_time(void)
|
|||||||
#ifdef HAVE_LIBXSS
|
#ifdef HAVE_LIBXSS
|
||||||
if (display) {
|
if (display) {
|
||||||
XScreenSaverInfo* info = XScreenSaverAllocInfo();
|
XScreenSaverInfo* info = XScreenSaverAllocInfo();
|
||||||
if (info && display) {
|
if (info) {
|
||||||
XScreenSaverQueryInfo(display, DefaultRootWindow(display), info);
|
XScreenSaverQueryInfo(display, DefaultRootWindow(display), info);
|
||||||
unsigned long result = info->idle;
|
unsigned long result = info->idle;
|
||||||
XFree(info);
|
XFree(info);
|
||||||
|
|||||||
Reference in New Issue
Block a user