frames: Give Havoc and Owen a heart attack

Break down the beautiful core/ui abstraction barrier by inserting
a pointer to MetaWindow into a MetaUIFrame. I'm a scoundrel, I know.
We'll use this very soon to destroy meta_core_get.
This commit is contained in:
Jasper St. Pierre
2015-01-01 11:39:55 -08:00
parent cac660a5bc
commit 12135afa5e
5 changed files with 10 additions and 1 deletions

View File

@ -512,6 +512,7 @@ meta_ui_frame_attach_style (MetaUIFrame *frame)
MetaUIFrame *
meta_frames_manage_window (MetaFrames *frames,
MetaWindow *meta_window,
Window xwindow,
GdkWindow *window)
{
@ -531,6 +532,7 @@ meta_frames_manage_window (MetaFrames *frames,
/* Don't set event mask here, it's in frame.c */
frame->xwindow = xwindow;
frame->meta_window = meta_window;
frame->cache_layout = NULL;
frame->text_layout = NULL;
frame->text_height = -1;