Re: FVWM: Move windows in place between desktops/screens

From: N. Dan Zou <zou_at_hooked.net>
Date: Tue, 5 Mar 1996 16:14:34 -0800 (PST)

On Fri, 1 Mar 1996 chuck_hines_at_VNET.IBM.COM wrote:
> >>>>> "NDZ" == N Dan Zou <zou_at_hooked.net> writes:
>
[...]
> NDZ> make a separate message for that). One capability in ctwm that I
> NDZ> haven't found (at least no mention of it in the menu) is the
> NDZ> ability to move a window "in place" from one desktop/screen to
> NDZ> another. By this I mean the window will snap to the same
> NDZ> position it had in the previous desktop/screen. Because using
>
> If you make the window Sticky, it will stay in place as you switch
> pages or desks, then you make it UnSticky again, and it will stay
> there. And the function WindowsDesk will move the window to a new
> desktop directly.

Thanks to Bob and Chuck for the helpful hints. Actually I was aware of
the WindowDesk function to move windows around. But I was hoping to
achieve the desired effect by dragging the window in the pager, so I
guess my original request was directly more at the pager rather than
fvwm itself. The ability to move windows in place would be a nice
addition to the pager, if I knew more about Xlib hacking I'd probably
take a stab at it myself, but alas, I'm still at the Hello World stage
with even Xt/Motif, so it's probably going to be a while (like in the
next century) before I can produce something up to the usual high-
quality of fvwm. But I still want to throw out these ideas, maybe
someone will find them interesting enough to hack on:

1) define a *FvwmPagerMoveWindowInPlace option that will take the
options none, screen, desktop, none means the window will not snap to
the same location when dragged to a new screen/desktop, this should be
the default for compatibility. The screen and desktop option can be
specified independently or in combination to cause windows to snap to
the same location when dragged to a different screen/desktop.

2) along with the above option we should probably specify a modifier key
to toggle the move behavior dynamically, if the old behavior is the
default then maybe we can define shift-button1 to move windows in place.
(This is the strategy used in ctwm, BTW)

3) another feature I'd like to see in the pager would be using pixmaps
as pager backgrounds, say *FvwmPagerPixmap 0 background1.xpm to put a
pixmap in the background of desktop 0, and so. Maybe combine this with
*FvwmPagerLabel and merge into a *FvwmPagerStyle option that lets you
specify different style options for desktops.

4) the miniature windows in the pager can be drawn with 3D borders to
make them look nicer.

5) draw the individual desktop/screen as push-buttons like CDE (I think
this is already mentioned in the TO-DO list).

All of the above ideas come from my experience with ctwm, sorry to keep
bring it up, but it's my only frame of reference. I certainly don't
want fvwm to try to emulate every feature and bahavior of other window
managers, but we can take the good parts from other systems to make fvwm
even better. In keeping with the Unix/freeware philosophy, if you want
something done, do it yourself. So I plan to make these my projects,
unless someone gets to them before I do, in which case I would be even
happier.

> NDZ> P.S. Chuck, there's no section for the Pager command in the menu,
[...]
> I'm not sure what you mean there. The sample rc file included
> certainly does need beefing up (I plan to do that for the next release
> as yet another prelude to officially releasing it) but it does
> currently reference the pager in several places:

Sorry for that confusing comment, I was referring to the internal pager
in fvwm 1.xx which is gone in 2.xx, I've since upgraded to 2.0.41 and
read the man pages on the pager. My above suggestions still apply. I
don't think the pager module change that much going from 1.xx to 2.xx.

I'm experiencing a few quicks in 2.0.41 but I'll send out a separate
message for that, this one is getting long.

        Regards,
--
N. Dan Zou                           650 Castro Street, Suite 270
Systems Engineer                     Mountain View, California 94041
Stanford Management Group, Inc.      Phone: +1 (415) 903-9591
#include <std/disclaimer.h>          Fax:   +1 (415) 903-9378
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Mar 05 1996 - 18:14:50 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST