aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2013-04-12 20:45:57 +0000
committerokan2013-04-12 20:45:57 +0000
commitb53f92bc43f7fe4f04e1be235e530bc76fdba968 (patch)
tree410918909cced59aa20187d9e263e595e0551868
parent285f525717f7e82a5db698d21376939fdf847306 (diff)
downloadcwm-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client.c b/client.c
index adba0da..f944b55 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.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);