Some netwm states can change the border, like modal.

SVN revision: 23367
This commit is contained in:
sebastid 2006-06-10 21:10:14 +00:00 committed by sebastid
parent 07a06fa4ab
commit c0239767ba
1 changed files with 8 additions and 0 deletions

View File

@ -4915,6 +4915,14 @@ _e_border_eval(E_Border *bd)
if (bd->client.netwm.update.state)
{
e_hints_window_state_set(bd);
/* Some stats might change the border, like modal */
if ((!bd->lock_border) || (!bd->client.border.name))
{
if (bd->client.border.name)
evas_stringshare_del(bd->client.border.name);
bd->client.border.name = NULL;
bd->client.border.changed = 1;
}
bd->client.netwm.update.state = 0;
}