Update flip code. The desk_show code now makes sure a moving border stays

visible. So we only have to move the border to the right position.

Maybe change the event to a "pointer warp" event?


SVN revision: 15521
This commit is contained in:
sebastid 2005-06-24 09:26:44 +00:00 committed by sebastid
parent 237be5985d
commit f5ce83df38
1 changed files with 2 additions and 4 deletions

View File

@ -1855,7 +1855,7 @@ _e_border_free(E_Border *bd)
_e_border_resize_end(bd);
if (move == bd)
_e_border_move_end(bd);
/* FIXME: Other states to end before dying? */
/* TODO: Other states to end before dying? */
if (bd->dangling_ref_check)
{
@ -2741,10 +2741,8 @@ _e_border_cb_zone_desk_flip(void *data, int ev_type, void *ev)
E_Event_Zone_Desk_Flip *e;
e = ev;
if ((!move) || (move->desk != e->prev)) return 1;
if (!move) return 1;
e_border_desk_set(move, e->current);
e_border_show(move);
switch (e->direction)
{
case E_DIRECTION_UP: