jD91mZM2/xidlehook

Failed to query x for input focus

Closed this issue · 4 comments

Sorry to open so many issues, this should be my last one.

When the timer executes I get the following error before my lock script runs:

warning: failed to query x for input focus

I think this is preventing the fullscreen flag from working.

Don't worry about opening many issues, alerting me of this was a very good thing 😄

I can reproduce this. Seems like I messed the fullscreen detection up! Oof! This line of code is causing the issue. Perhaps I misunderstood the return value of XGetInputFocus

Fixed in cbc3302! Can you confirm?

Can confirm this is working :)

Awesome, thanks!