Re: icewm: patch about aspect ratio

Chi-Deok Hwang wrote:
> Hi!,
> if we use gtk_window_set_geometry_hints to set "aspect ratio" bound in gtk
> programs, it didn't work in icewm.
> Problem seems to be overflow in's code.
> Following patch works for me.

Hmm. I don't like to use floats here. They could lead to some rounding
IMO gtk+ is stupid here. There is absolutely no sense in using numbers
than 32767 (max window width/height). Perhaps some normalization could
be done.
Why is gtk using such large numbers?

> If you want my test program, I will send it. It was made with pygtk.

Please, thanks.

... GUI: WPS.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]