summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-12-10 21:27:38 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-12-10 21:27:38 +0000
commit8a8e74955786b3ff6417b4b70daf9cc1c100aecc (patch)
tree2a8f152adc748cbf4541721fc73155623e0203e1 /app
parent629d9e0ef0d98732510b4b0cfa4ed90ff7e5ab8a (diff)
Redraw client border when unhiding; during a hide, we just unset
the active flag but never redraw since it'll be in IconicState. Behaviour reported by sthen@
Diffstat (limited to 'app')
-rw-r--r--app/cwm/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c
index de3cd1bda..747047243 100644
--- a/app/cwm/client.c
+++ b/app/cwm/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.
*
- * $OpenBSD: client.c,v 1.152 2013/11/27 17:04:35 okan Exp $
+ * $OpenBSD: client.c,v 1.153 2013/12/10 21:27:37 okan Exp $
*/
#include <sys/param.h>
@@ -471,6 +471,7 @@ client_unhide(struct client_ctx *cc)
cc->flags &= ~CLIENT_HIDDEN;
cc->state = NormalState;
xu_set_wm_state(cc->win, cc->state);
+ client_draw_border(cc);
}
void