• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Japanese translation of message catalog for Sawfish Window-Manager


Commit MetaInfo

修訂9e45ce11b1e6ac0e9876cd4ec2b6fa23a8c026a8 (tree)
時間2010-11-17 20:56:03
作者Michal Maruska <mmaruska@gmai...>
CommiterMichal Maruska

Log Message

functions.c extra check in restack-windows

Change Summary

差異

--- a/src/functions.c
+++ b/src/functions.c
@@ -148,13 +148,17 @@ windows isn't affected.
148148 {
149149 if (pred != 0 && !WINDOW_IS_GONE_FOR_STACKING_P (pred))
150150 {
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+ }
158162 pred = this;
159163 } else {
160164 if (!WINDOW_IS_GONE_FOR_STACKING_P(this))