mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04: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
5463d530f8
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";
|
fallback = "top_right_corner";
|
||||||
} else if (strcmp(name, "n-resize") == 0) {
|
} else if (strcmp(name, "n-resize") == 0) {
|
||||||
fallback = "top_side";
|
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 {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue