Index | Thread | Search

From:
Anthony BOCCI <anthony@abosec.fr>
Subject:
Fix a bug in xidle where the program was executed twice
To:
"tech@openbsd.org" <tech@openbsd.org>
Date:
Wed, 12 Aug 2026 08:45:18 +0000

Download raw body.

Thread
  • Anthony BOCCI:

    Fix a bug in xidle where the program was executed twice

Hi,

There is a bug in xidle that causes the program given in the -program
option to be executed twice: once when the timeout has passed, and a
second time when a mouse or keyboard event occurs.
The consequence is that when it's paired with xlock or similar, the
user needs to enter the password twice to unlock the machine.

The bug has been described on the FreeBSD Bugzilla, and I reused
their patch here.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275761

Anthony