After reading your first reason, I was wondering: is it possible to change the type of a window during its life? If so, a solution could be to have a "change position" menu item for a desklet, then make it temporarily "normal" when the user selects this item, and change back to "dock" when the user clicks somewhere else. For instance.
In Case a X window can't change its type, a similar behavior could be reproduce by destroying the window after saving its position, then recreating it at the same position but a different type.
Just an idea. If you have a better one, don't hesitate to implement it so. ;-)
Thanks.
After reading your first reason, I was wondering: is it possible to change the type of a window during its life? If so, a solution could be to have a "change position" menu item for a desklet, then make it temporarily "normal" when the user selects this item, and change back to "dock" when the user clicks somewhere else. For instance.
In Case a X window can't change its type, a similar behavior could be reproduce by destroying the window after saving its position, then recreating it at the same position but a different type.
Just an idea. If you have a better one, don't hesitate to implement it so. ;-)
Thanks!