forked from enlightenment/enlightenment
parent
73672354b3
commit
636d2ecf29
|
@ -2092,7 +2092,7 @@ e_border_fullscreen(E_Border *bd, E_Fullscreen policy)
|
||||||
if (!e_config->allow_above_fullscreen)
|
if (!e_config->allow_above_fullscreen)
|
||||||
e_border_layer_set(bd, 200);
|
e_border_layer_set(bd, 200);
|
||||||
|
|
||||||
if ((evas_list_count(bd->zone->container->zones) > 1) || (policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_present()))
|
if ((evas_list_count(bd->zone->container->zones) > 1) || (policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_query()))
|
||||||
{
|
{
|
||||||
e_border_move_resize(bd, bd->zone->x, bd->zone->y, bd->zone->w, bd->zone->h);
|
e_border_move_resize(bd, bd->zone->x, bd->zone->y, bd->zone->w, bd->zone->h);
|
||||||
}
|
}
|
||||||
|
|
|
@ -231,7 +231,7 @@ e_int_config_display(E_Container *con, const char *params __UNUSED__)
|
||||||
E_Config_Dialog *cfd;
|
E_Config_Dialog *cfd;
|
||||||
E_Config_Dialog_View *v;
|
E_Config_Dialog_View *v;
|
||||||
|
|
||||||
if (!ecore_x_randr_present())
|
if (!ecore_x_randr_query())
|
||||||
{
|
{
|
||||||
ecore_timer_add(0.5, _deferred_noxrandr_error, NULL);
|
ecore_timer_add(0.5, _deferred_noxrandr_error, NULL);
|
||||||
fprintf(stderr, "XRandR not present on this display. \n");
|
fprintf(stderr, "XRandR not present on this display. \n");
|
||||||
|
|
Loading…
Reference in New Issue