]> git.corax.cc Git - mwm/commit
monitor: Don't rearrange clients if monitor doesn't need redrawing
authorMatthias Kruk <m@m10k.eu>
Sun, 23 May 2021 21:49:56 +0000 (06:49 +0900)
committerMatthias Kruk <m@m10k.eu>
Sun, 23 May 2021 21:49:56 +0000 (06:49 +0900)
commit75097c4739dadf8f8a323246b1097666850c581e
tree27913ad010c55bfb43204ca321428d78337fdcb0
parentaace4eca254620491dcdacf362c981c11ca1160c
monitor: Don't rearrange clients if monitor doesn't need redrawing

The monitor_redraw() function unconditionally rearranges the visible
clients when it is called. However, if redrawing was not explicitly
requested, this is not necessary.
This commit changes the monitor_redraw() function not to rearrange
clients if a redraw is not necessary, so that only the status bar
and indicators will be redrawn.
monitor.c