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

Update cursor location when key pressed if the client window was moved #31

Closed
wants to merge 0 commits into from

Conversation

kingysu
Copy link

@kingysu kingysu commented Jun 13, 2024

In some GTK applications, when input window is visible and the user moves the application wdinow to another location, the cursor location will not be updated. Then if the user presses some new keys, the input window will not move to the new cursor location automatically. So it's necessary to update the cursor location when key pressed if the client window was moved.

@wengxt
Copy link
Member

wengxt commented Jun 14, 2024

While it's logically ok, it may do more X request & send more dbus request. Does not really want to do this.

@kingysu
Copy link
Author

kingysu commented Jun 17, 2024

@wengxt @csslayer 更新了这个PR。增加了对窗口位置的缓存

@kingysu kingysu changed the title Update cursor location when key pressed Update cursor location when key pressed if the client window was moved Jun 17, 2024
@kingysu kingysu closed this Jul 7, 2024
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

Successfully merging this pull request may close these issues.

2 participants