*
* Copyright (c) Tuomo Valkonen 1999-2007.
*
- * Ion is free software; you can redistribute it and/or modify it under
- * the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
+ * See the included file LICENSE for details.
*/
#include <ioncore/common.h>
WPHolder *tiling_prepare_manage(WTiling *ws, const WClientWin *cwin,
- const WManageParams *mp, int redir)
+ const WManageParams *mp, int priority)
{
+ int cpriority=MANAGE_PRIORITY_SUBX(priority, MANAGE_PRIORITY_NORMAL);
WRegion *target=NULL;
WTilingPlacementParams param;
WPHolder *ph;
bool ret;
-
- if(redir==MANAGE_REDIR_STRICT_NO)
- return NULL;
-
+
param.ws=ws;
param.reg=(WRegion*)cwin;
param.mp=mp;
target=(WRegion*)param.res_frame;
- ph=region_prepare_manage(target, cwin, mp, redir);
+ ph=region_prepare_manage(target, cwin, mp, cpriority);
if(ph!=NULL)
return ph;
}
return NULL;
}
- return region_prepare_manage(target, cwin, mp, redir);
+ return region_prepare_manage(target, cwin, mp, cpriority);
}