Quoting Richard Levitte - VMS Whacker ([EMAIL PROTECTED]):
> Release of ctwm 3.7 beta 4.

> As usual, patches are welcome!


This is not really a bugfix, but a bugfixfix.

Dan Lilliehorn wrote in resize.c:1120 "dl: I removed this. Why restore          
position when restoring zoom?"

I think we should undo this change, because when you undo the zoom
of a window, I expect the window to be at the same position as it was
before.

Now the window sticks at the top of left border of the screen.


The patch:

--- resize.c-orig       Wed May  4 15:10:32 2005
+++ resize.c    Sat May  7 10:39:38 2005
@@ -1117,10 +1117,8 @@
        {
                dragHeight = tmp_win->save_frame_height;
                dragWidth = tmp_win->save_frame_width;
-               /* dl: I removed this. Why restore position when restoring
-                  zoom?
-                 dragx = tmp_win->save_frame_x;
-                 dragy = tmp_win->save_frame_y;*/
+               dragx = tmp_win->save_frame_x;
+               dragy = tmp_win->save_frame_y;
                tmp_win->zoomed = ZOOM_NONE;
        }
        else



-Derik.

Reply via email to