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:
45b98ea
)
Don't update more windows than necessary in resize_active_win().
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 26 Aug 2013 10:47:08 +0000
(12:47 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 26 Aug 2013 10:47:08 +0000
(12:47 +0200)
src/windows.c
patch
|
blob
|
history
diff --git
a/src/windows.c
b/src/windows.c
index 64e610847a270313b21990660a3cec081ef4e95f..a7bf88fc22ba063b46de8d6fc49aa6a4adf3ab83 100644
(file)
--- a/
src/windows.c
+++ b/
src/windows.c
@@
-506,11
+506,11
@@
extern uint8_t resize_active_win(struct WinMeta * wmeta, struct yx_uint16 size)
&& size.y < wmeta->padframe.size.y)
{
wmeta->active->frame.size = size;
- return update_wins(wmeta, wmeta->
_chain_start); /* Following windows'
*/
- }
/* positioning may be
*/
- return 0;
/* affected. */
-}
/* TODO: Why start at */
- /* chain_start then? */
+ return update_wins(wmeta, wmeta->
active); /* Positioning of following
*/
+ }
/* windows may be affected.
*/
+ return 0;
+}
+
extern void cycle_active_win(struct WinMeta * wmeta, char dir)