Results 1 to 3 of 3

Thread: Smart Maximize in Fvwm

  1. #1
    Mentor cga's Avatar
    Join Date
    May 2001
    Posts
    1,433

    Smart Maximize in Fvwm

    You know how on a Mac if you hit the "maximze" button, the window expands to whatever size it needs to be to display the contents vice the Windoze-style of just blowing up to cover the whole screen?

    Can I setup Fvwm to do that? I have set it to limit the size of a maximixed window, but I rather liked the feature in the Mac and would like to reproduce it.

  2. #2
    Senior Member
    Join Date
    Sep 2002
    Posts
    421

    Re:Smart Maximize in Fvwm

    The problem with such a behaviour is that the wm would need info on the optimal geometry of an application window. The ICCCM defines the WM_SIZE_HINTS for that but not all applications make use of this feature (very few actually). So, no, there is no straight-forward way to implement the MACish maximize function with fvwm or any X window manager for that matter.

    Maybe you can write a funtion to read out the WM_SIZE_HINTS and set the geometry accordingly but I wouldn't know how to do this from the top of my head.

    Resources:
    ICCCM, EWMH

  3. #3
    Mentor cga's Avatar
    Join Date
    May 2001
    Posts
    1,433

    Re:Smart Maximize in Fvwm

    [quote author=demian link=board=6;threadid=7961;start=0#msg72785 date=1066568083]
    The problem with such a behaviour is that the wm would need info on the optimal geometry of an application window. The ICCCM defines the WM_SIZE_HINTS for that but not all applications make use of this feature (very few actually). So, no, there is no straight-forward way to implement the MACish maximize function with fvwm or any X window manager for that matter.

    Maybe you can write a funtion to read out the WM_SIZE_HINTS and set the geometry accordingly but I wouldn't know how to do this from the top of my head.

    Resources:
    ICCCM, EWMH
    [/quote]

    That's kind of what I suspected. It would be beyond me to even attempt to implement such a thing, and I rather doubt that it would work anyway. Unix + X is quite a different beast than the Mac.

    No biggie, really.

Similar Threads

  1. Person Name Smart Tags not working right
    By bradc314 in forum Windows - General Topics
    Replies: 0
    Last Post: 06-15-2005, 01:49 PM
  2. Damn smart people, great ideas
    By Fatal Error in forum General Chat
    Replies: 12
    Last Post: 03-07-2005, 09:04 PM
  3. How To Ask Questions The Smart Way
    By trickster in forum Linux - General Topics
    Replies: 4
    Last Post: 09-23-2003, 05:52 AM
  4. To Fvwm or not to Fvwm, that is the question...
    By Feztaa in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 04-18-2002, 02:56 PM
  5. fvwm ?
    By cga in forum Linux - Software, Applications & Programming
    Replies: 15
    Last Post: 03-22-2002, 03:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •