[hackers] [dwm][PATCH] Send client to top of stack area

From: Sebastiano Tronto <sebastiano.tronto_AT_gmail.com>
Date: Sun, 06 Dec 2020 18:28:10 +0100

Hello,

This function sends the currently focused client to the top of the stack
area. If the focused client is not already in the stack area, or if it
is already at the top of the stack area, the first two clients in the
stack area are swapped instead.
If arg->i == 1 the focus is always moved to the client at the top of
the stack area. If arg->i == 0 this only happens if the previously
focused client was already in the stack area.

This function can simply be added to config.h instead of patching dwm.c.

Best,
Sebastiano

---
Received on Sun Dec 06 2020 - 18:28:10 CET

This archive was generated by hypermail 2.3.0 : Sun Dec 06 2020 - 19:00:37 CET