forked from enlightenment/enlightenment
parent
af7ea8b3a4
commit
ac43219f17
2
TODO
2
TODO
|
@ -8,8 +8,6 @@ Some of the things (in very short form) that need to be done to E17...
|
||||||
BUGS / FIXES
|
BUGS / FIXES
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
* BUG: if aqn app resizes while shaded the window goes to the size but app
|
|
||||||
is not visible. need to defer most of the resize until unshade... :)
|
|
||||||
* e_hints.c manually changes flags on a border isnetad of calling
|
* e_hints.c manually changes flags on a border isnetad of calling
|
||||||
e_border_stick() for exampe or the calls in e_border.c - add calls as needed
|
e_border_stick() for exampe or the calls in e_border.c - add calls as needed
|
||||||
to e_border.c. before calling check the lock flags too.
|
to e_border.c. before calling check the lock flags too.
|
||||||
|
|
|
@ -2250,7 +2250,28 @@ _e_border_cb_window_configure_request(void *data, int ev_type, void *ev)
|
||||||
else if (!bd->lock_client_location)
|
else if (!bd->lock_client_location)
|
||||||
e_border_move(bd, x, y);
|
e_border_move(bd, x, y);
|
||||||
else if (!bd->lock_client_size)
|
else if (!bd->lock_client_size)
|
||||||
e_border_resize(bd, w, h);
|
{
|
||||||
|
if ((bd->shaded) || (bd->shading))
|
||||||
|
{
|
||||||
|
int pw, ph;
|
||||||
|
|
||||||
|
pw = bd->client.w;
|
||||||
|
ph = bd->client.h;
|
||||||
|
if ((bd->shade.dir == E_DIRECTION_UP) ||
|
||||||
|
(bd->shade.dir == E_DIRECTION_DOWN))
|
||||||
|
{
|
||||||
|
e_border_resize(bd, w, bd->h);
|
||||||
|
bd->client.h = ph;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
e_border_resize(bd, bd->w, h);
|
||||||
|
bd->client.w = pw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
e_border_resize(bd, w, h);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -2277,7 +2298,28 @@ _e_border_cb_window_configure_request(void *data, int ev_type, void *ev)
|
||||||
e->w, e->h);
|
e->w, e->h);
|
||||||
#endif
|
#endif
|
||||||
if (!bd->lock_client_size)
|
if (!bd->lock_client_size)
|
||||||
e_border_resize(bd, w, h);
|
{
|
||||||
|
if ((bd->shaded) || (bd->shading))
|
||||||
|
{
|
||||||
|
int pw, ph;
|
||||||
|
|
||||||
|
pw = bd->client.w;
|
||||||
|
ph = bd->client.h;
|
||||||
|
if ((bd->shade.dir == E_DIRECTION_UP) ||
|
||||||
|
(bd->shade.dir == E_DIRECTION_DOWN))
|
||||||
|
{
|
||||||
|
e_border_resize(bd, w, bd->h);
|
||||||
|
bd->client.h = ph;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
e_border_resize(bd, bd->w, h);
|
||||||
|
bd->client.w = pw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
e_border_resize(bd, w, h);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!bd->lock_client_stacking)
|
if (!bd->lock_client_stacking)
|
||||||
{
|
{
|
||||||
|
@ -2366,7 +2408,26 @@ _e_border_cb_window_resize_request(void *data, int ev_type, void *ev)
|
||||||
h = e->h + bd->client_inset.t + bd->client_inset.b;
|
h = e->h + bd->client_inset.t + bd->client_inset.b;
|
||||||
// printf("##- ASK FOR 0x%x TO RESIZE TO %i,%i\n",
|
// printf("##- ASK FOR 0x%x TO RESIZE TO %i,%i\n",
|
||||||
// bd->client.win, e->w, e->h);
|
// bd->client.win, e->w, e->h);
|
||||||
e_border_resize(bd, w, h);
|
if ((bd->shaded) || (bd->shading))
|
||||||
|
{
|
||||||
|
int pw, ph;
|
||||||
|
|
||||||
|
pw = bd->client.w;
|
||||||
|
ph = bd->client.h;
|
||||||
|
if ((bd->shade.dir == E_DIRECTION_UP) ||
|
||||||
|
(bd->shade.dir == E_DIRECTION_DOWN))
|
||||||
|
{
|
||||||
|
e_border_resize(bd, w, bd->h);
|
||||||
|
bd->client.h = ph;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
e_border_resize(bd, bd->w, h);
|
||||||
|
bd->client.w = pw;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
e_border_resize(bd, w, h);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue