]> git.decadent.org.uk Git - ion3.git/blobdiff - mod_tiling/tiling.c
Changed /etc/X11/$(PACKAGE) to /etc/X11/ion3 since the path should be the same in...
[ion3.git] / mod_tiling / tiling.c
index 877a8a861a9d11c1c03f328a0d1c82c2dcd0e8c5..e933dc70494e088c8ab99910e3dcb9d6e0790e17 100644 (file)
@@ -432,6 +432,8 @@ void tiling_manage_stdisp(WTiling *ws, WRegion *stdisp,
         tiling_unmanage_stdisp(ws, TRUE, TRUE);
         return;
     }
+
+    stdisp->flags|=REGION_SKIP_FOCUS;
     
     dg=((WSplit*)(ws->stdispnode))->geom;
     
@@ -991,10 +993,6 @@ static WFrame *tiling_do_split(WTiling *ws, WSplit *node,
         destroy_obj((Obj*)newframe);
         return NULL;
     }
-
-    /* Restack */
-    if(ws->split_tree!=NULL)
-        split_restack(ws->split_tree, ws->dummywin, Above);
     
     return newframe;
 }
@@ -1084,7 +1082,7 @@ void tiling_unsplit_at(WTiling *ws, WRegion *reg)
     ph=region_get_rescue_pholder_for((WRegion*)ws, reg);
     
     if(ph!=NULL){
-        region_rescue(reg, ph);
+        region_rescue(reg, ph, REGION_RESCUE_NODEEP|REGION_RESCUE_PHFLAGS_OK);
         destroy_obj((Obj*)ph);
     }