Highlight selected focus list item when clicked (noted by Warren Crossing).
SVN revision: 28165
This commit is contained in:
parent
cc10ff9a74
commit
f8d4c732ad
10
src/warp.c
10
src/warp.c
|
@ -354,14 +354,20 @@ WarpFocusClick(int ix)
|
|||
|
||||
if (!warplist)
|
||||
return;
|
||||
if (ix < 0 || ix >= warplist_num)
|
||||
return;
|
||||
if (ix == warpFocusIndex)
|
||||
return;
|
||||
|
||||
warpFocusIndex = ix;
|
||||
WarpFocusShow();
|
||||
|
||||
ewin = warplist[ix].ewin;
|
||||
if (!EwinFindByPtr(ewin))
|
||||
return;
|
||||
|
||||
EwinRaise(ewin);
|
||||
if (ewin->state.iconified)
|
||||
EwinDeIconify(ewin);
|
||||
|
||||
FocusToEWin(ewin, FOCUS_SET);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue