FVWM: frame_x and frame_y in FvwmPerl

From: Ben Winslow <rain_at_bluecherry.net>
Date: Tue, 20 Jan 2004 09:56:57 -0500

I was wondering why frame_x and frame_y are handled in FvwmPerl as
unsigned numbers. Since the positions are given relative to the current
viewport, -1024 (e.g.) is a perfectly normal X coordinate; therefore, it
doesn't make much sense to use an unsigned number (as it'll usually need
to be converted back to a signed number to be useful.) The C modules
treat frame_x/frame_y as ints, which are implicitly signed, so the
behavior doesn't match in that case either.

Additionally, I wanted to point out that the example in the
documentation for FVWM::Module::Gtk2 doesn't work (Gtk2 needs to be
initialized before FVWM::Module::Gtk2 if Debug is set--otherwise, the
module will explode when it tries to create the debug window.)

Thanks,
-- 
Ben Winslow <rain_at_bluecherry.net>



--
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 Jan 20 2004 - 08:59:11 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST