Update patches.def.h

Focus follows mouse whenever a client with focus is terminated.
It is beneficial for people like me who can't quite remember the last focused window when terminating a client. It becomes even more chaotic when multiple clients need to be terminated, and the focus jumps around unpredictably.
pull/364/head
Random Guy 12 months ago committed by GitHub
parent 3881ad4ad1
commit e2dbcadc02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -646,6 +646,11 @@
*/
#define FOCUSDIR_PATCH 0
/* Focuses client below the mouse whenever a window/client is terminated.
* If there is no client below the mouse, it follows the default focusing behavior of dwm.
*/
#define FOCUS_FOLLOW_MOUSE_ON_KILL_PATCH
/* A simple patch that just puts focus back to the master client.
* https://dwm.suckless.org/patches/focusmaster/
*/

Loading…
Cancel
Save