Skip to content
Snippets Groups Projects
Commit 5de7fccd authored by Ali Abdallah's avatar Ali Abdallah
Browse files

Reset XScreen saver counter on lid open.

parent 24a8c20d
No related branches found
No related tags found
No related merge requests found
......@@ -312,6 +312,8 @@ void xfpm_dpms_force_level (XfpmDpms *dpms, CARD16 level)
g_warning ("Cannot set Force DPMS level %d", level);
goto out;
}
if ( level == DPMSModeOn )
XResetScreenSaver (GDK_DISPLAY ());
XSync (GDK_DISPLAY (), FALSE);
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment