[hackers] [dwm] removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some other client || garbeam

From: <hg_AT_suckless.org>
Date: Sun, 10 Jul 2011 20:18:52 +0200 (CEST)

changeset: 1561:5b4d7f3b03f9
tag: tip
user: garbeam_AT_gmail.com
date: Sun Jul 10 21:18:50 2011 +0100
files: dwm.c
description:
removed unneeded offset recalculation, thanks Jukka, let's see if this breaks some other client

diff -r c6dd8bc06b44 -r 5b4d7f3b03f9 dwm.c
--- a/dwm.c Sun Jul 10 21:12:05 2011 +0100
+++ b/dwm.c Sun Jul 10 21:18:50 2011 +0100
@@ -1112,8 +1112,8 @@
                 applyrules(c);
         }
         /* geometry */
- c->x = c->oldx = wa->x + c->mon->wx;
- c->y = c->oldy = wa->y + c->mon->wy;
+ c->x = c->oldx = wa->x;
+ c->y = c->oldy = wa->y;
         c->w = c->oldw = wa->width;
         c->h = c->oldh = wa->height;
         c->oldbw = wa->border_width;
Received on Sun Jul 10 2011 - 20:18:52 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 10 2011 - 20:24:05 CEST