use client stick apis in qa
authorMike Blumenkrantz <zmike@samsung.com>
Sun, 27 Jul 2014 20:27:25 +0000 (16:27 -0400)
committerMike Blumenkrantz <zmike@samsung.com>
Sun, 27 Jul 2014 20:34:37 +0000 (16:34 -0400)
setting properties manually breaks everything else which expects events

src/modules/quickaccess/e_mod_quickaccess.c

index 8c1cbbb..0ab2db9 100644 (file)
@@ -167,8 +167,8 @@ _e_qa_entry_border_props_restore(E_Quick_Access_Entry *entry __UNUSED__, E_Clien
    SET(lock_user_sticky);
    SET(lock_client_sticky);
    SET(user_skip_winlist);
-   SET(sticky);
 #undef SET
+   e_client_unstick(ec);
 
    ec->netwm.state.skip_taskbar = 0;
    ec->netwm.state.skip_pager = 0;
@@ -238,7 +238,7 @@ _e_qa_entry_border_props_apply(E_Quick_Access_Entry *entry)
           SET(netwm.state.skip_taskbar);
         if (qa_config->skip_pager)
           SET(netwm.state.skip_pager);
-        SET(sticky);
+        e_client_stick(entry->client);
      }
    //ec->e.state.centered = 1;
    SET(lock_user_iconify);