diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-05-14 00:24:06 -0500 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-05-14 00:29:35 -0500 |
commit | 3c11ad9aa6d3d8d69c926d5c767aedfdf1cd03b1 (patch) | |
tree | 95547df618a41bf352f5c34d70700afb8633a5ab /dwl.c | |
parent | 06d9230a9611ab70041c7dbb1bf3d9e9ea497271 (diff) |
fix segfault when dragging chromium tabs
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1121,7 +1121,7 @@ focusclient(Client *c, int lift) } else { Client *w; struct wlr_scene_node *node = old->data; - if ((w = node->data)) + if (old->role_data && (w = node->data)) for (i = 0; i < 4; i++) wlr_scene_rect_set_color(w->border[i], bordercolor); |