xwayland: Staticize weston_wm_set_selection and read_and_dump_property

Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
Tiago Vignatti 12 years ago committed by Kristian Høgsberg
parent 3df3f225e3
commit 2d129f11fe
  1. 2
      src/xwayland/selection.c
  2. 2
      src/xwayland/window-manager.c
  3. 6
      src/xwayland/xwayland.h

@ -616,7 +616,7 @@ weston_wm_handle_selection_event(struct weston_wm *wm,
return 0; return 0;
} }
void static void
weston_wm_set_selection(struct wl_listener *listener, void *data) weston_wm_set_selection(struct wl_listener *listener, void *data)
{ {
struct wl_seat *seat = data; struct wl_seat *seat = data;

@ -268,7 +268,7 @@ dump_property(struct weston_wm *wm,
} }
} }
void static void
read_and_dump_property(struct weston_wm *wm, read_and_dump_property(struct weston_wm *wm,
xcb_window_t window, xcb_atom_t property) xcb_window_t window, xcb_atom_t property)
{ {

@ -128,9 +128,6 @@ struct weston_wm {
void void
dump_property(struct weston_wm *wm, xcb_atom_t property, dump_property(struct weston_wm *wm, xcb_atom_t property,
xcb_get_property_reply_t *reply); xcb_get_property_reply_t *reply);
void
read_and_dump_property(struct weston_wm *wm,
xcb_window_t window, xcb_atom_t property);
const char * const char *
get_atom_name(xcb_connection_t *c, xcb_atom_t atom); get_atom_name(xcb_connection_t *c, xcb_atom_t atom);
@ -141,9 +138,6 @@ int
weston_wm_handle_selection_event(struct weston_wm *wm, weston_wm_handle_selection_event(struct weston_wm *wm,
xcb_generic_event_t *event); xcb_generic_event_t *event);
void
weston_wm_set_selection(struct wl_listener *listener, void *data);
extern const struct xserver_interface xserver_implementation; extern const struct xserver_interface xserver_implementation;
struct weston_wm * struct weston_wm *

Loading…
Cancel
Save