home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b9b769
)
draw_all_windows() only starts drawing cycle if any window is actually visible.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 22 Apr 2013 16:53:42 +0000
(18:53 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 22 Apr 2013 16:53:42 +0000
(18:53 +0200)
windows.c
patch
|
blob
|
history
diff --git
a/windows.c
b/windows.c
index f879e6b07dbc67db5eed8db411da4ecd4258708c..26267aa69fae6f8a89c9e512d7d6364ee8ca2df4 100644
(file)
--- a/
windows.c
+++ b/
windows.c
@@
-120,7
+120,8
@@
void draw_windows (struct WinMeta * win_meta, struct Win * win) {
void draw_all_windows (struct WinMeta * win_meta) {
// Draw all windows from the chain start on.
- draw_windows (win_meta, win_meta->chain_start); }
+ if (win_meta->chain_start)
+ draw_windows (win_meta, win_meta->chain_start); }
void draw_window(struct WinMeta * win_meta, struct Win * win) {
// Draw win's content, including border and title (the latter dependent on space available for it).