Skip to content
  • Owen Taylor's avatar
    Don't resize windows when request is rejected by WM. Only use the resize · bc98ea9c
    Owen Taylor authored
    Sat Mar 14 00:03:34 1998  Owen Taylor  <owt1@cornell.edu>
    
    	* gtk/gtkwindow.c:
              Don't resize windows when request is rejected by WM.
    	  Only use the resize count to guess whether a Configure
    	  event was a rejection by the WM, or a move.
    
    	* gdk/gdk.c gdk/gdktypes.h:
    	  - Don't XDestroyWindow foreign windows (If they're a child of
    	  one of our windows, reparent them to root and send them a WM
    	  delete event, otherwise, just delete the GTK structure.)
    	  Handle notification of their deletion properly.
              (Made foreign windows a seperate window type to do this)
    
    	* gtk/gtkobject.c (gtk_object_set_data_full):
    	  Call the DestroyNotify when replacing the object data.
    bc98ea9c