summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcyberorg <cyberorg>2006-10-07 11:59:13 +0000
committercyberorg <cyberorg>2006-10-07 11:59:13 +0000
commit67cd433ef421bdd18d65987d0fa8ab2fc4777226 (patch)
tree2d94fcf5ee479ea11e9d5a94e55f22dad4cf88c1 /src
parent3e2c60e48dd0b55eac347e99d980d1e09ee5f168 (diff)
downloadberyl-manager-67cd433ef421bdd18d65987d0fa8ab2fc4777226.tar.gz
beryl-manager-67cd433ef421bdd18d65987d0fa8ab2fc4777226.tar.bz2
remove compiz from fallback wm.
Diffstat (limited to 'src')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 4469c6d..7daab06 100644
--- a/src/main.c
+++ b/src/main.c
@@ -786,11 +786,11 @@ void init_menu()
smshell=gtk_menu_new();
gtk_menu_item_set_submenu(GTK_MENU_ITEM(mitem),smshell);
- for (i=1;i<numWM;i++)
+ for (i=3;i<numWM;i++)
{
mitem = gtk_radio_menu_item_new_with_label(fbk,WMs[i].Name);
fbk=gtk_radio_menu_item_get_group(GTK_RADIO_MENU_ITEM(mitem));
- if ((i-1)==fallBackWM)
+ if ((i-3)==fallBackWM)
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(mitem),TRUE);
gtk_widget_set_sensitive(mitem,useFB);
gtk_menu_shell_append(GTK_MENU_SHELL(smshell),mitem);
@@ -941,7 +941,7 @@ int main(int argc, char ** argv)
{
gtk_check_menu_item_set_active(
GTK_CHECK_MENU_ITEM(WMs[i].FBItem),TRUE);
- fallBackWM=i-1;
+ fallBackWM=i-3;
break;
}
}