mutter/mutter-backdrop.patch

26 lines
972 B
Diff
Raw Normal View History

2012-01-20 00:47:29 +00:00
diff -up mutter-3.3.3/src/ui/theme.c.backdrop mutter-3.3.3/src/ui/theme.c
--- mutter-3.3.3/src/ui/theme.c.backdrop 2012-01-19 19:45:38.383441711 -0500
2012-01-20 00:57:30 +00:00
+++ mutter-3.3.3/src/ui/theme.c 2012-01-19 19:57:20.716487893 -0500
2012-01-20 00:47:29 +00:00
@@ -6403,8 +6403,8 @@ meta_gtk_state_from_string (const char *
return GTK_STATE_FLAG_INCONSISTENT;
else if (g_ascii_strcasecmp ("focused", str) == 0)
return GTK_STATE_FLAG_FOCUSED;
- else if (g_ascii_strcasecmp ("window-unfocused", str) == 0)
- return GTK_STATE_FLAG_WINDOW_UNFOCUSED;
+ else if (g_ascii_strcasecmp ("backdrop", str) == 0)
+ return GTK_STATE_FLAG_BACKDROP;
else
return -1; /* hack */
}
2012-01-20 00:57:30 +00:00
@@ -6428,8 +6428,8 @@ meta_gtk_state_to_string (GtkStateFlags
return "INCONSISTENT";
case GTK_STATE_FLAG_FOCUSED:
return "FOCUSED";
- case GTK_STATE_FLAG_WINDOW_UNFOCUSED:
- return "WINDOW_UNFOCUSED";
+ case GTK_STATE_FLAG_BACKDROP:
+ return "BACKDROP";
}
return "<unknown>";