summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-19 01:34:15 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-11-19 01:34:15 -0600
commit569f55401693c9d2850f056f20ca2bd5bd5977fd (patch)
tree46da7e541625f8fefea66cea75b39f686c2ac26d
parentb59c7f6a2e263a67983bed69cd733fe2e5ab0ee6 (diff)
don't unfocus focused client when starting a drag
this fix chromium keyboard focus loss after a drag Fix: 3cc22de712415342e4865eef099fcfde49bcf734
-rw-r--r--dwl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/dwl.c b/dwl.c
index 5ee3c92..b884d06 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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;