[PATCH weston] Fix missing corner resize cursors in Kubuntu (oxy-white theme)
Kristian Høgsberg
hoegsberg at gmail.com
Wed May 15 09:16:09 PDT 2013
On Mon, May 13, 2013 at 11:51:11PM -0700, Dima Ryazanov wrote:
> 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(-)
Thanks, applied.
Kristian
> 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
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list