comparison gtk3/dw.c @ 1477:9097a5eb144c

Accidentally committed some debug messages with that last commit.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 21 Dec 2011 13:21:39 +0000
parents d76a36c9cff1
children 1d414e81a099
comparison
equal deleted inserted replaced
1476:d76a36c9cff1 1477:9097a5eb144c
8775 count++; 8775 count++;
8776 gdk_window_get_frame_extents(window, &frame); 8776 gdk_window_get_frame_extents(window, &frame);
8777 } 8777 }
8778 width = frame.width; 8778 width = frame.width;
8779 height = frame.height; 8779 height = frame.height;
8780 dw_debug("Frame %dx%d\n", width, height);
8781 } 8780 }
8782 } 8781 }
8783 else 8782 else
8784 { 8783 {
8785 /* Check if we have cached frame size values */ 8784 /* Check if we have cached frame size values */
8803 if(!width || !height) 8802 if(!width || !height)
8804 { 8803 {
8805 /* Ask what GTK is planning on suggesting for the window size */ 8804 /* Ask what GTK is planning on suggesting for the window size */
8806 gtk_window_get_size(GTK_WINDOW(handle), !width ? &width : NULL, !height ? &height : NULL); 8805 gtk_window_get_size(GTK_WINDOW(handle), !width ? &width : NULL, !height ? &height : NULL);
8807 } 8806 }
8808 dw_debug("Estimate %dx%d + %dx%d\n", width, height, cx, cy);
8809 /* Add the frame size to it */ 8807 /* Add the frame size to it */
8810 width += cx; 8808 width += cx;
8811 height += cy; 8809 height += cy;
8812 } 8810 }
8813 /* Do any gravity calculations */ 8811 /* Do any gravity calculations */