diff options
author | Victor Kareh <[email protected]> | 2019-05-21 13:37:01 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-06-16 18:12:44 +0200 |
commit | 73f74047e14e0942c403ea59284ace877680bbf9 (patch) | |
tree | b5671be24fea58cf95ddc886d4c176d8e7612fcf /src/core/window-private.h | |
parent | 860f7a6dbc81272c561a1b8d045e5ff61ea0e66a (diff) | |
download | marco-73f74047e14e0942c403ea59284ace877680bbf9.tar.bz2 marco-73f74047e14e0942c403ea59284ace877680bbf9.tar.xz |
window: Parse _GTK_THEME_VARIANT property
Since version 3.0, GTK+ has support for style variants. At the moment,
themes may provide a dark variant, which can be requested by
applications via GtkSettings. The requested variant is exported to
X11 via the _GTK_THEME_VARIANT property - support this property, in
order to pick up the correct style variant in the future.
https://bugzilla.gnome.org/show_bug.cgi?id=645355
NOTE: Patch is adapted for marco.
upstream commit:
https://gitlab.gnome.org/GNOME/metacity/commit/341d0945
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r-- | src/core/window-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h index a6b6418c..38184231 100644 --- a/src/core/window-private.h +++ b/src/core/window-private.h @@ -117,6 +117,7 @@ struct _MetaWindow char *sm_client_id; char *wm_client_machine; char *startup_id; + char *gtk_theme_variant; int net_wm_pid; |