On Sat, May 17, 2008 at 11:27:57PM +0100, Thomas Adam wrote:
> On 17/05/2008, Chris G <[EMAIL PROTECTED]> wrote:
> > If I click on the button at the left hand end of the title bar I get
> >  the "window_ops_func".  The "Minimize", "Maximise", "Kill" and "Close"
> >  options do exactly what I expect (and what they say) but I can't get
> >  "Move" or "Resize" to do anything at all.
> >
> >  Have I broken something or, if not, how are they supposed to work?  I
> >  seem to remember on my Solaris system that if you click on "Size" and
> >  then move the cursor when it hits the border of the window it grabs it
> >  and resizes.  Is this what is supposed to happen with fvwm?
> >
> >  (I'm running fvwm 2.5.24 on Fedora 8 by the way)
> 
> Is this the default menu (defined in $(fvwm-config
> -d)/ConfigFvwmSetup?  It should just work.  What is it that's not
> happening?   Most people like to define, for instance:
> 
Yes, as far as I know it's the default menu.  I have the default
line that says:-

    Mouse 0         1       A       Function "window_ops_func"

above that there is:-

    AddToFunc "window_ops_func" "C" PopUp Window-Ops2
    +              "M" PopUp Window-Ops2
    +              "D" Delete

and above that is:-

    AddToMenu "Window-Ops2" "&Restore"        Iconify -1
    +                       "&Move"           Move-or-Raise
    +                       "&Size"           Resize-or-Raise
    +                       "Mi&nimize"       Iconify 1
    +                       "Ma&ximize"       Maximize 100 100
    +                       ""                Nop
    +                       "&Kill"           Destroy
    +                       "&Close Alt+F4"   Delete

When I click on the button in the title bar I see the menu as above as
expected but Move and Size do nothing, no change in cursor or anything.

However if I click button 2 on the background/root:-

    Mouse 2         R       A       Menu "Window Ops" Nop

I get the "Window Ops" menu:-

    AddToMenu "Window Ops"
    + "&Move"                      Function Move-or-Raise
    + "&Resize"                     Function Resize-or-Raise
    + "R&aise"                      Raise
    + "&Lower"                      Lower
    + "(De)Iconify"                 Iconify
    + "(Un)Stick"                   Stick
    + "(Un)Maximize"               Function maximize_func
    + ""                            Nop
    + "Kill"                       Destroy
    + "&Close"                      Delete
    + ""                            Nop
    + "Switch to..."                WindowList
    + "Refresh Screen"              Refresh

and then Move and Resize work.

Is the missing "Function" in the Window-Ops2 menu significant? (Not
apparently, just changed it, no effect)

> Resize Direction SE warptoborder
> 
> Can you be more specific?
> 
> -- Thomas Adam
> 
> 

-- 
Chris Green

Reply via email to