wayland: Implement cursor-shape-v1
This commit is contained in:
parent
79ae56c601
commit
0ffe6ae718
9 changed files with 92 additions and 161 deletions
|
|
@ -1,9 +1,6 @@
|
|||
use super::{surface::RESIZE_BORDER, window::Focus, CosmicSurface};
|
||||
use crate::{
|
||||
backend::render::{
|
||||
cursor::{CursorShape, CursorState},
|
||||
SplitRenderElements,
|
||||
},
|
||||
backend::render::{cursor::CursorState, SplitRenderElements},
|
||||
shell::{
|
||||
focus::target::PointerFocusTarget,
|
||||
grabs::{ReleaseMode, ResizeEdge},
|
||||
|
|
@ -1331,7 +1328,7 @@ impl PointerTarget<State> for CosmicStack {
|
|||
.unwrap()
|
||||
.lock()
|
||||
.unwrap();
|
||||
cursor_state.set_shape(CursorShape::Default);
|
||||
cursor_state.unset_shape();
|
||||
let _previous = p.swap_focus(None);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue