]> git.mdlowis.com Git - proto/labwc.git/commit
xwayland: Add xwayland.h and move more things to xwayland.c
authorJohn Lindgren <john@jlindgren.net>
Sat, 7 Jan 2023 22:50:33 +0000 (17:50 -0500)
committerJohn Lindgren <john@jlindgren.net>
Sun, 8 Jan 2023 03:22:55 +0000 (22:22 -0500)
commit45e0a4f48c932868b06f46e1777fffa801f4a3b0
treed3bd1bf6b22fbe51fd3d6a5bf932e780691bac83
parentb62159fe06cb4160d6e0d8bc3efc29a6a2dfc646
xwayland: Add xwayland.h and move more things to xwayland.c

- Move xwayland-specific struct definitions to new xwayland.h header
- Move xwayland_move_sub_views_to_front() from desktop.c to xwayland.c
- Split out xwayland_server_init/finish() from server_init/finish()
- Rename new_xwayland_surface -> xwayland_new_surface and
  xwayland_surface_new() -> handle_new_surface() for consistency
- Add "mapped" argument to xwayland_unmanaged_create() so that we can
  make unmanaged_handle_map() private to xwayland-unmanaged.c
include/labwc.h
include/view.h
include/xwayland.h [new file with mode: 0644]
src/desktop.c
src/server.c
src/view.c
src/xwayland-unmanaged.c
src/xwayland.c