elm - when focus goes back in to a window dont have scrollers jump
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 10 Sep 2015 11:04:23 +0000 (20:04 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 10 Sep 2015 11:04:23 +0000 (20:04 +0900)
commit933dfca5bcda4943ecdd81ab09dc34989234f7f3
tree12eea5c61c11847910d3b84f27817cd4d009c643
parentaa5b83d76aa371e6de4e0a1c45cc31e72646ecdf
elm - when focus goes back in to a window dont have scrollers jump

there is an annoyance in elm that when focus goes back toa window it
restores focus to the last focused widget. if that widget happens to
be invisible in a scroller then this is really annoying as the
scrollers reset. this makes restoring optional. only if there is a
hilight object AND it's visible - then restore, otherwise don't and
revert focus to the window itself again.

@fix
src/lib/elm_win.c