]> git.corax.cc Git - dwm/commit
Move the pointer to the correct window when changing focus kbptr
authorMatthias Kruk <m@m10k.eu>
Sun, 28 Mar 2021 06:24:28 +0000 (15:24 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 28 Mar 2021 06:24:28 +0000 (15:24 +0900)
commitef336cc63f252a58a152b61ad4b31c3049449221
tree61ccf8e42a027fb4adec60726587f45267437884
parent8d057a9511e1fe050209c8d18f1fe412176eff27
Move the pointer to the correct window when changing focus

Changing the focus via the keyboard moves the pointer to the wrong window
because selmon->sel isn't changed where I expected it to be changed.
This commit addresses the issue by moving the pointer to the client passed
to the setfocus() function instead of using the client in selmon->sel.
dwm.c