gnome_parse_geometry bug



Shouldn't gnome_parse_geometry use XParseGeometry() instead of a handcrafted
routine? If a negative width or height is specified, the screen width CANNOT
be used to calculate the real coordinate, because then WM-added window
border aren't accounted for. Instead, the gravity size hint (set with
XSetWMNormalHints) should be used to set which corner the x,y coordinates
are relative to.

I've been trying to do this in GTK but with no luck. XSetWMNormalHints seems
to have no effect. (I have mailed the GTK list about this.)

Oskar Liljeblad (osk@hem.passagen.se)




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