X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=mod_tiling%2Ftiling.c;h=733a1e59518283d5fd93d226f7acd7ba83590bf0;hb=c6005c0b33000cd4c96228c523d915c012db54dd;hp=b9d454c360aa4e3282952a6f3e7c0a8c67e76b8c;hpb=720e6978185b09f2b2f60a6b96018238085a7238;p=ion3.git diff --git a/mod_tiling/tiling.c b/mod_tiling/tiling.c index b9d454c..733a1e5 100644 --- a/mod_tiling/tiling.c +++ b/mod_tiling/tiling.c @@ -1,7 +1,7 @@ /* * ion/mod_tiling/tiling.c * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2009. * * See the included file LICENSE for details. */ @@ -158,7 +158,7 @@ void tiling_unmap(WTiling *ws) void tiling_fallback_focus(WTiling *ws, bool warp) { - region_finalise_focusing((WRegion*)ws, ws->dummywin, warp); + region_finalise_focusing((WRegion*)ws, ws->dummywin, warp, CurrentTime); } @@ -478,7 +478,7 @@ bool tiling_managed_add_default(WTiling *ws, WRegion *reg) frame=OBJ_CAST(reg, WFrame); if(frame!=NULL){ - if(framemode_unalt(frame_mode(frame))==FRAME_MODE_TILED) + if(framemode_unalt(frame_mode(frame))!=FRAME_MODE_TILED) frame_set_mode(frame, FRAME_MODE_TILED); } @@ -1109,7 +1109,8 @@ WRegion *tiling_current(WTiling *ws) /*EXTL_DOC * Iterate over managed regions of \var{ws} until \var{iterfn} returns * \code{false}. - * The function itself returns \code{true} if it reaches the end of list + * The function is called in protected mode. + * This routine returns \code{true} if it reaches the end of list * without this happening. */ EXTL_SAFE