Matthias Kruk [Sun, 28 Feb 2021 22:17:46 +0000 (07:17 +0900)]
Stop the focus from following the pointer
The focus-following-the-pointer code and the pointer-following-the-focus
code sometimes negatively interact, causing dwm to keep cycling through
the clients of a tag. The behavior is not obviously reproduceable and
appears to be a bug in a different part of dwm. For the time being,
stop the focus from following the pointer.
Matthias Kruk [Sun, 28 Feb 2021 06:04:46 +0000 (15:04 +0900)]
Make the pointer follow the focus
When the pointer moves to a different client, the focus follows the
pointer, putting the client under the pointer in focus. However, when
the focus is changed using the keyboard, the pointer remains over the
client that is now out-of-focus. If using multiple screens, or if a
client decides to hide the pointer because it is over a text input,
this can make it very annoying to figure out the pointer location.
This commit makes sure that the pointer follows the focus when it
moves to a different client.
Matthias Kruk [Thu, 24 Dec 2020 13:19:34 +0000 (22:19 +0900)]
Draw the status bar on all screens
The status bar contains the clock and other information that should
be displayed on all screens. This commit makes sure it is drawn on
all screens, not just the selected one.
Matthias Kruk [Thu, 24 Dec 2020 00:08:43 +0000 (09:08 +0900)]
Don't draw window titles in the status bar
Certain UTF-8 glyphs cause issues with underlying libraries, causing
dwm to crash. Websites such as Twitter will frequently include such
glyphs in their title, causing dwm to try to render them in the status
bar. This commit keeps dwm from displaying window titles in the status
bar.
Matthias Kruk [Wed, 5 Aug 2020 06:56:08 +0000 (15:56 +0900)]
bookshelf, bookstack: Make sure applysizehints() does not mess with client dimensions, increase size of first window if the screen size can't be divided evenly