[Thread Prev][Thread Next]   >Date Index >Thread Index

Re: [wmx] small problem with wm2

Stefan `Sec` Zehl - Sat May 15 23:35:04 1999

On Fri, May 14, 1999 at 08:00:27AM -0700, Gerald Willmann wrote:
> I have been using wm2 for quite a while now and like it very much. Only
> one small problem: when I increase the size of a window from within the
> application like for example by switching to a larger font in xemacs or 
> in a xterm the horizontal part of the handle above the window doesn't
> extend accordingly. Have other people noticed this, too?

No, I didn't notice it yet, but when I looked, sure it was there.

> Is it a bug? 
> Is there a patch? Thanks,
>                              Gerald

Yup, i considered it a bug, and after a bit of searching, i found it.

Attached is the patch for wmx-5sec4. I hope it still works for wm2. If
not, you should be able to identify the place, it's just a small change.

CU,
    Sec
-- 
At least in Norway, I know people have been put in jail for following
the prime directive instead of helping. -- <art@flying.broomstick.com>
Index: Border.C
===================================================================
RCS file: /home/sec/.cvstree/repository/wmx/Border.C,v
retrieving revision 1.7
diff -u -r1.7 Border.C
--- Border.C	1999/02/23 02:40:39	1.7
+++ Border.C	1999/05/15 21:31:16
@@ -785,7 +785,7 @@
 	shapeParent(w, h);
 	setFrameVisibility(m_client->isActive(), w, h);
 
-	if (force ||
+	if (force || w != m_prevW ||
 	    prevTabHeight != m_tabHeight || m_prevW < 0 || m_prevH < 0) {
 
 	    wc.x = 0;

Next: