diff --git a/configure.in b/configure.in index 4b90287eb..6e375ab19 100644 --- a/configure.in +++ b/configure.in @@ -61,7 +61,7 @@ AC_CHECK_SIZEOF(__int64) ## byte order AC_C_BIGENDIAN -GTK_MIN_VERSION=2.91.7 +GTK_MIN_VERSION=3.3.3 CANBERRA_GTK=libcanberra-gtk3 CANBERRA_GTK_VERSION=0.26 diff --git a/src/ui/theme.c b/src/ui/theme.c index bfe1d1446..6e15d216d 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -6403,6 +6403,8 @@ meta_gtk_state_from_string (const char *str) 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 return -1; /* hack */ } @@ -6426,6 +6428,8 @@ meta_gtk_state_to_string (GtkStateFlags state) return "INCONSISTENT"; case GTK_STATE_FLAG_FOCUSED: return "FOCUSED"; + case GTK_STATE_FLAG_WINDOW_UNFOCUSED: + return "WINDOW_UNFOCUSED"; } return "";