]> git.corax.cc Git - mwm/commit
Fix a number of focus-related issues
authorMatthias Kruk <m@m10k.eu>
Mon, 24 May 2021 21:51:53 +0000 (06:51 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 24 May 2021 22:29:03 +0000 (07:29 +0900)
commitfce25b97110b3177c64a2f0df13c91c6ba0c0f05
tree76b7bac7a290d67ae844baf830cf66c18b4bfb8b
parent46c2bfdeb56a6540b7da0259530287471be82103
Fix a number of focus-related issues

The are a couple of issues with the way focusing is implemented (or
rather, neglected):
 - Focusing on a different client does not change the keyboard focus
 - The keyboard focus does not follow the pointer
 - The keyboard focus does not change when clicking on a window
 - The pointer does not follow the focus

This commit fixes the above issues by making the following changes:
 - Focus on a client when the pointer enters it
 - When focusing on a client, also move the keyboard focus
 - When focusing on a client, move the pointer over the client
client.c
mwm.c
workspace.c