From: Dana Jansens Date: Fri, 28 Mar 2003 03:02:35 +0000 (+0000) Subject: read struts properly X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=91fed618842ca9594b05a726bdb7358db6804696;p=chaz%2Fopenbox read struts properly --- diff --git a/openbox/client.c b/openbox/client.c index 59c2274e..2e686243 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1085,7 +1085,7 @@ void client_update_strut(Client *self) gulong *data; if (PROP_GET32A(self->window, net_wm_strut, cardinal, data, 4)) { - STRUT_SET(self->strut, data[0], data[1], data[2], data[3]); + STRUT_SET(self->strut, data[0], data[2], data[1], data[3]); g_free(data); } else STRUT_SET(self->strut, 0, 0, 0, 0);