From beac12a11a203d453693a0c1ae2149da321fae78 Mon Sep 17 00:00:00 2001 From: Eric Schuele Date: Thu, 27 Dec 2007 06:38:28 +0000 Subject: [PATCH] Make sure xrandr is present before using it to change the display resolution during a fullcreen operation. SVN revision: 33262 --- src/bin/e_border.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_border.c b/src/bin/e_border.c index f7482f484..1f93889c8 100644 --- a/src/bin/e_border.c +++ b/src/bin/e_border.c @@ -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); }