diff options
author | monsta <[email protected]> | 2019-07-30 11:50:34 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-09-12 15:14:51 +0200 |
commit | 44c20584f3b64163126d7846beb61825efd02d64 (patch) | |
tree | 4f9a2b42891fff3d1f99bb70740b4e9a697940d8 /src/ui/frames.h | |
parent | b2898238f715a67d6e560a10e5894a04ee3455c9 (diff) | |
download | marco-44c20584f3b64163126d7846beb61825efd02d64.tar.bz2 marco-44c20584f3b64163126d7846beb61825efd02d64.tar.xz |
frames: apply modified hack from Mutter/Metacity
- this will be needed for proper window decoration color updates on theme change
when theme variants fixes are applied
- realize/unrealize functions are dropped instead of map/unmap ones, because
we didn't change these during GTK+3 porting
- MetaFrames now has GtkWindow as parent instead of GtkInvisible, otherwise
the hack doesn't work (revert part of 96c7256d638b8c76c8abf786ba307e82a595dd67)
adapted from:
https://github.com/GNOME/metacity/commit/ba8500663457ad9f18ebfdf405162c2cb5caf88f
Diffstat (limited to 'src/ui/frames.h')
-rw-r--r-- | src/ui/frames.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/frames.h b/src/ui/frames.h index f1258783..ad86ee44 100644 --- a/src/ui/frames.h +++ b/src/ui/frames.h @@ -90,7 +90,7 @@ struct _MetaUIFrame struct _MetaFrames { - GtkInvisible parent_instance; + GtkWindow parent_instance; GHashTable *text_heights; @@ -110,7 +110,7 @@ struct _MetaFrames struct _MetaFramesClass { - GtkInvisibleClass parent_class; + GtkWindowClass parent_class; }; GType meta_frames_get_type (void) G_GNUC_CONST; |