aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xidle/files/patch-xidle.c
blob: edfd049930626fd6d4da66978d69dfb805d22277 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- xidle.c.orig	2023-12-17 16:06:14 UTC
+++ xidle.c
@@ -426,7 +426,7 @@ main(int argc, char **argv)
 				 * Was for real or due to terminal
 				 * switching or a locking program?
 				 */
-				if (timeout > 0 && se->forced == False)
+				if (timeout > 0 && se->forced == False && se->state == ScreenSaverOn)
 					action(&x, args);
 			}
 			break;