[client] wm: use correct logic for screensaver inhibition
Namely, we should inhibitIdle if noScreensaver is true, not the other way around.
This commit is contained in:
1 parent
ffa72c7992
commit
3385438095
1 file changed
+1
-1
+1
-1
@@ -1987,7 +1987,7 @@ static int lg_run(void)
|
||||
if (!params.center)
|
||||
SDL_SetWindowPosition(g_state.window, params.x, params.y);
|
||||
|
||||
if (!params.noScreensaver)
|
||||
if (params.noScreensaver)
|
||||
g_state.ds->inhibitIdle();
|
||||
|
||||
// ensure the initial window size is stored in the state
|
||||
|
||||
Reference in new issue
Block a user