Japanese translation of message catalog for Sawfish Window-Manager
修訂 | 9e45ce11b1e6ac0e9876cd4ec2b6fa23a8c026a8 (tree) |
---|---|
時間 | 2010-11-17 20:56:03 |
作者 | Michal Maruska <mmaruska@gmai...> |
Commiter | Michal Maruska |
functions.c extra check in restack-windows
@@ -148,13 +148,17 @@ windows isn't affected. | ||
148 | 148 | { |
149 | 149 | if (pred != 0 && !WINDOW_IS_GONE_FOR_STACKING_P (pred)) |
150 | 150 | { |
151 | - remove_from_stacking_list (this); | |
152 | - insert_in_stacking_list_below (this, pred); | |
153 | - | |
154 | - /* This works because it tries to stack relative to | |
155 | - the window above THIS first; which we just set */ | |
156 | - restack_window (this); | |
157 | - } | |
151 | + if (this == pred){ | |
152 | + /* skip over! */ | |
153 | + } else { | |
154 | + remove_from_stacking_list (this); | |
155 | + insert_in_stacking_list_below (this, pred); | |
156 | + | |
157 | + /* This works because it tries to stack relative to | |
158 | + the window above THIS first; which we just set */ | |
159 | + restack_window (this); | |
160 | + } | |
161 | + } | |
158 | 162 | pred = this; |
159 | 163 | } else { |
160 | 164 | if (!WINDOW_IS_GONE_FOR_STACKING_P(this)) |