aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsthen2009-05-17 16:51:43 +0000
committersthen2009-05-17 16:51:43 +0000
commit51a0c06ae5fd3c3c2698460f51dae1fb9af03310 (patch)
tree6e4182e30f7496f1c97e65f910a0e355b763c9f8
parent4f28cd5e5ebb67388a8f483e88823462b1cc3bd3 (diff)
downloadcwm-51a0c06ae5fd3c3c2698460f51dae1fb9af03310.tar.gz
redraw the border when unhiding a client window. fixes the situation where
you change to a different group and the mouse isn't over a window; previously the border of the previously active window was highlighted but it didn't actually have focus. reads ok to oga@.
-rw-r--r--client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client.c b/client.c
index 35a7614..13b2c06 100644
--- a/client.c
+++ b/client.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: client.c,v 1.47 2009/01/23 20:47:45 okan Exp $
+ * $Id: client.c,v 1.48 2009/05/17 16:51:43 sthen Exp $
*/
#include "headers.h"
@@ -396,6 +396,7 @@ client_unhide(struct client_ctx *cc)
cc->highlight = 0;
cc->flags &= ~CLIENT_HIDDEN;
xu_setstate(cc, NormalState);
+ client_draw_border(cc);
}
void