Make sure xrandr is present before using it to change the display resolution during a fullcreen operation.

SVN revision: 33262
This commit is contained in:
Eric Schuele 2007-12-27 06:38:28 +00:00
parent 768cb78f75
commit beac12a11a
1 changed files with 1 additions and 1 deletions

View File

@ -2092,7 +2092,7 @@ e_border_fullscreen(E_Border *bd, E_Fullscreen policy)
if (!e_config->allow_above_fullscreen)
e_border_layer_set(bd, 200);
if ((evas_list_count(bd->zone->container->zones) > 1) || (policy == E_FULLSCREEN_RESIZE))
if ((evas_list_count(bd->zone->container->zones) > 1) || (policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_present()))
{
e_border_move_resize(bd, bd->zone->x, bd->zone->y, bd->zone->w, bd->zone->h);
}