*
* 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 <string.h>
WPHolder *groupcw_prepare_manage(WGroupCW *cwg, const WClientWin *cwin,
- const WManageParams *param, int redir)
+ const WManageParams *param, int priority)
{
- if(redir==MANAGE_REDIR_STRICT_YES)
+ if(!MANAGE_PRIORITY_OK(priority, MANAGE_PRIORITY_GROUP))
return NULL;
/* Only catch windows with transient mode set to current here. */
/* Title has changed */
region_notify_change((WRegion*)cwg, how);
}
+
+ group_managed_notify(&cwg->grp, reg, how);
+}
+
+
+void groupcw_bottom_set(WGroupCW *cwg)
+{
+ region_notify_change((WRegion*)cwg, ioncore_g.notifies.name);
}
if(!group_init(&(cwg->grp), parent, fp))
return FALSE;
- cwg->grp.bottom_last_close=TRUE;
-
region_add_bindmap((WRegion*)cwg, ioncore_groupcw_bindmap);
return TRUE;
{region_managed_notify,
groupcw_managed_notify},
+
+ {group_bottom_set,
+ groupcw_bottom_set},
END_DYNFUNTAB
};