]> Dogcows Code - chaz/openbox/commitdiff
s/self/settings/
authorMikael Magnusson <mikachu@comhem.se>
Wed, 2 Aug 2006 17:37:05 +0000 (17:37 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Wed, 2 Aug 2006 17:37:05 +0000 (17:37 +0000)
openbox/client.c

index 11f2012f474ba09d1208d38025bc53d511417d6a..0ef666acef0d29a89956598e4e588574e1079aa2 100644 (file)
@@ -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);
         }
This page took 0.0299 seconds and 4 git commands to generate.