forked from enlightenment/efl
elementary: Don't set "move" cursor on wayland client apps
As most (if not all) compositors will draw their own "move" cursor when moving windows around, there's no real need to set this one client side. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
e77efe72f7
commit
ecc3e2fa51
|
@ -3530,18 +3530,8 @@ _elm_win_frame_cb_move_start(void *data,
|
|||
if (!sd) return;
|
||||
|
||||
#ifdef HAVE_ELEMENTARY_WL2
|
||||
if (sd->pointer.obj)
|
||||
{
|
||||
if (!strcmp(source, "elm"))
|
||||
_elm_theme_object_set(sd->obj, sd->pointer.obj,
|
||||
"pointer", "base", "move");
|
||||
else
|
||||
_elm_theme_object_set(sd->obj, sd->pointer.obj,
|
||||
"pointer", "base", "default");
|
||||
}
|
||||
|
||||
if ((sd->wl.win) && (sd->pointer.surf))
|
||||
ecore_wl2_window_pointer_set(sd->wl.win, sd->pointer.surf,
|
||||
if (sd->wl.win)
|
||||
ecore_wl2_window_pointer_set(sd->wl.win, NULL,
|
||||
sd->pointer.hot_x, sd->pointer.hot_y);
|
||||
#else
|
||||
(void)source;
|
||||
|
|
Loading…
Reference in New Issue