From e9fe9f68f6e7d5632bda46207b003addacdc895f Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Fri, 10 Oct 2008 17:52:39 +0200 Subject: [PATCH] [tag] Specify the selected client in tagtransfert --- tag.c | 1 + wmfs.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tag.c b/tag.c index 2363908..03c5f33 100644 --- a/tag.c +++ b/tag.c @@ -89,6 +89,7 @@ uicb_tagtransfert(uicb_t cmd) n = 1; sel->tag = n; + selbytag[n] = sel; arrange(); return; diff --git a/wmfs.c b/wmfs.c index 01237b5..c4487c8 100644 --- a/wmfs.c +++ b/wmfs.c @@ -570,7 +570,7 @@ manage(Window w, XWindowAttributes *wa) c->tag = t->tag; if(!c->free) c->free = (rettrans == Success) || c->hint; - if(c->free) + else raiseclient(c); attach(c);