mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Fix segfault after viewing same tag twice and doing a tag_prev_selected.
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7a1208ad8a
commit
6fb68f5d90
1 changed files with 1 additions and 3 deletions
4
tag.c
4
tag.c
|
@ -287,9 +287,7 @@ tag_view_only(Tag *target)
|
|||
if(!target) return;
|
||||
|
||||
for(tag = globalconf.screens[target->screen].tags; tag; tag = tag->next)
|
||||
tag_view(tag, False);
|
||||
|
||||
tag_view(target, True);
|
||||
tag_view(tag, tag == target);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue