mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
window: Move constructors to the respective header files
This commit is contained in:
parent
1a3aa75385
commit
5b7dff7a57
@ -52,6 +52,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "x11/window-x11.h"
|
||||
#include "x11/xprops.h"
|
||||
|
||||
static char* get_screen_name (MetaDisplay *display,
|
||||
|
@ -524,13 +524,6 @@ MetaWindow * _meta_window_shared_new (MetaDisplay *display,
|
||||
MetaCompEffect effect,
|
||||
XWindowAttributes *attrs);
|
||||
|
||||
MetaWindow * meta_window_x11_new (MetaDisplay *display,
|
||||
Window xwindow,
|
||||
gboolean must_be_viewable,
|
||||
MetaCompEffect effect);
|
||||
MetaWindow * meta_window_wayland_new (MetaDisplay *display,
|
||||
MetaWaylandSurface *surface);
|
||||
|
||||
void meta_window_unmanage (MetaWindow *window,
|
||||
guint32 timestamp);
|
||||
void meta_window_calc_showing (MetaWindow *window);
|
||||
|
@ -26,6 +26,7 @@
|
||||
#define META_WINDOW_WAYLAND_H
|
||||
|
||||
#include <meta/window.h>
|
||||
#include "wayland/meta-wayland-types.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -41,6 +42,9 @@ GType meta_window_wayland_get_type (void);
|
||||
typedef struct _MetaWindowWayland MetaWindowWayland;
|
||||
typedef struct _MetaWindowWaylandClass MetaWindowWaylandClass;
|
||||
|
||||
MetaWindow * meta_window_wayland_new (MetaDisplay *display,
|
||||
MetaWaylandSurface *surface);
|
||||
|
||||
void meta_window_wayland_move_resize (MetaWindow *window,
|
||||
int width,
|
||||
int height,
|
||||
|
@ -24,6 +24,7 @@
|
||||
#define META_WINDOW_X11_H
|
||||
|
||||
#include <meta/window.h>
|
||||
#include <meta/compositor.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
@ -40,6 +41,11 @@ GType meta_window_x11_get_type (void);
|
||||
typedef struct _MetaWindowX11 MetaWindowX11;
|
||||
typedef struct _MetaWindowX11Class MetaWindowX11Class;
|
||||
|
||||
MetaWindow * meta_window_x11_new (MetaDisplay *display,
|
||||
Window xwindow,
|
||||
gboolean must_be_viewable,
|
||||
MetaCompEffect effect);
|
||||
|
||||
void meta_window_x11_set_net_wm_state (MetaWindow *window);
|
||||
void meta_window_x11_set_wm_state (MetaWindow *window);
|
||||
void meta_window_x11_set_allowed_actions_hint (MetaWindow *window);
|
||||
|
Loading…
Reference in New Issue
Block a user