> Hopefully someone out there knows more about X than I.

These are window manager issues, not X.  You need to edit the dot file
for your window manager.  I'm running RedHat 4.2 with a customized
fvwm (not fvwm95) so your mileage may vary.  First, check to see if
you have a .fvwmrc file or something like that.  If not, copy the
system wide one - probably in /etc/X11/fvwm/system.fvwrc to your home
account and then modify it.

> 1) Is there a way to prevent windows running off the edges of the screen?
>    On my desktop (800x600, or 1024x768 interlaced) it's annoying.  On my
>    laptop (640x480) it's really obnoxious.  I'd prefer not to use virtual
>    desktops, if at all possible, as I find them very annoying.

To prevent virtual desktops, find a line that looks like:
DeskTopSize ...

and change it to:
DeskTopSize 1x1

> 2) Is there a way to configure FVWM95 (from RH5) so that the edges of the
>    windows drag the windows (as the default was in my old Slackware 3.2
>    with FVWM95), and just the corners resize?


Probably - you need to define the function that is called when you
press the mouse on the edges of the window.  Try: man fvwm and see
what you can find.  The lines below are untested, but something along
these lines is what you want.  Note: the order of these lines in your
.fvwmrc file is important in version 1.x of fvwm which is what is
shipped with 4.2 - maybe 5.0 comes with version 2.x of fvwm which I
think removes this restriction.  I suggest you read through the
man page of fvwm and spend some time reading the default .fvwmrc file
to see some examples.

# This one resizes and then raises the window if you drag the mouse,
# only raises the window if you click,  or does a RaiseLower if you
# double 
# click
Function "Resize-or-Raise"
        Resize          "Motion"
        Raise           "Motion"
        Raise           "Click"
        RaiseLower      "DoubleClick"
EndFunction

# This one moves and then raises the window if you drag the mouse,
# only raises the window if you click,  or does a RaiseLower if you
# double 
# click
Function "Move-or-Raise"
        Move            "Motion"
        Raise           "Click"
EndFunction

Mouse 1 F A Function "Resize-or-Raise"
Mouse 1 TS A Function "Move"

-Dave
[EMAIL PROTECTED]


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to