shell/tiling: Implement window swap mode

This commit is contained in:
Victoria Brekenfeld 2023-08-11 18:15:22 +02:00
parent ac4bf01315
commit 1251b7e9f7
18 changed files with 1305 additions and 197 deletions

View file

@ -4,7 +4,7 @@ use crate::{
backend::render::{
cursor::{CursorShape, CursorState},
element::AsGlowRenderer,
IndicatorShader,
IndicatorShader, Key, Usage,
},
shell::{
element::{
@ -96,7 +96,7 @@ impl MoveGrabState {
Some(
CosmicMappedRenderElement::from(IndicatorShader::focus_element(
renderer,
self.window.clone(),
Key::Window(Usage::MoveGrabIndicator, self.window.clone()),
Rectangle::from_loc_and_size(
render_location,
self.window