Yeah, the default behavior should definitely be not to resize the window.
There's a different way of approaching this that I've had on my list
of long term goals for a while. Basically, you want some windows to
have their size and/or location stored as a fraction of the head size
instead of in pixels (location should also be stored relative to a
certain corner of the screen). Other windows could keep the pixel
specification. Then, when something happens to the head size, such as
a resolution change, a rotation, changing struts, or moving the window
to another head, the window would be updated to reflect that change.
In the meantime, I'm happy to include this once the proposed changes
have been made.
Mark
On Wed, Feb 3, 2010 at 11:07 PM, Mathias Gumz <akira@...> wrote:
> hello,
>
>> This patch makes a resize of the window. When moving one window to the next head
>> the relative window size to the old head is adapted to the size of the new head.
>
> understandable feature, though some folks like the current way of
> putting a window onto the other head. i propose you tweak the "SetHead
> <number>" and "SendTo[Next|Prev]Head <offset>" commands a bit to
> accept another optional parameter called 'relative' or 'scaled' or
> 'keep_aspect' or whatever you can come up with.
>
> just a minor hint: try to throw out the tabs in your code, it collides
> with the way we use tabs in fluxbox.
>
> cheers,
> mathias
> --
> [uid] mathias gumz [mail] akira at fluxbox dot org [pgp] 1024D/F6F6B18C
> [www] http://www.darkshed.net/ [irc] ak|ra (#fluxbox at freenode.org)
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> Fluxbox-devel mailing list
> Fluxbox-devel@...
> https://lists.sourceforge.net/lists/listinfo/fluxbox-devel
>
|