aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2013-12-10 21:27:37 +0000
committerokan2013-12-10 21:27:37 +0000
commit0dd1308bf364ed7c2de8b4c81ded186922c7bc8b (patch)
tree33ce5858184069298f09e67e183b08d2c84f0241
parent47cab12c79888734f79ac0f19e11b2ea7ba712ad (diff)
downloadcwm-0dd1308bf364ed7c2de8b4c81ded186922c7bc8b.tar.gz
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@
-rw-r--r--client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client.c b/client.c
index de3cd1b..7470472 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.
*
- * $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