[PATCH weston] Fix missing corner resize cursors in Kubuntu (oxy-white theme)
Dima Ryazanov
dima at gmail.com
Mon May 13 23:51:11 PDT 2013
Looks like that theme uses different names. Also, add the correspoding
horizontal and vertical resize cursors, just for consistency.
---
clients/window.c | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index 1562957..06ef453 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -1094,17 +1094,20 @@ shm_surface_create(struct display *display, struct wl_surface *wl_surface,
static const char *bottom_left_corners[] = {
"bottom_left_corner",
- "sw-resize"
+ "sw-resize",
+ "size_bdiag"
};
static const char *bottom_right_corners[] = {
"bottom_right_corner",
- "se-resize"
+ "se-resize",
+ "size_fdiag"
};
static const char *bottom_sides[] = {
"bottom_side",
- "s-resize"
+ "s-resize",
+ "size_ver"
};
static const char *grabbings[] = {
@@ -1122,27 +1125,32 @@ static const char *left_ptrs[] = {
static const char *left_sides[] = {
"left_side",
- "w-resize"
+ "w-resize",
+ "size_hor"
};
static const char *right_sides[] = {
"right_side",
- "e-resize"
+ "e-resize",
+ "size_hor"
};
static const char *top_left_corners[] = {
"top_left_corner",
- "nw-resize"
+ "nw-resize",
+ "size_fdiag"
};
static const char *top_right_corners[] = {
"top_right_corner",
- "ne-resize"
+ "ne-resize",
+ "size_bdiag"
};
static const char *top_sides[] = {
"top_side",
- "n-resize"
+ "n-resize",
+ "size_ver"
};
static const char *xterms[] = {
--
1.8.1.2
More information about the wayland-devel
mailing list