window: Don't set pointer image when requesting to move a surface
Since it's the server who moves the surface it's the server who sets the pointer image. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
d0f24cf6ec
commit
f82eda5247
@@ -1845,7 +1845,6 @@ frame_button_handler(struct widget *widget,
|
|||||||
case THEME_LOCATION_TITLEBAR:
|
case THEME_LOCATION_TITLEBAR:
|
||||||
if (!window->shell_surface)
|
if (!window->shell_surface)
|
||||||
break;
|
break;
|
||||||
input_set_pointer_image(input, CURSOR_DRAGGING);
|
|
||||||
input_ungrab(input);
|
input_ungrab(input);
|
||||||
wl_shell_surface_move(window->shell_surface,
|
wl_shell_surface_move(window->shell_surface,
|
||||||
input_get_seat(input),
|
input_get_seat(input),
|
||||||
|
|||||||
Reference in New Issue
Block a user