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
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
1 changed files with 0 additions and 3 deletions

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;