[hackers] [wmii] Import some bug fixes from default. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 3 Jun 2010 14:57:53 +0000 (UTC)

changeset: 2695:7260b635daef
branch: 3.9
user: Kris Maglione <kris_AT_suckless.org>
date: Wed Jun 02 17:56:39 2010 -0400
files: cmd/wmii/frame.c
description:
Import some bug fixes from default.

diff -r 6dc0efa2cbfb -r 7260b635daef cmd/wmii/frame.c
--- a/cmd/wmii/frame.c Wed May 26 09:18:25 2010 -0400
+++ b/cmd/wmii/frame.c Wed Jun 02 17:56:39 2010 -0400
@@ -268,9 +268,8 @@
         c = f->client;
         h = *c->w.hints;
 
- r = frame_rect2client(c, f->r, f->area->floating);
- d.x = Dx(f->r) - Dx(r);
- d.y = Dy(f->r) - Dy(r);
+ r = frame_client2rect(c, ZR, f->area->floating);
+ d = subpt(r.max, r.min);
 
         if(!f->area->floating && def.incmode == IIgnore)
                 h.inc = Pt(1, 1);
@@ -619,7 +618,7 @@
         if(old_a != v->oldsel && f != old_f)
                 v->oldsel = nil;
 
- if(v != selview || a != v->sel)
+ if(v != selview || a != v->sel || resizing)
                 return;
 
         move_focus(old_f, f);
Received on Thu Jun 03 2010 - 14:57:53 UTC

This archive was generated by hypermail 2.2.0 : Thu Jun 03 2010 - 15:00:10 UTC