swayfx-9999-disable-xwayland.patch 654 B

12345678910111213
  1. --- a/sway/desktop/output.c
  2. +++ b/sway/desktop/output.c
  3. @@ -248,8 +248,7 @@ static void output_configure_scene(struc
  4. // Other buffers should set their own effects manually, like the
  5. // text buffer and saved views
  6. struct wlr_layer_surface_v1 *layer_surface = NULL;
  7. - if (wlr_xdg_surface_try_from_wlr_surface(surface->surface)
  8. - || wlr_xwayland_surface_try_from_wlr_surface(surface->surface)) {
  9. + if (wlr_xdg_surface_try_from_wlr_surface(surface->surface)) {
  10. wlr_scene_buffer_set_corner_radius(buffer,
  11. container_has_corner_radius(closest_con) ? corner_radius : 0,
  12. has_titlebar ? CORNER_LOCATION_BOTTOM : CORNER_LOCATION_ALL);