forked from enlightenment/enlightenment
set border props in border props setting function, only set sticky if entry is not in jump mode
ticket #cedric SVN revision: 75756
This commit is contained in:
parent
540e94652e
commit
1e724ce41f
|
@ -210,6 +210,8 @@ _e_qa_entry_border_props_apply(E_Quick_Access_Entry *entry)
|
||||||
|
|
||||||
if (entry->config.autohide && (!entry->border->focused))
|
if (entry->config.autohide && (!entry->border->focused))
|
||||||
_e_qa_border_deactivate(entry);
|
_e_qa_border_deactivate(entry);
|
||||||
|
#define SET(X) \
|
||||||
|
entry->border->X = 1
|
||||||
if (entry->config.jump)
|
if (entry->config.jump)
|
||||||
{
|
{
|
||||||
entry->border->client.netwm.state.skip_taskbar = 0;
|
entry->border->client.netwm.state.skip_taskbar = 0;
|
||||||
|
@ -218,11 +220,19 @@ _e_qa_entry_border_props_apply(E_Quick_Access_Entry *entry)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (qa_config->skip_taskbar)
|
if (qa_config->skip_taskbar)
|
||||||
entry->border->client.netwm.state.skip_taskbar = 1;
|
SET(client.netwm.state.skip_taskbar);
|
||||||
if (qa_config->skip_pager)
|
if (qa_config->skip_pager)
|
||||||
entry->border->client.netwm.state.skip_pager = 1;
|
SET(client.netwm.state.skip_pager);
|
||||||
|
SET(sticky);
|
||||||
}
|
}
|
||||||
entry->border->changed = 1;
|
//bd->client.e.state.centered = 1;
|
||||||
|
SET(lock_user_iconify);
|
||||||
|
SET(lock_client_iconify);
|
||||||
|
SET(lock_user_sticky);
|
||||||
|
SET(lock_client_sticky);
|
||||||
|
SET(user_skip_winlist);
|
||||||
|
SET(changed);
|
||||||
|
#undef SET
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -230,23 +240,7 @@ _e_qa_entry_border_associate(E_Quick_Access_Entry *entry, E_Border *bd)
|
||||||
{
|
{
|
||||||
if (entry->exe) entry->exe = NULL; /* not waiting anymore */
|
if (entry->exe) entry->exe = NULL; /* not waiting anymore */
|
||||||
|
|
||||||
if (!entry->border)
|
entry->border = bd;
|
||||||
{
|
|
||||||
entry->border = bd;
|
|
||||||
|
|
||||||
#define SET(X) \
|
|
||||||
bd->X = 1
|
|
||||||
|
|
||||||
SET(lock_user_iconify);
|
|
||||||
SET(lock_client_iconify);
|
|
||||||
SET(lock_user_sticky);
|
|
||||||
SET(lock_client_sticky);
|
|
||||||
SET(user_skip_winlist);
|
|
||||||
SET(sticky);
|
|
||||||
#undef SET
|
|
||||||
|
|
||||||
//bd->client.e.state.centered = 1;
|
|
||||||
}
|
|
||||||
/* FIXME: doesn't work, causes window to flicker on associate
|
/* FIXME: doesn't work, causes window to flicker on associate
|
||||||
if (entry->config.hidden)
|
if (entry->config.hidden)
|
||||||
_e_qa_border_deactivate(entry);
|
_e_qa_border_deactivate(entry);
|
||||||
|
|
Loading…
Reference in New Issue