mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
style fixes, exclude sway/desctop/xwayland.c when enable_xwayland: false
This commit is contained in:
parent
24ad1c3983
commit
2bf893248a
17 changed files with 51 additions and 50 deletions
|
|
@ -83,7 +83,7 @@ bool server_init(struct sway_server *server) {
|
|||
server->xdg_shell_surface.notify = handle_xdg_shell_surface;
|
||||
|
||||
// TODO make xwayland optional
|
||||
#ifdef HAVE_XWAYLAND
|
||||
#ifdef HAVE_XWAYLAND
|
||||
server->xwayland.wlr_xwayland =
|
||||
wlr_xwayland_create(server->wl_display, server->compositor, true);
|
||||
wl_signal_add(&server->xwayland.wlr_xwayland->events.new_surface,
|
||||
|
|
@ -104,7 +104,7 @@ bool server_init(struct sway_server *server) {
|
|||
image->width * 4, image->width, image->height, image->hotspot_x,
|
||||
image->hotspot_y);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// TODO: Integration with sway borders
|
||||
struct wlr_server_decoration_manager *deco_manager =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue