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:
e68f4ea
)
the callback for restack is called even when window is not visible now (and disabling...
author
Dana Jansens
<danakj@orodu.net>
Sun, 16 Mar 2008 01:14:29 +0000
(21:14 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 16 Mar 2008 01:14:47 +0000
(21:14 -0400)
Makefile
patch
|
blob
|
history
render.c
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
63fc5ac
..
5b5cf0c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,8
+5,8
@@
headers = $(wildcard *.h)
DFLAGS=-ggdb
# for profiling
-PFLAGS=-pg -fno-inline
-PLIBS=
+
#
PFLAGS=-pg -fno-inline
+
#
PLIBS=
# for electric fence
EFLAGS=-DEFENCE
diff --git
a/render.c
b/render.c
index
26bbe60
..
63b0a4b
100644
(file)
--- a/
render.c
+++ b/
render.c
@@
-490,7
+490,8
@@
render_window_restack(d_window_t *w, d_window_t *above)
/* pass it on */
d->window_restack(w, above);
- assert(wd != NULL);
+ /* the window might not be visible */
+ if (wd == NULL) return;
/* make sure the shadow region is right */
render_update_shadow(w, d, wd);