Comment 0 for bug 693151

Revision history for this message
Matt Janus (hello-mattjan) wrote :

replace (line #475?):
gdk_drawable_get_size(root, &width, &height);

with the following:
GdkRectangle my_rect;
display = gdk_display_get_default();
screen = gdk_display_get_default_screen(display);
gdk_screen_get_monitor_geometry(screen,0,&my_rect);
width = my_rect.width;
height = my_rect.height;