Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XGetInputFocus returned the focused window of 1. This is likely a bug in the X server. #455

Open
ygm521 opened this issue Apr 15, 2024 · 1 comment

Comments

@ygm521
Copy link

ygm521 commented Apr 15, 2024

ubuntu18.04
image

@FascinatedBox
Copy link

Ignore xdotool: This is not an bug in X. See here:

https://tronche.com/gui/x/xlib/input/XSetInputFocus.html

To summarize the above: Asking for input focus can return three different possibilities: A window that has focus, None (0x0), or PointerRoot (0x1). The latter indicates that the current window is the root window of the screen the mouse is currently on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants