changeset: 2124:a90ebe53d262
user: Kris Maglione <jg_AT_suckless.org>
date: Mon Apr 23 02:47:44 2007 -0400
summary: Fix opaque resizals. Remove the 'broken app' background.
diff -r e696e6019607 -r a90ebe53d262 cmd/wmii/client.c
--- a/cmd/wmii/client.c Mon Apr 23 02:44:02 2007 -0400
+++ b/cmd/wmii/client.c Mon Apr 23 02:47:44 2007 -0400
@@ -54,7 +54,7 @@ create_client(XWindow w, XWindowAttribut
XSelectInput(display, c->w.w, ClientMask);
fwa.override_redirect = True;
- fwa.background_pixmap = broken->image;
+ fwa.background_pixmap = None;
fwa.event_mask =
SubstructureRedirectMask
| SubstructureNotifyMask
diff -r e696e6019607 -r a90ebe53d262 cmd/wmii/event.c
--- a/cmd/wmii/event.c Mon Apr 23 02:44:02 2007 -0400
+++ b/cmd/wmii/event.c Mon Apr 23 02:47:44 2007 -0400
@@ -15,8 +15,6 @@ dispatch_event(XEvent *e) {
Debug printevent(e);
if(handler[e->type])
handler[e->type](e);
- for(c = client; c; c = c->next)
- XSetWindowBackgroundPixmap(display, c->framewin->w, broken->image);
}
uint
diff -r e696e6019607 -r a90ebe53d262 cmd/wmii/mouse.c
--- a/cmd/wmii/mouse.c Mon Apr 23 02:44:02 2007 -0400
+++ b/cmd/wmii/mouse.c Mon Apr 23 02:47:44 2007 -0400
@@ -750,7 +750,8 @@ do_mouse_resize(Client *c, Bool opaque,
frect = frame_hints(f, frect, grav);
frect = constrain(frect);
- reshapewin(c->framewin, frect);
+ //reshapewin(c->framewin, frect);
+ resize_client(c, &frect);
break;
case ButtonRelease:
resize_client(c, &frect);
Received on Fri Jun 01 2007 - 03:10:16 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:05 UTC