mirror of
https://github.com/0intro/wmii
synced 2025-01-11 12:49:38 +03:00
fixed crash in select_col if no old frame exists
This commit is contained in:
parent
4b50294b0d
commit
eb05036a06
@ -332,7 +332,7 @@ static void select_col(Frame *f, Bool raise)
|
||||
a->file[A_SEL_FRAME]->content = f->file[F_PREFIX]->content;
|
||||
if (raise)
|
||||
center_pointer(f);
|
||||
if (old != f)
|
||||
if (old && old != f)
|
||||
draw_frame(old);
|
||||
draw_frame(f);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user