diff options
author | Pierre Ossman <ossman@cendio.se> | 2012-08-27 14:40:51 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2012-08-27 14:40:51 +0000 |
commit | 3d75911a551fab492ceb71506f85ffbae993b3b7 (patch) | |
tree | 12b9cbee3dc034f38f59749adf4e4afc20bc0a9a /vncviewer/DesktopWindow.cxx | |
parent | 17e28044f1f8e8e1deb5e54f3622f69ac7b9c87e (diff) | |
download | tigervnc-3d75911a551fab492ceb71506f85ffbae993b3b7.tar.gz tigervnc-3d75911a551fab492ceb71506f85ffbae993b3b7.zip |
The OS X keyboard grabbing code needs to be multi-head aware to function
properly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4977 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/DesktopWindow.cxx')
-rw-r--r-- | vncviewer/DesktopWindow.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx index 6fc2b923..ca33ebeb 100644 --- a/vncviewer/DesktopWindow.cxx +++ b/vncviewer/DesktopWindow.cxx @@ -439,7 +439,13 @@ void DesktopWindow::grabKeyboard() #elif defined(__APPLE__) int ret; - ret = cocoa_capture_display(this); + ret = cocoa_capture_display(this, +#ifdef HAVE_FLTK_FULLSCREEN_SCREENS + fullScreenAllMonitors +#else + false +#endif + ); if (ret != 0) vlog.error(_("Failure grabbing keyboard")); #else |