summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2011-07-24 15:01:07 +0200
committerMichael Cardell Widerkrantz <mc@hack.org>2011-07-24 15:01:07 +0200
commitbb7a94ffa5e10f953f2dc94423f91937d640c71b (patch)
tree80d3bda1480fdf546c4ea12f2a276c472fe671cd
parente423ac77617c30cce353d91f6ed065c907ad5d88 (diff)
downloadmcwm-bb7a94ffa5e10f953f2dc94423f91937d640c71b.zip
mon_width and mon_x are not used when maximizing vertically. Removed.
-rw-r--r--mcwm.c6
1 files changed, 0 insertions, 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;
}