]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
10 years agoMerge pull request #53 from bphinz/buildfixes
bphinz [Mon, 3 Nov 2014 05:04:07 +0000 (00:04 -0500)]
Merge pull request #53 from bphinz/buildfixes

Major overhaul of SSLEngineManager

10 years agoMajor overhaul of SSLEngineManager 53/head
Brian P. Hinz [Mon, 3 Nov 2014 04:37:54 +0000 (23:37 -0500)]
Major overhaul of SSLEngineManager

The SSLEngineManager was basically an abomination. The work is now
done as it should be, with the buffers being fed and the engine
deciding when data is consumed or produced. The engine should be
much more robust now as well.

Additionally, although JRE 7 supports the TLSv1.1 and TLSv1.2
protocols, they are not actually enabled by default. The JSSE
reference cites compatibility reasons for this but this doesn't
appear to be the case with the TigerVNC server and they will be
enabled by default in JRE 8.

The regular expression for enabling anonymous DH cipher suites
was too narrow and excluded the elliptic curve ciphers, which
are now ordered ahead of the ephemeral ciphers by the default
security provider.

Lastly, increase the size of the buffer in FdOutStream from 8Kb
to 16Kb.  I'm not sure why FdInStream and FdOutStream were
asymmetric to begin with, but 16Kb is the default size for TLS
packets and there seems to be now negative effects on plain
text connections.

10 years agoMerge branch 'build' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 28 Oct 2014 16:05:01 +0000 (17:05 +0100)]
Merge branch 'build' of https://github.com/CendioOssman/tigervnc

10 years agoUse dynamic builds by default 52/head
Pierre Ossman [Tue, 28 Oct 2014 16:01:08 +0000 (17:01 +0100)]
Use dynamic builds by default

Static builds are the special case, so it should be left off
by default.

10 years agoRemove unused variable
Pierre Ossman [Tue, 28 Oct 2014 16:00:44 +0000 (17:00 +0100)]
Remove unused variable

10 years agoRemove verbose TLS logging
Pierre Ossman [Tue, 28 Oct 2014 15:59:58 +0000 (16:59 +0100)]
Remove verbose TLS logging

We don't even log this much for RFB protocol stuff, and it makes
it very annoying to run with full debugging on.

10 years agoInclude gettext and zlib in static GnuTLS link
Pierre Ossman [Tue, 28 Oct 2014 15:59:02 +0000 (16:59 +0100)]
Include gettext and zlib in static GnuTLS link

This is needed to make sure they are always included, and in the
proper order.

10 years agoOnly link with crypt32 on Windows
Pierre Ossman [Tue, 28 Oct 2014 15:58:14 +0000 (16:58 +0100)]
Only link with crypt32 on Windows

crypt32 is a Windows thing, and it is used no matter the crypto
backend.

10 years agoPut quotes around entire static link variables
Pierre Ossman [Tue, 28 Oct 2014 15:57:05 +0000 (16:57 +0100)]
Put quotes around entire static link variables

CMake is very aggressive about minimising the list of libraries,
so we need to be similarily aggressive about quotes to make sure
we get everything we want and in the correct order.

10 years agoMerge pull request #50 from bphinz/buildfixes
bphinz [Thu, 23 Oct 2014 03:34:23 +0000 (23:34 -0400)]
Merge pull request #50 from bphinz/buildfixes

Fixes for package builds after commit f95272d.

10 years agoAdd in missing dependency for windows builds. 50/head
Brian P. Hinz [Thu, 23 Oct 2014 02:57:06 +0000 (22:57 -0400)]
Add in missing dependency for windows builds.

Commit f95272d created some undefined references in GnuTLS.

10 years agoSet -DBUILD_STATIC=off for package builds.
Brian P. Hinz [Thu, 23 Oct 2014 02:36:25 +0000 (22:36 -0400)]
Set -DBUILD_STATIC=off for package builds.

Commit f95272d set the BUILD_STATIC flag on by default, which is unnecessary for package builds.

10 years agoMerge branch 'build' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Tue, 21 Oct 2014 14:29:05 +0000 (16:29 +0200)]
Merge branch 'build' of https://github.com/CendioOssman/tigervnc

