Format
This commit is contained in:
parent
4db71cb0e6
commit
7120db60ba
1 changed files with 13 additions and 13 deletions
|
|
@ -528,9 +528,11 @@ impl SctkState {
|
|||
let mut common = subsurface.common.lock().unwrap();
|
||||
common.fractional_scale = Some(scale_factor);
|
||||
if legacy {
|
||||
subsurface.instance.wl_surface.set_buffer_scale(scale_factor as _);
|
||||
subsurface
|
||||
.instance
|
||||
.wl_surface
|
||||
.set_buffer_scale(scale_factor as _);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if let Some(popup) = self
|
||||
|
|
@ -1248,7 +1250,6 @@ impl SctkState {
|
|||
self.subsurfaces = remaining;
|
||||
for s in removed
|
||||
{
|
||||
|
||||
crate::subsurface_widget::remove_iced_subsurface(
|
||||
&s.instance.wl_surface,
|
||||
);
|
||||
|
|
@ -1370,7 +1371,6 @@ impl SctkState {
|
|||
self.subsurfaces = remaining;
|
||||
for s in removed
|
||||
{
|
||||
|
||||
crate::subsurface_widget::remove_iced_subsurface(
|
||||
&s.instance.wl_surface,
|
||||
);
|
||||
|
|
@ -1579,10 +1579,10 @@ impl SctkState {
|
|||
&self.queue_handle,
|
||||
cctk::sctk::globals::GlobalData,
|
||||
);
|
||||
let wp_fractional_scale =
|
||||
self.fractional_scaling_manager.as_ref().map(|fsm| {
|
||||
fsm.fractional_scaling(&wl_surface, &self.queue_handle)
|
||||
});
|
||||
let wp_fractional_scale = self
|
||||
.fractional_scaling_manager
|
||||
.as_ref()
|
||||
.map(|fsm| fsm.fractional_scaling(&wl_surface, &self.queue_handle));
|
||||
|
||||
let wp_alpha_modifier_surface = subsurface_state
|
||||
.wp_alpha_modifier
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue