From: Dana Jansens Date: Tue, 5 Aug 2003 19:40:28 +0000 (+0000) Subject: dont ignore topleft layouts X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=fd364fe4248256d11d69c4d19bc9b27c0fb9d269;p=chaz%2Fopenbox dont ignore topleft layouts --- diff --git a/openbox/screen.c b/openbox/screen.c index 1b9887d9..5d871620 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -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;