Fix a silly crash

This commit is contained in:
Marco Peereboom 2009-01-30 03:51:01 +00:00
parent 2f3e49717f
commit 63d5e9bd53

View file

@ -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;