mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
xwayland: Add mapped argument to xwayland_view_create()
This is a trivial cleanup to make xwayland_view_create() symmetrical with xwayland_unmanaged_create(), and avoid the need to access view->impl from xwayland-unmanaged.c. The return value of xwayland_view_create() is no longer user, so return void. No functional change.
This commit is contained in:
parent
9a9e20d2b0
commit
5b962d5437
3 changed files with 12 additions and 14 deletions
|
|
@ -43,8 +43,8 @@ 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);
|
||||
void xwayland_view_create(struct server *server,
|
||||
struct wlr_xwayland_surface *xsurface, bool mapped);
|
||||
|
||||
struct wlr_xwayland_surface *xwayland_surface_from_view(struct view *view);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue