diff options
author | Michael Cardell Widerkrantz <mc@hack.org> | 2011-07-24 15:01:07 +0200 |
---|---|---|
committer | Michael Cardell Widerkrantz <mc@hack.org> | 2011-07-24 15:01:07 +0200 |
commit | bb7a94ffa5e10f953f2dc94423f91937d640c71b (patch) | |
tree | 80d3bda1480fdf546c4ea12f2a276c472fe671cd | |
parent | e423ac77617c30cce353d91f6ed065c907ad5d88 (diff) | |
download | mcwm-bb7a94ffa5e10f953f2dc94423f91937d640c71b.zip |
mon_width and mon_x are not used when maximizing vertically. Removed.
-rw-r--r-- | mcwm.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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; } |