]> Dogcows Code - chaz/openbox/commitdiff
dont ignore topleft layouts
authorDana Jansens <danakj@orodu.net>
Tue, 5 Aug 2003 19:40:28 +0000 (19:40 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 5 Aug 2003 19:40:28 +0000 (19:40 +0000)
openbox/screen.c

index 1b9887d95ecdd529182c7919ee9fdcb90d373113..5d8716200110d41af8ec63c8657913451bd41075 100644 (file)
@@ -487,7 +487,9 @@ void screen_update_layout()
             if (num < 4)
                 corner = OB_CORNER_TOPLEFT;
             else {
-                if (data[3] == prop_atoms.net_wm_topright)
+                if (data[3] == prop_atoms.net_wm_topleft)
+                    corner = OB_CORNER_TOPLEFT;
+                else if (data[3] == prop_atoms.net_wm_topright)
                     corner = OB_CORNER_TOPRIGHT;
                 else if (data[3] == prop_atoms.net_wm_bottomright)
                     corner = OB_CORNER_BOTTOMRIGHT;
This page took 0.023549 seconds and 4 git commands to generate.