wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 7cbe734db949ad10d86237cc9d17d1013b3343d7
parent e8741feda4fca83d51ffd04f6d9f1a1a78355b55
Author: Kris Maglione <jg@suckless.org>
Date:   Mon, 13 Oct 2008 21:37:01 -0400

Update xext.c (wmii will be broken until I commit more multihead changes)

Diffstat:
cmd/wmii/xext.c | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/cmd/wmii/xext.c b/cmd/wmii/xext.c @@ -66,21 +66,12 @@ randr_event_p(XEvent *e) { static void randr_screenchange(XRRScreenChangeNotifyEvent *ev) { - View *v; - Point d; XRRUpdateConfiguration((XEvent*)ev); if(ev->rotation+90 % 180) scr.rect = Rect(0, 0, ev->width, ev->height); else scr.rect = Rect(0, 0, ev->height, ev->width); - - d.x = Dx(scr.rect) - Dx(screen->r); - d.y = Dy(scr.rect) - Dy(screen->r); - for(v=view; v; v=v->next) { - v->r.max.x += d.x; - v->r.max.y += d.y; - } init_screens(); } @@ -158,7 +149,6 @@ xinerama_screens(int *np) { rects[i].max.y = res[i].y_org + res[i].height; } - print("have_xinerama: true; n: %d\n", n); *np = n; return rects; }