>>>>> "Dan" == Dan Niles <dan_at_more.net> writes:
>>>>> "Albrecht" == Albrecht Kadlec <albrecht_at_auto.tuwien.ac.at> writes:
Albrecht> PS: chuck: I know it's rahter late for a change, but could
Albrecht> the interfaces of Desk and GotoPage be unified ?
It is getting late, but a cleanup like this might not be a bad idea.
Albrecht> what we need is a simple way to specify absolute/ relative
Albrecht> adressing for BOTH. (Page too)
Albrecht> I have to look the man page up EVERY time I use the Desk
Albrecht> command, which I'd count as an indicator, that it's not very
Albrecht> intuitive (to say the least IMHO).
Yeah, that's definitely not a good sign.
Albrecht> I'd suggest
Albrecht> sth like
Albrecht> GotoDesk z
Albrecht> GotoDesk +z
Albrecht> GotoDesk -z
Albrecht> and
Albrecht> GotoPage x y
Albrecht> GotoPage +x +y
Albrecht> or have a single command
Albrecht> DeskPage +/-z +/-x +/-y
Albrecht> I think the code would be even shorter and much more
Albrecht> general.
Probably not a bad idea, but I don't think that the proposed syntax
would work for specifying relative moves, since desk numbers can have
neg numbers. In other words, would GotoDesk -2 mean two desks
previous or the actual desk -2?
Perhaps something like the following would work better:
Goto [Page x y | RelativePage dx dy] [Desk z | RelativeDesk dz]
Verbose, but no suprises.
Dan> One more vote for a unified Goto function with simplifed syntax.
Dan> Also, there is currently (at least not documented) way to have a window
Dan> start on a different page. So a unified StartsOn would be great. At the
Dan> very least, a StartsOnPage would be very nice.
I do have this in the TO-DO list already, but you can add multiples of
the display width and/or height to your geometry specs to make
programs start on another page, in the meantime.
Dan> PS: Chuck: I will gladly develope the Goto function if you, or
Dan> someone else, have not already begun work on it.
If you want to take an initial stab at it, go ahead.
Just bear in mind, as with any submitted patch I might use your code
verbaitim, or change it a little, or rewrite it entirely, or not use
it at all, but I always like to see how others would implement various
things.
Chuck
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Apr 30 1996 - 09:27:56 BST