10 years agoMerge branch 'remote-shm' of https://github.com/twaugh/tigervnc
Pierre Ossman [Fri, 17 Oct 2014 14:27:22 +0000 (16:27 +0200)]
Merge branch 'remote-shm' of https://github.com/twaugh/tigervnc

10 years agoExtend "static" build option 49/head
Pierre Ossman [Fri, 17 Oct 2014 11:59:35 +0000 (13:59 +0200)]
Extend "static" build option

Try to link as much as possible statically in an effort to produce
binaries that can be run everywhere.

10 years agoAdd Carbon and Cocoa dependencies to vncviewer
Pierre Ossman [Fri, 17 Oct 2014 11:55:05 +0000 (13:55 +0200)]
Add Carbon and Cocoa dependencies to vncviewer

We use both frameworks directly from vncviewer so we should
make sure they get pulled in.

10 years agoMove ws2_32 dependency to the correct place
Pierre Ossman [Fri, 17 Oct 2014 11:54:32 +0000 (13:54 +0200)]
Move ws2_32 dependency to the correct place

It is rdr and network that needs it, not vncviewer.

10 years agoLink basic X11 libraries last
Pierre Ossman [Fri, 17 Oct 2014 11:50:12 +0000 (13:50 +0200)]
Link basic X11 libraries last

The extension libraries might depend on libXext or libX11, so
make sure they come last on the link line.

10 years agoCheck the return value from XShmAttach. 48/head
Tim Waugh [Fri, 17 Oct 2014 09:28:55 +0000 (10:28 +0100)]
Check the return value from XShmAttach.

10 years agoRemove libjpeg-turbo build instructions
Pierre Ossman [Fri, 17 Oct 2014 08:40:07 +0000 (10:40 +0200)]
Remove libjpeg-turbo build instructions

There is nothing special about this library that warrants special
treatment.

10 years agoClean up GnuTLS linking and instructions
Pierre Ossman [Fri, 17 Oct 2014 08:36:58 +0000 (10:36 +0200)]
Clean up GnuTLS linking and instructions

GnuTLS can have different crypto backends, and it is rarely gcrypt
these days. So we should not be including that unconditionally,
and should not be pointing people at it either. Also remove the
section about Win32 binaries as those are out of date and probably
insecure. Lastly remove the section about static builds as it is
a general issue and in no way complete with just the GnuTLS portions.

10 years agoDon't use MIT-SHM on remote displays.
Tim Waugh [Thu, 16 Oct 2014 13:53:17 +0000 (14:53 +0100)]
Don't use MIT-SHM on remote displays.

When run from within 'ssh -X' or 'ssh -Y', MIT-SHM will appear to be
available even though it won't work: the shared memory will be on the
machine running vncviewer, not on the machine running the X server it
displays to. Depending on what shm segments are available on the
machine running the X server, the failure may not be apparent when
checking that MIT-SHM works.

Avoid this by not using MIT-SHM when XDisplayName() indicates we may
not be running locally.

Original bug report:
  https://bugzilla.redhat.com/show_bug.cgi?id=1072733

10 years agoMerge branch 'assert' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 10 Oct 2014 11:42:30 +0000 (13:42 +0200)]
Merge branch 'assert' of https://github.com/CendioOssman/tigervnc

10 years agoUse exceptions rather than asserts for for "normal" errors 47/head
Pierre Ossman [Fri, 10 Oct 2014 11:37:35 +0000 (13:37 +0200)]
Use exceptions rather than asserts for for "normal" errors

Although these are rare, they are still not indicative of bugs so
an exception (which ends up in the log and might also be shown to
the user) is more appropriate than an assert. Asserts should only
be used to catch blatant API misuse and similar.

10 years agoUse the same style for exception messages
Pierre Ossman [Fri, 10 Oct 2014 11:33:19 +0000 (13:33 +0200)]
Use the same style for exception messages

10 years agoMake sure we check failed memory allocations
Pierre Ossman [Fri, 10 Oct 2014 11:32:31 +0000 (13:32 +0200)]
Make sure we check failed memory allocations

10 years agoRemove unused assert.h include
Pierre Ossman [Fri, 10 Oct 2014 11:29:53 +0000 (13:29 +0200)]
Remove unused assert.h include

10 years agoMerge branch 'jpeg16' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 9 Oct 2014 15:00:05 +0000 (17:00 +0200)]
Merge branch 'jpeg16' of https://github.com/CendioOssman/tigervnc

10 years agoWrong padding size calculated (copy-paste error) 46/head
Pierre Ossman [Thu, 9 Oct 2014 14:57:21 +0000 (16:57 +0200)]
Wrong padding size calculated (copy-paste error)

10 years agoMake sure stride handling is also tested
Pierre Ossman [Thu, 9 Oct 2014 14:56:43 +0000 (16:56 +0200)]
Make sure stride handling is also tested

10 years agoUse constants for the test buffer dimensions
Pierre Ossman [Thu, 9 Oct 2014 14:47:45 +0000 (16:47 +0200)]
Use constants for the test buffer dimensions

10 years agoMerge pull request #42 from bphinz/buildfixes
bphinz [Wed, 1 Oct 2014 03:41:11 +0000 (23:41 -0400)]
Merge pull request #42 from bphinz/buildfixes

Fix pointer initialization to prevent NULL events.

10 years agoHandle PrintScreen and SysReq on Windows 43/head
Pierre Ossman [Tue, 30 Sep 2014 15:03:28 +0000 (17:03 +0200)]
Handle PrintScreen and SysReq on Windows

This key requires a bit extra care on Windows. We get wildly
different messages depending on if Alt is pressed or not. The symbol
chosen now follows the standard behaviour on X11.

10 years agoFix pointer initialization to prevent NULL events. 41/head 42/head
Brian P. Hinz [Sat, 27 Sep 2014 02:02:47 +0000 (22:02 -0400)]
Fix pointer initialization to prevent NULL events.

Moved call to initEventq() into InitInputDevice() to prevent NULL events from being passed in.  The surrounding IFDEF explains why Red Hat BZ bug #820443 just went away, EL6 bumped the version of xorg-x11-server-source to 1.13 at EL6.4.

10 years agoMerge branch 'convtest' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 25 Sep 2014 13:09:38 +0000 (15:09 +0200)]
Merge branch 'convtest' of https://github.com/CendioOssman/tigervnc

10 years agoFix endian conversion 40/head
Pierre Ossman [Thu, 25 Sep 2014 13:02:11 +0000 (15:02 +0200)]
Fix endian conversion

This was just plain wrong, so redo it properly.

10 years agoAdd pixel conversion correctness test
Pierre Ossman [Thu, 25 Sep 2014 07:58:55 +0000 (09:58 +0200)]
Add pixel conversion correctness test

10 years agoPixelTransformer is gone so we can protect these now
Pierre Ossman [Thu, 25 Sep 2014 08:49:16 +0000 (10:49 +0200)]
PixelTransformer is gone so we can protect these now

10 years agoAdd missing copyright header.
Pierre Ossman [Wed, 24 Sep 2014 14:19:52 +0000 (16:19 +0200)]
Add missing copyright header.

10 years agoRename the pixel conversion performance test
Pierre Ossman [Wed, 24 Sep 2014 14:17:42 +0000 (16:17 +0200)]
Rename the pixel conversion performance test

We want to have other tests related to pixel conversion, so avoid
possible naming conflicts.

10 years agoMerge branch 'translations' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Mon, 22 Sep 2014 11:24:13 +0000 (13:24 +0200)]
Merge branch 'translations' of https://github.com/CendioOssman/tigervnc

10 years agoRefresh translation files 36/head
Pierre Ossman [Mon, 22 Sep 2014 11:17:41 +0000 (13:17 +0200)]
Refresh translation files

10 years agoFix the build timestamp to be more translation friendly
Pierre Ossman [Mon, 22 Sep 2014 11:13:15 +0000 (13:13 +0200)]
Fix the build timestamp to be more translation friendly

10 years agoMove copyright year out of string to avoid re-translation
Pierre Ossman [Mon, 22 Sep 2014 10:59:38 +0000 (12:59 +0200)]
Move copyright year out of string to avoid re-translation

10 years agoDon't use tabs for indentation
Pierre Ossman [Mon, 22 Sep 2014 10:58:48 +0000 (12:58 +0200)]
Don't use tabs for indentation

10 years agoMake sure user visible strings are translated
Pierre Ossman [Mon, 22 Sep 2014 10:54:26 +0000 (12:54 +0200)]
Make sure user visible strings are translated

10 years agoMake some log messages more sane for translators
Pierre Ossman [Mon, 22 Sep 2014 10:19:52 +0000 (12:19 +0200)]
Make some log messages more sane for translators

10 years agoGenerate the about text in a single place
Pierre Ossman [Mon, 22 Sep 2014 10:19:26 +0000 (12:19 +0200)]
Generate the about text in a single place

10 years agoSplit up the info string
Pierre Ossman [Mon, 22 Sep 2014 09:17:34 +0000 (11:17 +0200)]
Split up the info string

Avoids having to translate the entire thing if just part of
it changes.

10 years agoApparently, at least my CMake requires that quotes are at the
Peter Åstrand (astrand) [Mon, 22 Sep 2014 08:57:23 +0000 (10:57 +0200)]
Apparently, at least my CMake requires that quotes are at the
beginning of the line.

10 years agoAdd file location to the translation files
Pierre Ossman [Mon, 22 Sep 2014 08:54:15 +0000 (10:54 +0200)]
Add file location to the translation files

Makes it easier for the translators to check context and report
problems.

10 years agoMerge pull request #35 from bphinz/buildfixes
bphinz [Fri, 19 Sep 2014 11:15:10 +0000 (07:15 -0400)]
Merge pull request #35 from bphinz/buildfixes

Applying xserver115.patch fails on Ubuntu xorg-server source at hunk 2. ...

10 years agoApplying xserver115.patch fails on Ubuntu xorg-server source at hunk 2. Wayland... 35/head
Brian P. Hinz [Fri, 19 Sep 2014 04:41:24 +0000 (00:41 -0400)]
Applying xserver115.patch fails on Ubuntu xorg-server source at hunk 2.  Wayland was not merged into the Xorg tree until 1.16

10 years agoMerge pull request #34 from bphinz/buildfixes
bphinz [Fri, 19 Sep 2014 04:11:08 +0000 (00:11 -0400)]
Merge pull request #34 from bphinz/buildfixes

Remove distro specific patches obsoleted by changes in 38023dc304

10 years agoRemove distro specific patches obsoleted by changes in 38023dc304 34/head
Brian P. Hinz [Fri, 19 Sep 2014 03:45:56 +0000 (23:45 -0400)]
Remove distro specific patches obsoleted by changes in 38023dc304

10 years agoUpdate translations with those already done by Cendio
Pierre Ossman [Thu, 18 Sep 2014 14:04:00 +0000 (16:04 +0200)]
Update translations with those already done by Cendio

These are not complete as they are from Cendio's modified version
of TigerVNC, but it still covers most of the translation.

10 years agoRegenerate translation files
Pierre Ossman [Thu, 18 Sep 2014 13:18:15 +0000 (15:18 +0200)]
Regenerate translation files

10 years agoNew address for mailing list
Pierre Ossman [Thu, 18 Sep 2014 13:16:37 +0000 (15:16 +0200)]
New address for mailing list

10 years agoAllow generating translations even with a separate build directory
Pierre Ossman [Thu, 18 Sep 2014 13:16:02 +0000 (15:16 +0200)]
Allow generating translations even with a separate build directory

10 years agoCMake needs to have the quotes at the end to work properly
Pierre Ossman [Thu, 18 Sep 2014 13:15:38 +0000 (15:15 +0200)]
CMake needs to have the quotes at the end to work properly

10 years agoMerge branch 'doc' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Thu, 18 Sep 2014 12:42:30 +0000 (14:42 +0200)]
Merge branch 'doc' of https://github.com/CendioOssman/tigervnc

10 years agoMove preferred encoding tracking into a server object 33/head
Pierre Ossman [Wed, 17 Sep 2014 15:11:56 +0000 (17:11 +0200)]
Move preferred encoding tracking into a server object

Having it in ConnParams made the linker pull all the encoder objects
into vncviewer, making it larger than necessary and giving it extra
parameters in its help output that weren't relevant.

10 years agoDocument the client side X509 parameters
Pierre Ossman [Wed, 17 Sep 2014 14:55:25 +0000 (16:55 +0200)]
Document the client side X509 parameters

10 years agoCorrect naming convention for some parameters
Pierre Ossman [Wed, 17 Sep 2014 14:45:35 +0000 (16:45 +0200)]
Correct naming convention for some parameters

10 years agoGive a correct list of valid security schemes
Pierre Ossman [Wed, 17 Sep 2014 14:39:28 +0000 (16:39 +0200)]
Give a correct list of valid security schemes

10 years agoRemove unused VideoArea parameter
Pierre Ossman [Wed, 17 Sep 2014 14:36:25 +0000 (16:36 +0200)]
Remove unused VideoArea parameter

10 years agoAvoid extra spacing in the generated man pages
Pierre Ossman [Wed, 17 Sep 2014 14:28:56 +0000 (16:28 +0200)]
Avoid extra spacing in the generated man pages

10 years agoDocument default configuration file location
Pierre Ossman [Wed, 17 Sep 2014 14:20:43 +0000 (16:20 +0200)]
Document default configuration file location

10 years agoUpdate the vncviewer man page with current list of options
Pierre Ossman [Wed, 17 Sep 2014 14:16:10 +0000 (16:16 +0200)]
Update the vncviewer man page with current list of options

10 years agoUpdate server man pages to reflect current list of options
Pierre Ossman [Wed, 17 Sep 2014 13:43:14 +0000 (15:43 +0200)]
Update server man pages to reflect current list of options

10 years agoDocument the -list argument to vncserver
Pierre Ossman [Wed, 17 Sep 2014 12:18:31 +0000 (14:18 +0200)]
Document the -list argument to vncserver

10 years agoRemove the date from man pages
Pierre Ossman [Wed, 17 Sep 2014 12:09:58 +0000 (14:09 +0200)]
Remove the date from man pages

It's not something we're keeping up to date anyway.

10 years agoClean up the authors section of the man pages
Pierre Ossman [Wed, 17 Sep 2014 12:08:16 +0000 (14:08 +0200)]
Clean up the authors section of the man pages

10 years agoDocument test cases for testing the keyboard handling
Pierre Ossman [Wed, 17 Sep 2014 11:55:51 +0000 (13:55 +0200)]
Document test cases for testing the keyboard handling

10 years agoNone of these files are relevant today
Pierre Ossman [Wed, 17 Sep 2014 11:55:18 +0000 (13:55 +0200)]
None of these files are relevant today

10 years agoMoved release documentation to the wiki
Pierre Ossman [Wed, 17 Sep 2014 11:54:28 +0000 (13:54 +0200)]
Moved release documentation to the wiki

10 years agoMerge pull request #32 from bphinz/buildfixes
bphinz [Wed, 17 Sep 2014 03:34:39 +0000 (23:34 -0400)]
Merge pull request #32 from bphinz/buildfixes

Apply latest fltk patches to rpm-based packages

10 years agoApply latest fltk patches to rpm-based packages 32/head
Brian P. Hinz [Wed, 17 Sep 2014 02:03:58 +0000 (22:03 -0400)]
Apply latest fltk patches to rpm-based packages

10 years agoFix broken FLTK patch 31/head
Pierre Ossman [Tue, 16 Sep 2014 12:52:26 +0000 (14:52 +0200)]
Fix broken FLTK patch

Remove some lines that weren't consistent with the earlier
suggested patches.

10 years agoMerge branch 'xhandlers' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Mon, 15 Sep 2014 11:43:16 +0000 (13:43 +0200)]
Merge branch 'xhandlers' of https://github.com/CendioOssman/tigervnc

10 years agoUpdate FLTK patches based on feeback from upstream 30/head
Pierre Ossman [Thu, 11 Sep 2014 08:48:29 +0000 (10:48 +0200)]
Update FLTK patches based on feeback from upstream

10 years agoProtect the optional IM disabling calls with #ifdef:s
Pierre Ossman [Thu, 11 Sep 2014 08:46:12 +0000 (10:46 +0200)]
Protect the optional IM disabling calls with #ifdef:s

10 years agoAdded missing part of write block handler. 29/head
Tim Waugh [Tue, 9 Sep 2014 13:40:17 +0000 (14:40 +0100)]
Added missing part of write block handler.

