mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Set focusHasDived before invalidating so newly focussed object drawn correctly.
This commit is contained in:
parent
1afe502436
commit
c02c3fec17
1 changed files with 1 additions and 1 deletions
|
@ -2806,8 +2806,8 @@ board_focusChanged( BoardCtxt* board, BoardObjectType typ, XP_Bool gained )
|
|||
board->focussed = typ;
|
||||
XP_LOGF( "%s: set focussed to %s", __FUNCTION__,
|
||||
BoardObjectType_2str(typ) );
|
||||
draw = invalFocusOwner( board ) || draw;
|
||||
board->focusHasDived = XP_FALSE;
|
||||
draw = invalFocusOwner( board ) || draw;
|
||||
} else {
|
||||
/* we're losing it; inval and clear IFF we currently have same focus,
|
||||
otherwise ignore */
|
||||
|
|
Loading…
Reference in a new issue