forked from enlightenment/enlightenment
Fix border_desk_set *again* ;) - this may also fix sticky bugs reported
SVN revision: 13309
This commit is contained in:
parent
e19add22c8
commit
69db6a52c9
|
@ -806,7 +806,7 @@ _pager_window_find(Pager_Face *face, E_Border *border)
|
||||||
win = wins->data;
|
win = wins->data;
|
||||||
/* We have to check the desk, wouldn't want
|
/* We have to check the desk, wouldn't want
|
||||||
* a sticky copy */
|
* a sticky copy */
|
||||||
if ((win->border->desk == desk->desk)
|
if ((!win->border->sticky || (win->border->desk == desk->desk))
|
||||||
&& (win->border == border))
|
&& (win->border == border))
|
||||||
return win;
|
return win;
|
||||||
wins = wins->next;
|
wins = wins->next;
|
||||||
|
@ -1113,7 +1113,9 @@ _pager_face_cb_event_border_desk_set(void *data, int type, void *event)
|
||||||
desk = _pager_desk_find(face, ev->border->desk);
|
desk = _pager_desk_find(face, ev->border->desk);
|
||||||
if (win && desk)
|
if (win && desk)
|
||||||
{
|
{
|
||||||
|
evas_list_remove(win->desk->wins, win);
|
||||||
win->desk = desk;
|
win->desk = desk;
|
||||||
|
evas_list_append(desk->wins, win);
|
||||||
_pager_window_move(face, win);
|
_pager_window_move(face, win);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue