@@ -10,6 +10,7 @@ use cctk::toplevel_info::ToplevelInfoState;
1010use cctk:: toplevel_management:: ToplevelManagerState ;
1111use cctk:: wayland_client:: protocol:: wl_pointer:: WlPointer ;
1212use cctk:: workspace:: WorkspaceState ;
13+ use cosmic_protocols:: corner_radius:: v1:: client:: cosmic_corner_radius_layer_v1:: CosmicCornerRadiusLayerV1 ;
1314use sctk:: compositor:: CompositorState ;
1415use sctk:: data_device_manager:: DataDeviceManagerState ;
1516use sctk:: data_device_manager:: data_device:: DataDevice ;
@@ -54,6 +55,7 @@ use std::rc::Rc;
5455use std:: time:: { Duration , Instant } ;
5556use tracing:: error;
5657use wayland_protocols:: ext:: background_effect:: v1:: client:: ext_background_effect_manager_v1:: ExtBackgroundEffectManagerV1 ;
58+ use wayland_protocols:: ext:: background_effect:: v1:: client:: ext_background_effect_surface_v1:: ExtBackgroundEffectSurfaceV1 ;
5759use wayland_protocols:: wp:: fractional_scale:: v1:: client:: wp_fractional_scale_v1:: WpFractionalScaleV1 ;
5860use wayland_protocols:: wp:: viewporter:: client:: wp_viewport:: WpViewport ;
5961
@@ -176,6 +178,7 @@ pub struct ClientState {
176178 Option < wl_output:: WlOutput > ,
177179 String ,
178180 ) > ,
181+
179182 pub ( crate ) proxied_layer_surfaces : Vec < (
180183 EGLSurface ,
181184 OutputDamageTracker ,
@@ -185,6 +188,8 @@ pub struct ClientState {
185188 f64 ,
186189 Option < WpFractionalScaleV1 > ,
187190 Option < WpViewport > ,
191+ Option < CosmicCornerRadiusLayerV1 > , // TODO destroy on drop
192+ Option < ExtBackgroundEffectSurfaceV1 > , // TODO destroy on drop
188193 ) > ,
189194}
190195
0 commit comments