E: Randr: No need to get output connection status twice in a row (was
authorChristopher Michael <cpmichael1@comcast.net>
Tue, 4 Oct 2011 17:49:33 +0000 (17:49 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 4 Oct 2011 17:49:33 +0000 (17:49 +0000)
already done previously with the call to output_info_set.

SVN revision: 63810

src/bin/e_randr.c

index 2ba0ce0..bb64ecf 100644 (file)
@@ -625,7 +625,6 @@ _e_randr_screen_outputs_init(void)
      {
         outputs_info[noutputs].xid = outputs[noutputs];
         _e_randr_output_info_set(&outputs_info[noutputs]);
-        outputs_info[noutputs].connection_status = ecore_x_randr_output_connection_status_get(e_randr_screen_info->root, outputs_info[noutputs].xid);
         if (outputs_info[noutputs].connection_status == ECORE_X_RANDR_CONNECTION_STATUS_CONNECTED)
           _e_randr_output_info_hw_info_set(&outputs_info[noutputs]);