mirror of
https://github.com/vale981/spectrwm
synced 2025-03-04 17:31:40 -05:00
Fix a silly crash
This commit is contained in:
parent
2f3e49717f
commit
63d5e9bd53
1 changed files with 3 additions and 0 deletions
|
@ -1515,6 +1515,9 @@ send_to_ws(struct swm_region *r, union arg *args)
|
|||
Atom ws_idx_atom = 0;
|
||||
unsigned char ws_idx_str[SWM_PROPLEN];
|
||||
|
||||
if (win == NULL)
|
||||
return;
|
||||
|
||||
DNPRINTF(SWM_D_MOVE, "send_to_ws: win: %lu\n", win->id);
|
||||
|
||||
ws = win->ws;
|
||||
|
|
Loading…
Add table
Reference in a new issue