Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Automatically moving a window from one viewport to another?

0 views
Skip to first unread message

Chris Siebenmann

unread,
Feb 7, 1998, 3:00:00 AM2/7/98
to

I would like to have some way of moving a window currently on another
viewport (of the current desk) to the current viewport through a fvwm2
function, with the window appearing in the same relative position on
the current viewport as it was on the old one. I'm aware that fvwm2
doesn't currently support this and I'd have to modify the source code;
I'm wondering if anyone has done this before, or if anyone can point me
at where and roughly what to fiddle.

I suppose it might be doable through an external program or script that
forces the window around, instead of hacking fvwm2. if someone has done
this (or has a good idea of what to do) I'd be interested in details.

Why I'd like to be able to do this: I manage my xterms through
FvwmIconMan and (for them) want the old fvwm1 StubbornIcons feature.
Since FvwmIconMan can run a fvwm function to (de)iconify things, I could
recreate StubbornIcons by a 'deiconify; move window to current viewport'
sequence[*].

- cks
[*: it would probably even work reliably if I could grok what I needed
to do with 'Current' to have the function only work on non-iconified
windows. This may be a FvwmIconMan/fvwm interaction issue; Current's
idea of the current window may not be FvwmIconMan's idea of it. My
current code attempts to refocus on viewport of the de-iconified
window with
Iconify
Current [!iconic *] Focus
but that doesn't seem to work, so I'm just Focus'ing all the time.
Possibly I am just misreading how to use 'Current'. Help welcome.
I don't think I can get FvwmIconMan to apply one command to iconified
windows and another to non-iconified ones on the same button press, but
again I may not be grokking FvwmIconMan right.]
--
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 majo...@hpc.uh.edu.
To report problems, send mail to fvwm-...@hpc.uh.edu.


Chris Siebenmann

unread,
Feb 7, 1998, 3:00:00 AM2/7/98
to

Boy is my face red.
Aided by someone pointing out that I actually had a reversed idea of
what fvwm1's StubbornIcons option did, I discovered that fvwm2 already
can do exactly the result of what I want; it's the StickyIcon style
option.

My apologies. We now return to your regularly scheduled mailing list
traffic.

- cks, and I'd like to thank FvwmIconMan's author in passing;
it rocks.

Kai Grossjohann

unread,
Feb 7, 1998, 3:00:00 AM2/7/98
to

>>>>> On Fri, 6 Feb 1998, Chris Siebenmann said:

Chris> I would like to have some way of moving a window currently on
Chris> another viewport (of the current desk) to the current
Chris> viewport through a fvwm2 function, with the window appearing
Chris> in the same relative position on the current viewport as it
Chris> was on the old one.

Does this work?

- move to the page where it is now
- make it sticky
- move to the target page
- make it unsticky

kai
--
OOP: object oriented programming; OOPS: object oriented mistakes

0 new messages