Re: FVWM: Would this be possible

From: TeeJay <teejay_at_Cam031102.student.utwente.nl>
Date: Tue, 10 Dec 1996 06:12:41 +0100 (MET)

On Mon, 9 Dec 1996 lmyers_at_co.intel.com wrote:

> I'm not too knowledgable about X, but I was wondering if it would be possible
> to in impliment something like Mac's WindowShade. In case you don't know what
> that is, it allows you to click twice on the windows title to collapse the
> window to just it's title row.

It's possible, but the way I do it is not too nice... :( Back in the days
with Win95 I had a program that did the same and I loved it. It's very
easy to get to see transient windows again. Here's what I have in my
.fvwm2rc:

AddToFunc Move-or-Raise "M" Raise
+ "M" Move
+ "C" Maximize 0 1p
+ "D" Maximize 100 100

Mouse 1 T A Move-or-Raise

Mouse 0 8 A Maximize 0 1p

Key Tab A C Maximize 0 1p

As you can see I have a function which is singly defined for the titlebar.
The normal "Click" causes a window to Maximize to 1 pixel in height, en
null in width (keeps original width). If I move the cursor while holding
mousebutton 1, I'll move and raise the window, doubleclicking it will
maximize the window.

I also have a button (number 8) which _maximizes_ the window in that way
plus that I've added a keyboard shortcut (Ctrl-Tab).

The disadvantage of doing it this way is that you use the Maximize
function and that a _titlebarred_ window is brought to the top of your
screen (not in layers, but to the pixelrow 0). Anyway, it's a start... :)

Hope this helps...

TeeJay signing off while saying:
                      "Avoid the Gates of Hell. Use Linux"

--
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 Mon Dec 09 1996 - 23:13:04 GMT

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