From 6a7c0b893a0584401d2a9042f62be0fec0c75cd8 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Wed, 2 Aug 2006 17:37:05 +0000 Subject: [PATCH] s/self/settings/ --- openbox/client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openbox/client.c b/openbox/client.c index 11f2012f..0ef666ac 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -341,14 +341,14 @@ void client_manage(Window window) } /* 1 && -1 shouldn't be possible by the code in config.c */ - if (settings->max_vert == 1 && self->max_horz == 1) + if (settings->max_vert == 1 && settings->max_horz == 1) client_maximize(self, TRUE, 0, TRUE); - else if (settings->max_vert == 0 && self->max_horz == 0) + else if (settings->max_vert == 0 && settings->max_horz == 0) client_maximize(self, FALSE, 0, TRUE); - else if (settings->max_vert == 1 && self->max_horz == 0) { + else if (settings->max_vert == 1 && settings->max_horz == 0) { client_maximize(self, TRUE, 2, TRUE); client_maximize(self, FALSE, 1, TRUE); - } else if (settings->max_vert == 0 && self->max_horz == 1) { + } else if (settings->max_vert == 0 && settings->max_horz == 1) { client_maximize(self, TRUE, 1, TRUE); client_maximize(self, FALSE, 2, TRUE); } -- 2.45.2