! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Focus windows only if pointer crosses window border
Status:
RESOLVED: MOVED
Severity:
enhancement

Comments

Description IL'dar Akhmtgaleev 2017-01-19 10:09:49 CET
Currently follow focus not very comfortable for me because of mouse under cursor steals focus when I switch current workspace with keyboard shortcut or when I toggling "Raise or lower window" shortcut. With click to fucus all works as expected but not with follow focus.

How to reproduce:
1) open two non overlapping windows on first workspace
2) activate first window
3) switch to second workspace
4) open third window
5) move mouse pointer in place where second window on first workspace located
6) switch to first workspace
expectation: first window still active on first workspace
result with follow focus: second window becomes activated
result with click to focus: as expected

This behavior makes not possible fast switch between two windows on different desktops. Especially it is annoying on multi-monitor setup where this two windows located on different screens.

As solution windows should be focused only after pointer crosses window's border outside-in.
Comment 1 Olivier Fourdan editbugs 2017-01-19 10:49:11 CET
The current behavior is probably the best I could come up with, this is a quite sensitive area prone to all sorts of race conditions and breakage and I'd rather not change it.

But feel free to experiment with the code the way you want and change it to your likings :)
Comment 2 Git Bot editbugs 2020-05-29 12:14:21 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/244.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13296

Reported by:
IL'dar Akhmtgaleev
Reported on: 2017-01-19
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
4.12.0

Attachments

Additional information