Displaying 2 results from an estimated 2 matches for "updateclientlistforscreen".
2006 Oct 13
1
[PATCH] Extra Notifications
...@@ -1943,6 +1947,8 @@ mapWindow (CompWindow *w)
w->attrib.width, ++w->attrib.height - 1,
w->attrib.border_width);
}
+
+ (*w->screen->windowMapNotify) (w);
}
void
@@ -1984,6 +1990,8 @@ unmapWindow (CompWindow *w)
updateWorkareaForScreen (w->screen);
updateClientListForScreen (w->screen);
+
+ (*w->screen->windowUnmapNotify) (w);
}
static int
@@ -2355,6 +2363,26 @@ focusWindow (CompWindow *w)
}
void
+windowCreateNotify (CompWindow *w)
+{
+}
+
+void
+windowDestroyNotify (CompWindow *w)
+{
+}
+
+void
+windowMapNotify (CompWindow *w)
+{
+}
+
+void
+windo...
2007 Nov 26
0
[PATCH] Update client list when destroying shaded windows
...5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/window.c b/src/window.c
index 568373d..2133aed 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2227,6 +2227,11 @@ destroyWindow (CompWindow *w)
w->id = 1;
w->mapNum = 0;
+ if (w->shaded)
+ {
+ updateClientListForScreen (w->screen);
+ }
+
w->destroyRefCnt--;
if (w->destroyRefCnt)
return;
--
1.5.2.5
--dDRMvlgZJXvWKvBx
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0003-Avoid-stacking-relative-to-destroyed-windows.patch"