frame: Put a MetaUIFrame* in our MetaFrame

This is a small start, but it lets us start to clean up this
UI split mess.
This commit is contained in:
Jasper St. Pierre
2014-12-31 21:55:36 -08:00
parent c8432cc430
commit 2413e672c8
6 changed files with 39 additions and 32 deletions

View File

@@ -512,7 +512,7 @@ meta_frames_attach_style (MetaUIFrame *frame)
variant));
}
void
MetaUIFrame *
meta_frames_manage_window (MetaFrames *frames,
Window xwindow,
GdkWindow *window)
@@ -544,6 +544,8 @@ meta_frames_manage_window (MetaFrames *frames,
meta_core_grab_buttons (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), frame->xwindow);
g_hash_table_replace (frames->frames, &frame->xwindow, frame);
return frame;
}
void