gtk_window_set_geometry_hints triggers a resize loop under certain conditions
"If they troll you, troll them back."
Anyway, this is sort of a clone of bugzilla bug 747584.
gtkTest.c Attached is a trimmed down copy of the testcase from that bug.
Trimming down is mostly due to the problem being identified wrong in that bug.
See the commented line:
- for window size 160x32, aspect of 3.0 makes the window shrink into 1x1
- for the same size, aspect of 3.01 makes the window size itself correctly
Chances are it's window manager dependent, so openbox 3.6.1.
gtk+-3.22.19
Edited by Emmanuele Bassi