Skip to content

Commit 68852dc

Browse files
committed
Update PR for ext-idle-notify-v1
1 parent ff8fbc3 commit 68852dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ static void enable_timeouts(void) {
623623
state.timeouts_enabled = true;
624624
struct swayidle_timeout_cmd *cmd;
625625
wl_list_for_each(cmd, &state.timeout_cmds, link) {
626-
if (cmd->idle_timer == NULL || !cmd->resume_pending) {
626+
if ((cmd->idle_notification == NULL && cmd->kde_idle_timer == NULL) || !cmd->resume_pending) {
627627
register_timeout(cmd, cmd->timeout);
628628
}
629629
}

0 commit comments

Comments
 (0)