https://bugzilla.redhat.com/show_bug.cgi?id=1137023

10 years agoMerge pull request #28 from bphinz/buildfixes
bphinz [Sun, 7 Sep 2014 14:14:33 +0000 (10:14 -0400)]
Merge pull request #28 from bphinz/buildfixes

Removed patch that was merged into trunk in 6bc1de83a7

10 years agoRemoved patch that was merged into trunk in 6bc1de83a7 28/head
Brian P. Hinz [Sun, 7 Sep 2014 14:05:09 +0000 (10:05 -0400)]
Removed patch that was merged into trunk in 6bc1de83a7

10 years agoMerge branch 'xorgserver116' of https://github.com/twaugh/tigervnc
Pierre Ossman [Fri, 5 Sep 2014 08:22:38 +0000 (10:22 +0200)]
Merge branch 'xorgserver116' of https://github.com/twaugh/tigervnc

10 years agoFix linking when dri3 and present are enabled. 26/head
Tim Waugh [Thu, 4 Sep 2014 15:25:12 +0000 (16:25 +0100)]
Fix linking when dri3 and present are enabled.

10 years agoNo need to declare 'display' here either.
Tim Waugh [Thu, 4 Sep 2014 13:35:05 +0000 (14:35 +0100)]
No need to declare 'display' here either.

10 years agoGCFuncs and GCOps are const since 1.16.
Tim Waugh [Thu, 4 Sep 2014 11:36:09 +0000 (12:36 +0100)]
GCFuncs and GCOps are const since 1.16.

10 years agoNo need to declare 'display' here.
Tim Waugh [Thu, 4 Sep 2014 10:41:01 +0000 (11:41 +0100)]
No need to declare 'display' here.

10 years agoAnother LoadExtensionList() that needs an #ifdef.
Tim Waugh [Thu, 4 Sep 2014 09:52:06 +0000 (10:52 +0100)]
Another LoadExtensionList() that needs an #ifdef.

10 years agoLoadExtensionList is new in 1.16.
Tim Waugh [Wed, 3 Sep 2014 14:48:14 +0000 (15:48 +0100)]
LoadExtensionList is new in 1.16.

10 years agoUpdated to build against xorg-x11-server 1.16.0.
Tim Waugh [Wed, 3 Sep 2014 11:38:15 +0000 (12:38 +0100)]
Updated to build against xorg-x11-server 1.16.0.

10 years agoUse different keysyms for left and right alt on OS X
Pierre Ossman [Thu, 21 Aug 2014 11:44:28 +0000 (13:44 +0200)]
Use different keysyms for left and right alt on OS X

The server will get them confused otherwise if they are pressed
at the same time.

10 years agoDisable input methods when the viewport is focused
Pierre Ossman [Tue, 19 Aug 2014 12:08:04 +0000 (14:08 +0200)]
Disable input methods when the viewport is focused

Input methods are way too complex for us to map them to the VNC
protocol in any sane manner. Best just to disable them and rely
on simple keyboard behaviour when the viewport is active.

10 years agoIgnore FLTK events when we have low level hooks
Pierre Ossman [Tue, 19 Aug 2014 12:06:53 +0000 (14:06 +0200)]
Ignore FLTK events when we have low level hooks

Some events can sneak through, e.g. from some virtual keyboards.
We need to ignore these to avoid confusion.

10 years agoAdd OS X keyboard handler
Pierre Ossman [Mon, 21 Jul 2014 14:48:43 +0000 (16:48 +0200)]
Add OS X keyboard handler

10 years agoAdd Windows keyboard handler
Pierre Ossman [Mon, 21 Jul 2014 14:46:22 +0000 (16:46 +0200)]
Add Windows keyboard handler

10 years agoAdd X11 keyboard handler
Pierre Ossman [Mon, 21 Jul 2014 14:42:12 +0000 (16:42 +0200)]
Add X11 keyboard handler

10 years agoAdd xhandler hook
Pierre Ossman [Fri, 22 Aug 2014 13:10:22 +0000 (15:10 +0200)]
Add xhandler hook

Boiler plate code to intercept system events from FLTK so that
we can generate proper keyboard messages.