mirror of
https://codeberg.org/FabricSoul/dwl.git
synced 2025-08-03 20:10:23 -04:00
fix segfault when dragging chromium tabs
This commit is contained in:
parent
06d9230a96
commit
3c11ad9aa6
2 changed files with 10 additions and 7 deletions
2
dwl.c
2
dwl.c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue