[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] Update _NET_CLIENT_LIST_STACKING on client changes



Previously, only the normal (not stacking) ewmh client list was updated,
when a client was added or removed.
---
 src/ewmh.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/ewmh.c b/src/ewmh.c
index 114dab1..398353d 100644
--- a/src/ewmh.c
+++ b/src/ewmh.c
@@ -182,6 +182,7 @@ void ewmh_add_client(Window win) {
     g_windows[g_window_count] = win;
     g_window_count++;
     ewmh_update_client_list();
+    ewmh_update_client_list_stacking();
 }
 
 void ewmh_remove_client(Window win) {
@@ -196,6 +197,7 @@ void ewmh_remove_client(Window win) {
         g_window_count--;
     }
     ewmh_update_client_list();
+    ewmh_update_client_list_stacking();
 }
 
 void ewmh_update_desktops() {
-- 
1.7.8.6