window with GDK_HINT_RESIZE_INC will stupid resize.

Bug #1220993 reported by snyh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
New
Undecided
Unassigned

Bug Description

#include <gtk/gtk.h>
int main()
{
    gtk_init(NULL, NULL);
    GdkGeometry geometry = {
        0, 0,
        G_MAXINT, G_MAXINT,
        0, 0,
        2, 0,-
        21.0, 21.0,-
        GDK_GRAVITY_NORTH_WEST};
    GdkWindowHints hints = GDK_HINT_RESIZE_INC;
    GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
    gtk_window_set_default_size(GTK_WINDOW(window), 400, 500);
    gtk_window_set_geometry_hints(GTK_WINDOW(window), window, &geometry, hints);
    gtk_widget_show(window);
    gtk_main();
    return 0;
}

run this code, and resize the window a little.
Then the window will be auto resize to an very small size.

snyh (snyh)
information type: Private Security → Public
MC Return (mc-return)
Changed in compiz:
milestone: none → 0.9.11.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.