aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index b2874cfe..4e5cea7d 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -119,7 +119,7 @@ static struct sway_xwayland_unmanaged *create_unmanaged(
119 struct sway_xwayland_unmanaged *surface = 119 struct sway_xwayland_unmanaged *surface =
120 calloc(1, sizeof(struct sway_xwayland_unmanaged)); 120 calloc(1, sizeof(struct sway_xwayland_unmanaged));
121 if (surface == NULL) { 121 if (surface == NULL) {
122 wlr_log(L_ERROR, "Allocation failed"); 122 wlr_log(WLR_ERROR, "Allocation failed");
123 return NULL; 123 return NULL;
124 } 124 }
125 125
@@ -432,12 +432,12 @@ void handle_xwayland_surface(struct wl_listener *listener, void *data) {
432 432
433 if (wlr_xwayland_surface_is_unmanaged(xsurface) || 433 if (wlr_xwayland_surface_is_unmanaged(xsurface) ||
434 xsurface->override_redirect) { 434 xsurface->override_redirect) {
435 wlr_log(L_DEBUG, "New xwayland unmanaged surface"); 435 wlr_log(WLR_DEBUG, "New xwayland unmanaged surface");
436 create_unmanaged(xsurface); 436 create_unmanaged(xsurface);
437 return; 437 return;
438 } 438 }
439 439
440 wlr_log(L_DEBUG, "New xwayland surface title='%s' class='%s'", 440 wlr_log(WLR_DEBUG, "New xwayland surface title='%s' class='%s'",
441 xsurface->title, xsurface->class); 441 xsurface->title, xsurface->class);
442 442
443 struct sway_xwayland_view *xwayland_view = 443 struct sway_xwayland_view *xwayland_view =
@@ -490,7 +490,7 @@ void handle_xwayland_ready(struct wl_listener *listener, void *data) {
490 xcb_connection_t *xcb_conn = xcb_connect(NULL, NULL); 490 xcb_connection_t *xcb_conn = xcb_connect(NULL, NULL);
491 int err = xcb_connection_has_error(xcb_conn); 491 int err = xcb_connection_has_error(xcb_conn);
492 if (err) { 492 if (err) {
493 wlr_log(L_ERROR, "XCB connect failed: %d", err); 493 wlr_log(WLR_ERROR, "XCB connect failed: %d", err);
494 return; 494 return;
495 } 495 }
496 496
@@ -509,7 +509,7 @@ void handle_xwayland_ready(struct wl_listener *listener, void *data) {
509 free(reply); 509 free(reply);
510 510
511 if (error != NULL) { 511 if (error != NULL) {
512 wlr_log(L_ERROR, "could not resolve atom %s, X11 error code %d", 512 wlr_log(WLR_ERROR, "could not resolve atom %s, X11 error code %d",
513 atom_map[i], error->error_code); 513 atom_map[i], error->error_code);
514 free(error); 514 free(error);
515 break; 515 break;