enable Move to menu if current screen only has 1 desk but other screen exists

This commit is contained in:
Mike Blumenkrantz 2014-07-30 18:26:52 -04:00
parent 231a81e812
commit cd610ef9ee
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ e_int_client_menu_create(E_Client *ec)
mi = e_menu_item_new(m);
e_menu_item_separator_set(mi, 1);
if ((!ec->sticky) && ((ec->zone->desk_x_count > 1) || (ec->zone->desk_y_count > 1)))
if ((!ec->sticky) && ((eina_list_count(ec->comp->zones) > 1) || (ec->zone->desk_x_count > 1) || (ec->zone->desk_y_count > 1)))
{
mi = e_menu_item_new(m);
e_menu_item_label_set(mi, _("Move to"));