only set shot window layer if taking window shot

fix T2282
This commit is contained in:
Mike Blumenkrantz 2015-04-13 15:47:23 -04:00
parent 668de186ac
commit ab9d2723a5
1 changed files with 2 additions and 1 deletions

View File

@ -867,7 +867,8 @@ _shot_now(E_Zone *zone, E_Client *ec, const char *params)
e_win_client_icon_set(win, "screenshot");
if (!e_widget_focus_get(o_bg)) e_widget_focus_set(o_box, 1);
evas_object_layer_set(e_win_client_get(win)->frame, ec->layer);
if (ec)
evas_object_layer_set(e_win_client_get(win)->frame, ec->layer);
}
}