don't unfocus focused client when starting a drag

this fix chromium keyboard focus loss after a drag
Fix: 3cc22de712
This commit is contained in:
Leonardo Hernández Hernández 2022-11-19 01:34:15 -06:00
parent b59c7f6a2e
commit 569f554016
Failed to generate hash of commit

3
dwl.c
View file

@ -2265,9 +2265,6 @@ void
startdrag(struct wl_listener *listener, void *data)
{
struct wlr_drag *drag = data;
/* During drag the focus isn't sent to clients, this causes that
* we don't update border color acording the pointer coordinates */
focusclient(NULL, 0);
if (!drag->icon)
return;