File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -384,13 +384,9 @@ impl MoveGrab {
384384 window_geo. loc += location. to_i32_round ( ) + grab_state. window_offset ;
385385
386386 if matches ! ( self . previous, ManagedLayer :: Floating | ManagedLayer :: Sticky ) {
387- let loc = ( grab_state. window_offset . to_f64 ( ) + grab_state. location ) . as_local ( ) ;
388- let size = window_geo. size . to_f64 ( ) . as_local ( ) ;
389- let output_geom = self
390- . cursor_output
391- . geometry ( )
392- . to_f64 ( )
393- . to_local ( & self . cursor_output ) ;
387+ let loc = grab_state. window_offset . to_f64 ( ) + grab_state. location ;
388+ let size = window_geo. size . to_f64 ( ) ;
389+ let output_geom = self . cursor_output . geometry ( ) . to_f64 ( ) . as_logical ( ) ;
394390 let output_loc = output_geom. loc ;
395391 let output_size = output_geom. size ;
396392
You can’t perform that action at this time.
0 commit comments