[hackers] [wmii] Fix wmii9menu placement bug || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 23 Oct 2008 01:46:37 +0000 (UTC)

changeset: 2402:750d1b8f5525
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Wed Oct 22 21:46:35 2008 -0400
files: cmd/wmii9menu.c
description:
Fix wmii9menu placement bug

diff -r d5536ad05b53 -r 750d1b8f5525 cmd/wmii9menu.c
--- a/cmd/wmii9menu.c Wed Oct 22 12:50:06 2008 -0400
+++ b/cmd/wmii9menu.c Wed Oct 22 21:46:35 2008 -0400
@@ -290,7 +290,7 @@
         if(p.x < 0)
                 p.x = 0;
         else if(p.x + wide > Dx(scr.rect))
- p.x = Dy(scr.rect) - wide;
+ p.x = Dx(scr.rect) - wide;
 
         p.y -= cur * high + high / 2;
         if(p.y < 0)
Received on Thu Oct 23 2008 - 01:46:37 UTC

This archive was generated by hypermail 2.2.0 : Thu Oct 23 2008 - 01:48:03 UTC