On 14 Oct 2003 19:02:17 +0200, Johan Svedberg wrote:
>
> * Oct 14 18:34 Mikhael Goikhman <migo_at_homemail.com>:
>
> [...]
>
> > You may only make a window sticky on one or all pages across all
> > desks, not on some pages.
>
> I always thought being able to do that would be cool, is there some
> technical reason behind that such feature doesn't exists?
The Style and FvwmWindow internal structures have fixed size.
They are already pretty large currently.
With such feature the size would grow infinitely, because there are
theoretically endless (page_nx, page_ny) pairs to be configured per
window. FYI, Sticky, StickyAcrossPages and StickyAcrossDesks are just
3 bits per window (not even bytes).
Most of the window information is transfered to modules like FvwmPager,
(currently about 100 bytes per window on ADD_WINDOW/CONFIGURE_WINDOW)
making the situation even worse when adding such features.
Of course everything is solvable, for example it is possible to limit the
number of sticky pages to 10 per window, but it probably does not worth
it. This would add about 80 bytes of overhead per window even if you
don't use this feature.
Actually there are more problems with this feature, like very unusual
syntax/parsing, not well defined behaviour when DesktopSize is changed.
Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Oct 14 2003 - 16:30:59 BST