mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
wl_shell: add wlr_wl_shell_surface_{configure,popup_done}
This commit is contained in:
parent
14ab56b6c5
commit
241fec4d87
2 changed files with 12 additions and 0 deletions
|
@ -103,5 +103,8 @@ struct wlr_wl_shell *wlr_wl_shell_create(struct wl_display *display);
|
||||||
void wlr_wl_shell_destroy(struct wlr_wl_shell *wlr_wl_shell);
|
void wlr_wl_shell_destroy(struct wlr_wl_shell *wlr_wl_shell);
|
||||||
|
|
||||||
void wlr_wl_shell_surface_ping(struct wlr_wl_shell_surface *surface);
|
void wlr_wl_shell_surface_ping(struct wlr_wl_shell_surface *surface);
|
||||||
|
void wlr_wl_shell_surface_configure(struct wlr_wl_shell_surface *surface,
|
||||||
|
uint32_t edges, int32_t width, int32_t height);
|
||||||
|
void wlr_wl_shell_surface_popup_done(struct wlr_wl_shell_surface *surface);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -406,3 +406,12 @@ void wlr_wl_shell_surface_ping(struct wlr_wl_shell_surface *surface) {
|
||||||
surface->shell->ping_timeout);
|
surface->shell->ping_timeout);
|
||||||
wl_shell_surface_send_ping(surface->resource, surface->ping_serial);
|
wl_shell_surface_send_ping(surface->resource, surface->ping_serial);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wlr_wl_shell_surface_configure(struct wlr_wl_shell_surface *surface,
|
||||||
|
uint32_t edges, int32_t width, int32_t height) {
|
||||||
|
wl_shell_surface_send_configure(surface->resource, edges, width, height);
|
||||||
|
}
|
||||||
|
|
||||||
|
void wlr_wl_shell_surface_popup_done(struct wlr_wl_shell_surface *surface) {
|
||||||
|
wl_shell_surface_send_popup_done(surface->resource);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue