diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-12-03 17:40:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-03 17:40:25 -0500 |
commit | 314e80e8db425fb5ea15c70df4edfcf154fcef43 (patch) | |
tree | 44452a6f45250988e6087dbef02e8c082db22fb0 /include/wlr | |
parent | 3f70043d00135b17b6feb16e78484b1148ba11dd (diff) | |
parent | 86df909256ede7ed5f415073bdf9f952ebcf473d (diff) |
Merge pull request #459 from acrisci/refactor/simplify-xwayland-shell
xwayland: remove xwayland param from xsurface methods
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/xwayland.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index 9b493d88..792d2b88 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -153,20 +153,18 @@ void wlr_xwayland_set_cursor(struct wlr_xwayland *wlr_xwayland, uint8_t *pixels, uint32_t stride, uint32_t width, uint32_t height, int32_t hotspot_x, int32_t hotspot_y); -void wlr_xwayland_surface_activate(struct wlr_xwayland *wlr_xwayland, - struct wlr_xwayland_surface *surface, bool activated); +void wlr_xwayland_surface_activate(struct wlr_xwayland_surface *surface, + bool activated); -void wlr_xwayland_surface_configure(struct wlr_xwayland *wlr_xwayland, - struct wlr_xwayland_surface *surface, int16_t x, int16_t y, - uint16_t width, uint16_t height); +void wlr_xwayland_surface_configure(struct wlr_xwayland_surface *surface, + int16_t x, int16_t y, uint16_t width, uint16_t height); -void wlr_xwayland_surface_close(struct wlr_xwayland *wlr_xwayland, - struct wlr_xwayland_surface *surface); +void wlr_xwayland_surface_close(struct wlr_xwayland_surface *surface); -void wlr_xwayland_surface_set_maximized(struct wlr_xwayland *wlr_xwayland, - struct wlr_xwayland_surface *surface, bool maximized); +void wlr_xwayland_surface_set_maximized(struct wlr_xwayland_surface *surface, + bool maximized); -void wlr_xwayland_surface_set_fullscreen(struct wlr_xwayland *wlr_xwayland, - struct wlr_xwayland_surface *surface, bool fullscreen); +void wlr_xwayland_surface_set_fullscreen(struct wlr_xwayland_surface *surface, + bool fullscreen); #endif |