mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-09 17:50:28 +01:00
Merge branch 'resize-cursors' into 'master'
xcursor: add additional missing cursor fallbacks See merge request wlroots/wlroots!5006
This commit is contained in:
commit
bbc51a7bf8
1 changed files with 4 additions and 0 deletions
|
|
@ -296,6 +296,10 @@ struct wlr_xcursor *wlr_xcursor_theme_get_cursor(struct wlr_xcursor_theme *theme
|
|||
fallback = "top_right_corner";
|
||||
} else if (strcmp(name, "n-resize") == 0) {
|
||||
fallback = "top_side";
|
||||
} else if (strcmp(name, "ew-resize") == 0 || strcmp(name, "col-resize") == 0) {
|
||||
fallback = "sb_h_double_arrow";
|
||||
} else if (strcmp(name, "ns-resize") == 0 || strcmp(name, "row-resize") == 0) {
|
||||
fallback = "sb_v_double_arrow";
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue