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@
This commit is contained in:
okan 2013-12-10 21:27:37 +00:00
parent a6e6db763a
commit 3c7dcdc9f9

View File

@ -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