mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
mv xwl.c xwayland.c
This commit is contained in:
parent
8e7f2e78cd
commit
8846998b75
4 changed files with 4 additions and 4 deletions
|
|
@ -164,7 +164,7 @@ struct keyboard {
|
|||
void xdg_toplevel_decoration(struct wl_listener *listener, void *data);
|
||||
void xdg_surface_new(struct wl_listener *listener, void *data);
|
||||
|
||||
void xwl_surface_new(struct wl_listener *listener, void *data);
|
||||
void xwayland_surface_new(struct wl_listener *listener, void *data);
|
||||
void xwayland_unmanaged_create(struct wlr_xwayland_surface *xsurface);
|
||||
|
||||
void view_init_position(struct view *view);
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ labwc_sources = files(
|
|||
'server.c',
|
||||
'view.c',
|
||||
'xdg.c',
|
||||
'xwayland.c',
|
||||
'xwayland-unmanaged.c',
|
||||
'xwl.c',
|
||||
)
|
||||
|
||||
subdir('common')
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ void server_init(struct server *server)
|
|||
wlr_log(WLR_ERROR, "cannot create xwayland server");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
server->new_xwayland_surface.notify = xwl_surface_new;
|
||||
server->new_xwayland_surface.notify = xwayland_surface_new;
|
||||
wl_signal_add(&server->xwayland->events.new_surface,
|
||||
&server->new_xwayland_surface);
|
||||
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ static const struct view_impl xwl_view_impl = {
|
|||
.unmap = unmap,
|
||||
};
|
||||
|
||||
void xwl_surface_new(struct wl_listener *listener, void *data)
|
||||
void xwayland_surface_new(struct wl_listener *listener, void *data)
|
||||
{
|
||||
struct server *server =
|
||||
wl_container_of(listener, server, new_xwayland_surface);
|
||||
Loading…
Add table
Add a link
Reference in a new issue