SVN revision: 16117
This commit is contained in:
Carsten Haitzler 2005-08-13 03:22:24 +00:00
parent 27c37075ad
commit 103858369e
2 changed files with 20 additions and 2 deletions

2
TODO
View File

@ -8,8 +8,6 @@ Some of the things (in very short form) that need to be done to E17...
BUGS / FIXES
-------------------------------------------------------------------------------
* BUG: resize xmms playlist seems to clip/cut off window every 2nd resize step
to previous rect shape. must be some shape propagation issue.
* e_hints.c manually changes flags on a border instead of calling
e_border_stick() for example or the calls in e_border.c - add calls as needed
to e_border.c. before calling check the lock flags too.

View File

@ -679,6 +679,11 @@ e_border_resize(E_Border *bd, int w, int h)
bd->client.h = bd->h - (bd->client_inset.t + bd->client_inset.b);
bd->changed = 1;
bd->changes.size = 1;
if ((bd->shaped) || (bd->client.shaped))
{
bd->need_shape_merge = 1;
bd->need_shape_export = 1;
}
if (bd->client.netwm.sync.request)
{
bd->client.netwm.sync.wait++;
@ -733,6 +738,11 @@ e_border_move_resize(E_Border *bd, int x, int y, int w, int h)
bd->changed = 1;
bd->changes.pos = 1;
bd->changes.size = 1;
if ((bd->shaped) || (bd->client.shaped))
{
bd->need_shape_merge = 1;
bd->need_shape_export = 1;
}
if (bd->client.netwm.sync.request)
{
bd->client.netwm.sync.wait++;
@ -1022,6 +1032,11 @@ e_border_shade(E_Border *bd, E_Direction dir)
bd->shaded = 1;
bd->changes.shaded = 1;
bd->changed = 1;
if ((bd->shaped) || (bd->client.shaped))
{
bd->need_shape_merge = 1;
bd->need_shape_export = 1;
}
edje_object_signal_emit(bd->bg_object, "shaded", "");
ev = calloc(1, sizeof(E_Event_Border_Resize));
ev->border = bd;
@ -1111,6 +1126,11 @@ e_border_unshade(E_Border *bd, E_Direction dir)
bd->shaded = 0;
bd->changes.shaded = 1;
bd->changed = 1;
if ((bd->shaped) || (bd->client.shaped))
{
bd->need_shape_merge = 1;
bd->need_shape_export = 1;
}
edje_object_signal_emit(bd->bg_object, "unshaded", "");
ev = calloc(1, sizeof(E_Event_Border_Resize));
ev->border = bd;