projects
/
dana
/
dcompmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb2031
)
make sure we don't draw the overlay window into itself
author
Dana Jansens
<danakj@orodu.net>
Mon, 10 Mar 2008 05:31:09 +0000
(
01:31
-0400)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 10 Mar 2008 05:31:09 +0000
(
01:31
-0400)
screen.c
patch
|
blob
|
history
diff --git
a/screen.c
b/screen.c
index 91b1975a4bdc531339d493997b2f54a711569170..6d454c3979075d2b6eedba0a200612b9636cfeff 100644
(file)
--- a/
screen.c
+++ b/
screen.c
@@
-8,6
+8,7
@@
#include "window.h"
#include "gettext.h"
#include <string.h>
+#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <xcb/composite.h>
@@
-259,6
+260,8
@@
screen_add_window(d_screen_t *sc, xcb_window_t wid)
{
d_window_t *w;
+ assert(wid != sc->overlay);
+
w = window_new(wid, sc);
g_hash_table_insert(sc->winhash, &w->id, w);