summaryrefslogtreecommitdiff
path: root/Source/Plugins/Plugin_VideoSoftware
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2011-01-11 05:48:22 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2011-01-11 05:48:22 +0000
commit9c09500a13e0ef2fcc2d7c9fc0468f1e2f76b73f (patch)
treea931dec39ad9d84a3d5c781f7a8c139547cb4915 /Source/Plugins/Plugin_VideoSoftware
parentbb725858eaead1ffab722e431a9a8c1be7276858 (diff)
For some reason the wxGLCanvas loses keyboard focus whenever the
full-screen mode is toggled, so we just re-set it afterwards. Didn't mean to include the version string in the status bar updates. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6814 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware')
-rw-r--r--Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp
index 6395505633..7b49480400 100644
--- a/Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp
+++ b/Source/Plugins/Plugin_VideoSoftware/Src/GLUtil.cpp
@@ -316,6 +316,7 @@ void OpenGL_Update()
if (width == s_backbuffer_width && height == s_backbuffer_height)
return;
+ GLWin.glCanvas->SetFocus();
GLWin.glCanvas->SetSize(0, 0, width, height);
GLWin.glCtxt->SetCurrent(*GLWin.glCanvas);
s_backbuffer_width = width;