[hackers] [wmii] Fix tagging of client with multiple tags.

From: Kris Maglione <jg_AT_suckless.org>
Date: Sat Feb 17 19:15:10 2007

changeset: 1895:e5225ca4ac61
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Sat Feb 17 13:14:20 2007 -0500
summary: Fix tagging of client with multiple tags.

diff -r 7caa3e7323f7 -r e5225ca4ac61 area.c
--- a/area.c Sat Feb 17 12:49:22 2007 -0500
+++ b/area.c Sat Feb 17 13:14:20 2007 -0500
@@ -151,7 +151,7 @@ attach_to_area(Area *a, Frame *f, Bool s
         if(!a->floating)
                 arrange_column(a, False);
         else
- resize_client(f->client, &f->rect);
+ resize_frame(f, &f->rect);
 
         update_client_grab(f->client);
         if(a->frame)
diff -r 7caa3e7323f7 -r e5225ca4ac61 column.c
--- a/column.c Sat Feb 17 12:49:22 2007 -0500
+++ b/column.c Sat Feb 17 13:14:20 2007 -0500
@@ -178,8 +178,9 @@ arrange_column(Area *a, Bool dirty) {
         }
         scale_column(a);
 resize:
- for(f=a->frame; f; f=f->anext)
- resize_client(f->client, &f->rect);
+ if(a->view == screen->sel)
+ for(f=a->frame; f; f=f->anext)
+ resize_client(f->client, &f->rect);
         flush_masked_events(EnterWindowMask);
 }
 
diff -r 7caa3e7323f7 -r e5225ca4ac61 event.c
--- a/event.c Sat Feb 17 12:49:22 2007 -0500
+++ b/event.c Sat Feb 17 13:14:20 2007 -0500
@@ -365,7 +365,7 @@ check_x_event(IXPConn *c) {
         XEvent ev;
         while(XPending(blz.dpy)) { /* main event loop */
                 XNextEvent(blz.dpy, &ev);
- if(0 && verbose)
+ if(verbose)
                         printevent(&ev);
                 if(handler[ev.type])
                         (handler[ev.type]) (&ev); /* call handler */
Received on Sat Feb 17 2007 - 19:15:10 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:24 UTC