gnome-control-center r8729 - branches/randr-12/capplets/display



Author: federico
Date: Thu May 29 18:05:46 2008
New Revision: 8729
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=8729&view=rev

Log:
Print the requested and supported sizes

Signed-off-by: Federico Mena Quintero <federico novell com>


Modified:
   branches/randr-12/capplets/display/xrandr-capplet.c

Modified: branches/randr-12/capplets/display/xrandr-capplet.c
==============================================================================
--- branches/randr-12/capplets/display/xrandr-capplet.c	(original)
+++ branches/randr-12/capplets/display/xrandr-capplet.c	Thu May 29 18:05:46 2008
@@ -1503,6 +1503,12 @@
 
     rw_screen_get_ranges (app->screen, &min_width, &max_width, &min_height, &max_height);
 
+    g_print ("X Server supports:\n");
+    g_print ("min_width = %d, max_width = %d\n", min_width, max_width);
+    g_print ("min_height = %d, max_height = %d\n", min_height, max_height);
+
+    g_print ("Requesting size of %dx%d\n", req_width, req_height);
+
     if (!(min_width <= req_width && req_width <= max_width
 	  && min_height <= req_height && req_height <= max_height))
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]