add stick/unstick client smart callbacks

This commit is contained in:
Mike Blumenkrantz 2014-03-20 11:29:28 -04:00
parent 04a5a11a8f
commit b5a04496b7
1 changed files with 2 additions and 0 deletions

View File

@ -3760,6 +3760,7 @@ e_client_stick(E_Client *ec)
ec->hidden = 0;
e_hints_window_sticky_set(ec, 1);
e_client_desk_set(ec, desk);
evas_object_smart_callback_call(ec->frame, "stick", NULL);
if (e_config->transient.desktop)
{
@ -3792,6 +3793,7 @@ e_client_unstick(E_Client *ec)
ec->hidden = ec->sticky = 0;
e_hints_window_sticky_set(ec, 0);
e_client_desk_set(ec, desk);
evas_object_smart_callback_call(ec->frame, "unstick", NULL);
if (e_config->transient.desktop)
{