From fd364fe4248256d11d69c4d19bc9b27c0fb9d269 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 5 Aug 2003 19:40:28 +0000 Subject: [PATCH] dont ignore topleft layouts --- openbox/screen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.2