aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-01-16 22:17:00 +0100
committerSven Gothel <[email protected]>2012-01-16 22:17:00 +0100
commit7c83b3d24dc376c9b3566f3d774c7ac4c7f1cb5a (patch)
tree56a2a50b9ee3440ec89576467fa98c7ac41da918 /src/jogl/native
parent73d6ec97e65743b49770cf13709082c80b77b935 (diff)
NEWTWindow Focus: Skip requestFocus() if already owning focus; setFullscreen() requests focus 'later'.
We shall rely on the focus state, hence we can skip 'requestFocus()' if we already own the focus. This allows a fast-path especially when called from native code (mouse click). Request focus 'later' on setFullscreen() allowing native WM to complete event handling, this is required especially on X11 to guarantee a focused fullscreen window.
Diffstat (limited to 'src/jogl/native')
0 files changed, 0 insertions, 0 deletions