dannyedel / dspdfviewer

Dual-Screen PDF Viewer for latex-beamer
http://dspdfviewer.danny-edel.de
GNU General Public License v2.0
218 stars 27 forks source link

v1.15 on Mac OS X does not swap displays with 'S' #178

Open simplygood opened 8 years ago

simplygood commented 8 years ago

I use a hombrew prebuild binary (bottle). If I click 'S', the screens do not swap, but they comes out of full screen mode. If I click again, they go back to full screen mode without swapping.

dannyedel commented 8 years ago

I will do what I can as soon as I have access to a macintosh, or of course if someone sends a patch (I do not own a Mac)

@wwwdata: since it worked for you, can you help figuring out what's different about your Mac vs. @simplygood's?

Some ideas:

  1. If compilation works, you might have luck trying if the WIN32 style setScreen method works for you, see https://github.com/dannyedel/dspdfviewer/blob/ce57eca6d05b1f86d65bc36b8c4af1080ce1701e/pdfviewerwindow.cpp#L111-L117 about how it is currently done on windows (simply remove the && defined (WIN32) part and it should work this way on your mac aswell)
  2. Since the Qt4 style worked, try recompiling in Qt4 mode and see if that makes a difference.