diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-21 16:48:05 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-21 17:03:17 -0400 |
commit | e10b124ef535d864a6d9f47cbb4ac4c7cea8aee6 (patch) | |
tree | 6e51e6a5cacb9432b514c232ef5e755a6d9d7774 /src/xwayland/xwayland.h | |
parent | 102bf0335d0a720b69ca8fd20e98bea1f2392d90 (diff) |
xwayland: Move socket and launcher code to it's own file
Diffstat (limited to 'src/xwayland/xwayland.h')
-rw-r--r-- | src/xwayland/xwayland.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/xwayland/xwayland.h b/src/xwayland/xwayland.h index 78b2be8..72a25cc 100644 --- a/src/xwayland/xwayland.h +++ b/src/xwayland/xwayland.h @@ -45,7 +45,6 @@ struct weston_xserver { struct wl_client *client; struct weston_compositor *compositor; struct weston_wm *wm; - struct wl_listener activate_listener; struct wl_listener destroy_listener; }; @@ -60,6 +59,7 @@ struct weston_wm { struct weston_wm_window *focus_window; struct theme *theme; xcb_render_pictforminfo_t render_format; + struct wl_listener activate_listener; xcb_window_t selection_window; int incr; @@ -132,3 +132,11 @@ weston_wm_handle_selection_event(struct weston_wm *wm, void weston_wm_set_selection(struct wl_listener *listener, void *data); + +extern const struct xserver_interface xserver_implementation; + +struct weston_wm * +weston_wm_create(struct weston_xserver *wxs); +void +weston_wm_destroy(struct weston_wm *wm); + |