Don't allow to tab client from different screen
This commit is contained in:
parent
527d62f700
commit
c59b69869a
@ -453,7 +453,8 @@ void
|
||||
_client_tab(struct client *c, struct client *cm)
|
||||
{
|
||||
/* Do not tab already tabed client */
|
||||
if(c->flags & (CLIENT_TABBED | CLIENT_TABMASTER))
|
||||
if(c->flags & (CLIENT_TABBED | CLIENT_TABMASTER)
|
||||
|| c->tag != cm->tag)
|
||||
return;
|
||||
|
||||
layout_split_arrange_closed(c);
|
||||
|
||||
@ -34,7 +34,7 @@ static void
|
||||
fifo_parse(char *cmd)
|
||||
{
|
||||
void (*func)(Uicb);
|
||||
char *p = NULL, *arg = NULL;
|
||||
char *p, *arg = NULL;
|
||||
|
||||
/* remove trailing newline */
|
||||
if((p = strchr(cmd, '\n')))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user