From f6128fcd6c5eec03084062bcb89af759b4fc232d Mon Sep 17 00:00:00 2001 From: Dima Ryazanov Date: Mon, 13 May 2013 23:51:11 -0700 Subject: [PATCH] Fix missing corner resize cursors in Kubuntu (oxy-white theme) 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 a742b2f0..40c0ef41 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[] = {