opt: optimize drag cursor shape

This commit is contained in:
DreamMaoMao 2025-08-16 13:10:10 +08:00
parent 78913c0721
commit e3551c2aaf

View file

@ -270,7 +270,7 @@ moveresize(const Arg *arg) {
case CurMove: case CurMove:
grabcx = cursor->x - grabc->geom.x; grabcx = cursor->x - grabc->geom.x;
grabcy = cursor->y - grabc->geom.y; grabcy = cursor->y - grabc->geom.y;
wlr_cursor_set_xcursor(cursor, cursor_mgr, "all-scroll"); wlr_cursor_set_xcursor(cursor, cursor_mgr, "grab");
break; break;
case CurResize: case CurResize:
/* Doesn't work for X11 output - the next absolute motion event /* Doesn't work for X11 output - the next absolute motion event