diff options
author | okan | 2013-04-12 20:45:57 +0000 |
---|---|---|
committer | okan | 2013-04-12 20:45:57 +0000 |
commit | b53f92bc43f7fe4f04e1be235e530bc76fdba968 (patch) | |
tree | 410918909cced59aa20187d9e263e595e0551868 | |
parent | 285f525717f7e82a5db698d21376939fdf847306 (diff) | |
download | cwm-b53f92bc43f7fe4f04e1be235e530bc76fdba968.tar.gz |
we already set window state in client_hide or client_unhide right before, so
there's no need to do it again.
Diffstat (limited to '')
-rw-r--r-- | client.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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.122 2013/04/05 17:07:25 okan Exp $ + * $OpenBSD: client.c,v 1.123 2013/04/12 20:45:57 okan Exp $ */ #include <sys/param.h> @@ -125,7 +125,6 @@ client_new(Window win, struct screen_ctx *sc, int mapped) xu_configure(cc); (state == IconicState) ? client_hide(cc) : client_unhide(cc); - xu_setstate(cc, cc->state); TAILQ_INSERT_TAIL(&sc->mruq, cc, mru_entry); TAILQ_INSERT_TAIL(&Clientq, cc, entry); |