wayland: implement wp_cursor_shap_manager_v1
This commit is contained in:
parent
af3b7b0868
commit
3acf0558a3
12 changed files with 452 additions and 60 deletions
|
|
@ -577,7 +577,7 @@ impl ContainerNode {
|
|||
if y < title_height + 1 {
|
||||
KnownCursor::Default
|
||||
} else {
|
||||
KnownCursor::ResizeLeftRight
|
||||
KnownCursor::EwResize
|
||||
}
|
||||
} else {
|
||||
let mut cursor = KnownCursor::Default;
|
||||
|
|
@ -585,7 +585,7 @@ impl ContainerNode {
|
|||
let body = child.body.get();
|
||||
if body.y1() > y {
|
||||
if body.y1() - y > title_height + 1 {
|
||||
cursor = KnownCursor::ResizeTopBottom
|
||||
cursor = KnownCursor::NsResize
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue