mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
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:
@ -25,6 +25,7 @@
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkx.h>
|
||||
#include <meta/common.h>
|
||||
#include <meta/types.h>
|
||||
#include "theme-private.h"
|
||||
|
||||
typedef enum
|
||||
@ -73,6 +74,7 @@ typedef struct _MetaUIFrame MetaUIFrame;
|
||||
struct _MetaUIFrame
|
||||
{
|
||||
MetaFrames *frames;
|
||||
MetaWindow *meta_window;
|
||||
Window xwindow;
|
||||
GdkWindow *window;
|
||||
MetaStyleInfo *style_info;
|
||||
@ -119,6 +121,7 @@ GType meta_frames_get_type (void) G_GNUC_CONST;
|
||||
MetaFrames *meta_frames_new (int screen_number);
|
||||
|
||||
MetaUIFrame * meta_frames_manage_window (MetaFrames *frames,
|
||||
MetaWindow *meta_window,
|
||||
Window xwindow,
|
||||
GdkWindow *window);
|
||||
|
||||
|
Reference in New Issue
Block a user