]> Dogcows Code - chaz/openbox/commitdiff
read struts properly
authorDana Jansens <danakj@orodu.net>
Fri, 28 Mar 2003 03:02:35 +0000 (03:02 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 28 Mar 2003 03:02:35 +0000 (03:02 +0000)
openbox/client.c

index 59c2274e9104862dbdc19aaf9fc76b5d30fa0935..2e6862434cbc76988effd56bb9f1b7464fbd352b 100644 (file)
@@ -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);
This page took 0.026431 seconds and 4 git commands to generate.