#72 fixes for multi monitor setups on win32

open
nobody
None
5
2011-12-01
2011-12-01
Tauu
No

On windows system xinput does not provide useful data if more than one monitor is connected to the pc. The pointer location reported by xinput is always far away from the actual pen position and the core pointer position. There is already a workaround implemented in xournal for these type of problems but it only works for some multi monitor setups. Depending on the driver of the tablet or pen display, the pointer location sent by the xinput device is relative to the whole screen or relative to a single monitor. Without this patch only the first situation can be handled.

The following changes are made by the attched patches:

- the target range of the data send by the xinput device can now be set
to the whole screen
by defining XINPUT_TARGET_SCREEN
or to monitor on which the program is displayed
by defining XINPUT_TARGET_MONITOR
in xournal.h
- reconfiguration of screen / monitor is now properly handled (except rotating a monitor)
- fullscreen works again on windows if more than one monitor is used
- added "windows-install" to makefile

see INSTALL.win32 for details

A git repository of xournal that contains all these patches can be found here:
https://github.com/tauu/xournal

Discussion

  • Denis Auroux

    Denis Auroux - 2011-12-01

    Thanks very much for the patches! The windows version has been neglected...

    (My thought for win32 was that most users would download a readily-packaged binary, but given how the release files have not been updated in a long time and the CVS version fixes some important bugs, I see that build instructions will also be useful).

    I'm really busy at the moment, but will try to review these patches in the coming weeks and include them in the CVS repository.

    Denis

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks