mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
parent
76d8982d3e
commit
2c83a5fcb8
1 changed files with 5 additions and 2 deletions
|
|
@ -395,10 +395,13 @@ cursor_update_common(struct server *server, struct cursor_context *ctx,
|
||||||
/*
|
/*
|
||||||
* Cursor is over a server (labwc) surface. Clear focus
|
* Cursor is over a server (labwc) surface. Clear focus
|
||||||
* from the focused client (if any, no-op otherwise) and
|
* from the focused client (if any, no-op otherwise) and
|
||||||
* set the cursor image ourselves.
|
* set the cursor image ourselves when not currently in
|
||||||
|
* a drag operation.
|
||||||
*/
|
*/
|
||||||
wlr_seat_pointer_notify_clear_focus(wlr_seat);
|
wlr_seat_pointer_notify_clear_focus(wlr_seat);
|
||||||
cursor_set(seat, cursor_get_from_ssd(ctx->type));
|
if (!seat->drag_icon) {
|
||||||
|
cursor_set(seat, cursor_get_from_ssd(ctx->type));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue