From bb7a94ffa5e10f953f2dc94423f91937d640c71b Mon Sep 17 00:00:00 2001 From: Michael Cardell Widerkrantz Date: Sun, 24 Jul 2011 15:01:07 +0200 Subject: mon_width and mon_x are not used when maximizing vertically. Removed. --- mcwm.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mcwm.c b/mcwm.c index 758d8e3..fc3a22a 100644 --- a/mcwm.c +++ b/mcwm.c @@ -2546,9 +2546,7 @@ void maximize(struct client *client) void maxvert(struct client *client) { uint32_t values[2]; - int16_t mon_x; int16_t mon_y; - uint16_t mon_width; uint16_t mon_height; if (NULL == client) @@ -2559,16 +2557,12 @@ void maxvert(struct client *client) if (NULL == client->monitor) { - mon_x = 0; mon_y = 0; - mon_width = screen->width_in_pixels; mon_height = screen->height_in_pixels; } else { - mon_x = client->monitor->x; mon_y = client->monitor->y; - mon_width = client->monitor->width; mon_height = client->monitor->height; } -- cgit v1.2.3