home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Test for minimal window size no longer necessary since windows cannot shrink so far.
[plomrogue]
/
windows.c
diff --git
a/windows.c
b/windows.c
index 5d924e9327001d4127904b8cf9eac6dafa8cfafb..8b82d60a1aac1007a0748fc3186cc26210d2c46d 100644
(file)
--- a/
windows.c
+++ b/
windows.c
@@
-151,14
+151,9
@@
void draw_windows_borders (struct Win * win, struct Win * win_active, struct Cor
if (0 != win->next) {
draw_windows_borders (win->next, win_active, corners, ccount + 1); } }
if (0 != win->next) {
draw_windows_borders (win->next, win_active, corners, ccount + 1); } }
-void draw_window(struct Win * win) {
-// Draw window content if visible.
- if (win->height > 1 && win->width > 1)
- win->draw(win); }
-
void draw_windows (struct Win * win) {
// Draw contents of all windows in window chain from win on.
void draw_windows (struct Win * win) {
// Draw contents of all windows in window chain from win on.
-
draw_windo
w(win);
+
win->dra
w(win);
if (0 != win->next) {
draw_windows (win->next); } }
if (0 != win->next) {
draw_windows (win->next); } }