mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
xwayland: split out xwayland_view constructor
...and make it public in preparation for supporting override-redirect requests from unmanaged xwayland surfaces.
This commit is contained in:
parent
130da3c803
commit
9d08a452a3
2 changed files with 35 additions and 32 deletions
|
|
@ -43,6 +43,9 @@ struct xwayland_view {
|
|||
void xwayland_unmanaged_create(struct server *server,
|
||||
struct wlr_xwayland_surface *xsurface, bool mapped);
|
||||
|
||||
struct xwayland_view *xwayland_view_create(struct server *server,
|
||||
struct wlr_xwayland_surface *xsurface);
|
||||
|
||||
struct wlr_xwayland_surface *xwayland_surface_from_view(struct view *view);
|
||||
|
||||
bool xwayland_apply_size_hints(struct view *view, int *w, int *h);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue