Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_manager.c 


Log Message:


and restore res on login - if requested.
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_manager.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -3 -r1.50 -r1.51
--- e_manager.c 3 Mar 2006 06:00:17 -0000       1.50
+++ e_manager.c 3 Mar 2006 09:10:14 -0000       1.51
@@ -112,6 +112,23 @@
      {
        man->win = man->root;
      }
+
+   /* FIXME: this handles 1 screen only - not multihead. multihead randr
+    * and xinerama are complex oin terms of interaction, so for now only
+    * really have this work in single head. the randr module kept this
+    * as a list, and i might move it to be the same too, but for now, keep
+    * it as is
+    */
+   if (e_config->display_res_restore)
+     {
+        Ecore_X_Screen_Size size;
+       Ecore_X_Screen_Refresh_Rate rate;
+       
+       size.width = e_config->display_res_width;
+       size.height = e_config->display_res_height;
+       rate.rate = e_config->display_res_hz;
+       ecore_x_randr_screen_refresh_rate_set(man->root, size, rate);
+     }
    
    h = ecore_event_handler_add(ECORE_X_EVENT_WINDOW_SHOW_REQUEST, 
_e_manager_cb_window_show_request, man);
    if (h) man->handlers = evas_list_append(man->handlers, h);




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to