[beryl-commits] r2251 - branches/beryl-plugins/group-tabbed

quinn at server.beryl-project.org quinn at server.beryl-project.org
Tue Jan 2 04:27:59 CET 2007


Author: quinn
Date: 2007-01-02 03:27:58 +0000 (Tue, 02 Jan 2007)
New Revision: 2251

Modified:
   branches/beryl-plugins/group-tabbed/init.c
   branches/beryl-plugins/group-tabbed/option.c
Log:
this is not the right place to init something like this.
* fix the issue with tab-group and bsm


Modified: branches/beryl-plugins/group-tabbed/init.c
===================================================================
--- branches/beryl-plugins/group-tabbed/init.c	2007-01-02 02:51:48 UTC (rev 2250)
+++ branches/beryl-plugins/group-tabbed/init.c	2007-01-02 03:27:58 UTC (rev 2251)
@@ -94,6 +94,8 @@
 
 	groupScreenInitOptions(gs);
 
+	gs->wMask=compWindowTypeMaskFromStringList(&gs->opt[GROUP_SCREEN_OPTION_TYPES].value);
+
 	addScreenAction(s, &gd->opt[GROUP_DISPLAY_OPTION_SELECT].value.action);
 	addScreenAction(s, &gd->opt[GROUP_DISPLAY_OPTION_SELECT_SINGLE].value.action);
 	addScreenAction(s, &gd->opt[GROUP_DISPLAY_OPTION_GROUPING].value.action);

Modified: branches/beryl-plugins/group-tabbed/option.c
===================================================================
--- branches/beryl-plugins/group-tabbed/option.c	2007-01-02 02:51:48 UTC (rev 2250)
+++ branches/beryl-plugins/group-tabbed/option.c	2007-01-02 03:27:58 UTC (rev 2251)
@@ -151,7 +151,6 @@
 		o->value.list.value[i].s = strdup(groupDefaultTypes[i]);
 	o->rest.s.string = (char **) windowTypeString;
 	o->rest.s.nString = nWindowTypeString;
-	gs->wMask = compWindowTypeMaskFromStringList(&o->value);
 
 	o = &gs->opt[GROUP_SCREEN_OPTION_OPACITY];
 	o->name = "opacity";




More information about the commits mailing list