diff --git a/src/core/core.c b/src/core/core.c index 54345729c..6a6355a68 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -146,6 +146,9 @@ meta_core_get (Display *xdisplay, case META_CORE_GET_FRAME_HEIGHT: *((gint*)answer) = window->frame->rect.height; break; + case META_CORE_GET_THEME_VARIANT: + *((char**)answer) = window->gtk_theme_variant; + break; case META_CORE_GET_SCREEN_WIDTH: *((gint*)answer) = window->screen->rect.width; break; diff --git a/src/core/core.h b/src/core/core.h index a2feb238b..9a8af7650 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -48,6 +48,7 @@ typedef enum META_CORE_GET_FRAME_Y, META_CORE_GET_FRAME_WIDTH, META_CORE_GET_FRAME_HEIGHT, + META_CORE_GET_THEME_VARIANT, META_CORE_GET_SCREEN_WIDTH, META_CORE_GET_SCREEN_HEIGHT, } MetaCoreGetType;