]> source.dussan.org Git - tigervnc.git/log
tigervnc.git
7 years agoJava client support for cursors with full alpha
Brian P. Hinz [Mon, 27 Feb 2017 01:55:40 +0000 (20:55 -0500)]
Java client support for cursors with full alpha

7 years agoMerge branch 'fps' of https://github.com/CendioOssman/tigervnc
Pierre Ossman [Fri, 24 Feb 2017 12:25:00 +0000 (13:25 +0100)]
Merge branch 'fps' of https://github.com/CendioOssman/tigervnc

7 years agoRemove unused variable deferredUpdateTimerSet 421/head
Pierre Ossman [Fri, 7 Oct 2016 14:14:41 +0000 (16:14 +0200)]
Remove unused variable deferredUpdateTimerSet

7 years agoSend updates with a fixed interval
Pierre Ossman [Fri, 7 Oct 2016 13:59:38 +0000 (15:59 +0200)]
Send updates with a fixed interval

This redesigns the old "deferred updates" mechanism in to a frame
clock that governs how often updates are sent out. The goal is still
the same, to aggregate updates and avoid pointless updates, all in
the name of efficiency. This model should however be more robust
against delays that sometimes causes us to miss the desired rate.

7 years agoAvoid flicker with a rendered cursor
Pierre Ossman [Mon, 5 Dec 2016 16:00:35 +0000 (17:00 +0100)]
Avoid flicker with a rendered cursor

This is not the code path commonly used in performance sensitive
scenarios, so favour correctness over performance.

7 years agoOnly update rendered cursor when requested
Pierre Ossman [Mon, 5 Dec 2016 15:58:19 +0000 (16:58 +0100)]
Only update rendered cursor when requested

7 years agoClean up VNCSConnectionST::needRenderedCursor()
Pierre Ossman [Mon, 5 Dec 2016 15:57:30 +0000 (16:57 +0100)]
Clean up VNCSConnectionST::needRenderedCursor()

Make it a bit more readable.

7 years agoSplit up VNCSConnectionST::writeFramebufferUpdate()
Pierre Ossman [Fri, 25 Nov 2016 09:06:34 +0000 (10:06 +0100)]
Split up VNCSConnectionST::writeFramebufferUpdate()

Make the control flow a bit clearer.

7 years agoBetter handling of slow timers
Pierre Ossman [Fri, 7 Oct 2016 14:02:18 +0000 (16:02 +0200)]
Better handling of slow timers

Make sure the code deals more gracefully with timers that take a
long time to execute, and therefore might miss their deadlines.

7 years agoDisplay performance statistics in viewer
Pierre Ossman [Fri, 24 Feb 2017 11:33:09 +0000 (12:33 +0100)]
Display performance statistics in viewer

Adds an optional graph to the viewer to display current frame rate,
pixel rate and network bandwidth. Makes it easier to debug and test
performance related issues.

7 years agoGet correct text width for overlay
Pierre Ossman [Fri, 24 Feb 2017 08:23:47 +0000 (09:23 +0100)]
Get correct text width for overlay

Incoming width specifies wrapping width, and we do not want any wrapping.

7 years agoDon't try to render cursors with no size
Pierre Ossman [Thu, 23 Feb 2017 12:12:54 +0000 (13:12 +0100)]
Don't try to render cursors with no size

Even if there are no pixels it will still trigger sanity checks
when we start throwing bogus coordinates around.

7 years agoRemove reallocation log message from ManagedPixelBuffer 418/head
Pierre Ossman [Tue, 21 Feb 2017 14:53:34 +0000 (15:53 +0100)]
Remove reallocation log message from ManagedPixelBuffer

It adds a lot of noise to the debug output with little gain.

7 years agoServer support for cursor with alpha
Pierre Ossman [Tue, 21 Feb 2017 11:59:04 +0000 (12:59 +0100)]
Server support for cursor with alpha

7 years agoClient support for cursors with full alpha
Pierre Ossman [Sun, 19 Feb 2017 14:50:29 +0000 (15:50 +0100)]
Client support for cursors with full alpha

7 years agoProperly handle depth > 24 in ZRLE decoder
Pierre Ossman [Sun, 19 Feb 2017 14:53:07 +0000 (15:53 +0100)]
Properly handle depth > 24 in ZRLE decoder

7 years agoClient support for X Cursor
Pierre Ossman [Sun, 19 Feb 2017 14:51:19 +0000 (15:51 +0100)]
Client support for X Cursor

7 years agoDither cursors when reducing depth
Pierre Ossman [Tue, 21 Feb 2017 11:58:01 +0000 (12:58 +0100)]
Dither cursors when reducing depth

7 years agoChange cursor API to use RGBA data
Pierre Ossman [Sun, 19 Feb 2017 14:48:17 +0000 (15:48 +0100)]
Change cursor API to use RGBA data

This will allow us to use better formats that preserve the entire
alpha channel.

7 years agoFix for exception handling in decoder threads
Pierre Ossman [Sun, 19 Feb 2017 14:51:45 +0000 (15:51 +0100)]
Fix for exception handling in decoder threads

7 years agoDowned hosts should timeout reasonably quickly
Brian P. Hinz [Mon, 20 Feb 2017 04:59:03 +0000 (23:59 -0500)]
Downed hosts should timeout reasonably quickly

7 years agoJava client was not honoring "ServerName" option in config files
Brian P. Hinz [Mon, 20 Feb 2017 04:57:25 +0000 (23:57 -0500)]
Java client was not honoring "ServerName" option in config files

Mentioned in issue #38

7 years agoFix int <--> ptr conversion
Alexander Zakharov [Tue, 14 Feb 2017 13:33:10 +0000 (16:33 +0300)]
Fix int <--> ptr conversion

7 years agoAdd missing headers 413/head
Alexander Zakharov [Tue, 14 Feb 2017 09:12:43 +0000 (12:12 +0300)]
Add missing headers

7 years agoFix wrapping/unwrapping of X11 hooks
Pierre Ossman [Mon, 13 Feb 2017 12:47:37 +0000 (13:47 +0100)]
Fix wrapping/unwrapping of X11 hooks

The functions might change so we need to also make sure we grab
the updated value after each call. Clean up the code to use the
same style as the rest of the Xorg code.

7 years agoAdd missing package dependency
Brian P. Hinz [Fri, 10 Feb 2017 23:50:21 +0000 (18:50 -0500)]
Add missing package dependency

Fixes issue #408

7 years agoFix regression that omitted support for client redirect.
Brian P. Hinz [Fri, 10 Feb 2017 04:41:56 +0000 (23:41 -0500)]
Fix regression that omitted support for client redirect.

Also, delay showing DesktopWindow until first valid rect has been
recieved.  This allows for a ClientRedirect to take place before
any data rects have been received.

7 years agoFade overlay in and out
Pierre Ossman [Fri, 10 Feb 2017 15:37:52 +0000 (16:37 +0100)]
Fade overlay in and out

7 years agoAdd overlay tip to help find the context menu
Pierre Ossman [Wed, 4 Jan 2017 14:34:26 +0000 (15:34 +0100)]
Add overlay tip to help find the context menu

7 years agoAdd alpha blending support to surfaces
Pierre Ossman [Mon, 2 Jan 2017 19:07:10 +0000 (20:07 +0100)]
Add alpha blending support to surfaces

7 years agoRender on a temporary surface when needed
Pierre Ossman [Mon, 2 Jan 2017 18:49:52 +0000 (19:49 +0100)]
Render on a temporary surface when needed

Some platforms draw directly to the screen, which means that updates
will flicker if we draw multiple layers. Prevent this by first
composing the update on a hidden surface.

7 years agoAbstract platform rendering to "surfaces"
Pierre Ossman [Mon, 2 Jan 2017 16:00:41 +0000 (17:00 +0100)]
Abstract platform rendering to "surfaces"

This will allow us to render more things than just the framebuffer.

7 years agoHandle scrolling manually
Pierre Ossman [Tue, 3 Jan 2017 15:12:30 +0000 (16:12 +0100)]
Handle scrolling manually

Stop fighting with the FLTK scroll widget and handle layout ourselves.
This opens up the possibility of doing more complex drawing as well.

7 years agoImprove framebuffer performance test measurement
Pierre Ossman [Thu, 12 Jan 2017 07:28:45 +0000 (08:28 +0100)]
Improve framebuffer performance test measurement

Some platforms impose a significant delay per frame, so we need
to separate that from the time spent shuffling pixels.

7 years agoRemove support for old macOS
Pierre Ossman [Thu, 9 Feb 2017 13:46:50 +0000 (14:46 +0100)]
Remove support for old macOS

Raising the requirement to 10.5 allows us to clean up the code a bit.

7 years agospelling fixes 409/head
klemens [Sat, 28 Jan 2017 19:56:56 +0000 (20:56 +0100)]
spelling fixes

7 years agoCrop cursor before calling maskRect()
Pierre Ossman [Fri, 20 Jan 2017 14:58:44 +0000 (15:58 +0100)]
Crop cursor before calling maskRect()

We can no longer assume maskRect() will tolerate uncropped data.

7 years agoRestore cropping API to maskRect()
Pierre Ossman [Fri, 20 Jan 2017 14:57:21 +0000 (15:57 +0100)]
Restore cropping API to maskRect()

We need to restore the previous, more complex API in order to
easily handle masks now that we no longer accept out-of-bounds
operations.

7 years agoMerge branch 'master' of https://github.com/ken3/tigervnc
Pierre Ossman [Thu, 19 Jan 2017 16:04:20 +0000 (17:04 +0100)]
Merge branch 'master' of https://github.com/ken3/tigervnc

7 years agoFix for shared memory leakage. 402/head
TSUKAHARA Ken [Thu, 19 Jan 2017 15:21:39 +0000 (00:21 +0900)]
Fix for shared memory leakage.

7 years agoRemove needless static qualifier
Pierre Ossman [Thu, 19 Jan 2017 14:24:18 +0000 (15:24 +0100)]
Remove needless static qualifier

7 years agoHarmonise new client handlers
Pierre Ossman [Thu, 19 Jan 2017 14:23:05 +0000 (15:23 +0100)]
Harmonise new client handlers

One was missing a call to register the fd with the X server, and
one forgot to set it to non-blocking. One result of this was a crash
when hitting the blacklist.

7 years agoPrevent invalid PixelBuffer accesses
Pierre Ossman [Wed, 18 Jan 2017 12:34:13 +0000 (13:34 +0100)]
Prevent invalid PixelBuffer accesses

There has been multiple attempts at tricking decoders to exceed
the boundaries of the active pixel buffer. Add extra checks to
prevent such invalid access.

7 years agoCheck invalid RRE rects
Pierre Ossman [Wed, 18 Jan 2017 12:33:48 +0000 (13:33 +0100)]
Check invalid RRE rects

7 years agoFix buffer overflow in ModifiablePixelBuffer::fillRect. 399/head
Michal Srb [Fri, 13 Jan 2017 14:32:23 +0000 (16:32 +0200)]
Fix buffer overflow in ModifiablePixelBuffer::fillRect.

It can be triggered by RRE message with subrectangle out of framebuffer
boundaries. It may prevent the same kind of issue caused by evil message
from another encoding too.

7 years agoDo explict sync after XShmPutImage()
Pierre Ossman [Wed, 11 Jan 2017 17:32:16 +0000 (18:32 +0100)]
Do explict sync after XShmPutImage()

The complex logic waiting for events didn't result in any added
performance, so use the simpler approach.

7 years agoFix -inetd not working with xserver >= 1.19
Hans de Goede [Mon, 9 Jan 2017 15:03:30 +0000 (16:03 +0100)]
Fix -inetd not working with xserver >= 1.19

xserver 1.19's OsInit will create a pollfd, followed by checking if fd 2 /
stderr is writable and if it is not, replacing fd 2 with /dev/null.

Since we close stderr in inetd mode to avoid xserver messages being send
to the client as vnc data, the pollfd becomes fd 2, only to be replaced
by /dev/null since a pollfd is not writable.

This commit fixes this by opening /dev/null directly after the close(2),
avoiding that the pollfd becomes fd 2.

Alan Coopersmith: Change to use dup2() for atomic switch of fd

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
7 years agoAdd Fltk and Gettext include dirs when compiling tests
Brian P. Hinz [Sun, 8 Jan 2017 16:44:50 +0000 (11:44 -0500)]
Add Fltk and Gettext include dirs when compiling tests

7 years agoImprove graphics performance on macOS 395/head
Pierre Ossman [Thu, 29 Dec 2016 14:57:21 +0000 (15:57 +0100)]
Improve graphics performance on macOS

Use the APIs the way Apple wants us to, in order to avoid slow
fallback code paths in Quartz.

7 years agoAdd test to measure framebuffer performance
Pierre Ossman [Tue, 20 Dec 2016 11:32:37 +0000 (12:32 +0100)]
Add test to measure framebuffer performance

7 years agoRemove unused declarations from Viewport.h
Pierre Ossman [Tue, 3 Jan 2017 18:07:34 +0000 (19:07 +0100)]
Remove unused declarations from Viewport.h

7 years agoAvoid translating simple error exceptions
Pierre Ossman [Sat, 17 Dec 2016 13:04:39 +0000 (14:04 +0100)]
Avoid translating simple error exceptions

These are very rare and very low level. Might as well just print
the offending call to keep things easily maintained.

7 years agoMore robust event and close handling
Pierre Ossman [Thu, 29 Dec 2016 15:52:56 +0000 (16:52 +0100)]
More robust event and close handling

There were still some circumstances where we could get stuck reading
data and not respect close events properly. Move that logic to a more
central place in order to make it more reliable.

7 years agoRespect SendClipboard setting
Pierre Ossman [Mon, 2 Jan 2017 14:16:58 +0000 (15:16 +0100)]
Respect SendClipboard setting

7 years agoDisable checkboxes for primary selection when relevant
Pierre Ossman [Mon, 2 Jan 2017 11:56:04 +0000 (12:56 +0100)]
Disable checkboxes for primary selection when relevant

7 years agoUpdate French translation
Stéphane Aulery [Fri, 23 Dec 2016 19:56:00 +0000 (20:56 +0100)]
Update French translation

7 years agoUse dixChangeWindowProperty() instead of ChangeWindowProperty()
Pierre Ossman [Mon, 19 Dec 2016 09:27:06 +0000 (10:27 +0100)]
Use dixChangeWindowProperty() instead of ChangeWindowProperty()

ChangeWindowProperty() was removed upstream because it was redundant,
and dixChangeWindowProperty() has been around since 1.5 so we can
safely use that.

7 years agoUpdate .la files on each build
Pierre Ossman [Sun, 11 Dec 2016 13:04:37 +0000 (14:04 +0100)]
Update .la files on each build

This makes sure other build systems trigger properly, e.g. when
building Xvnc.

7 years agoMerge pull request #390 from bphinz/static-viewer
Brian Hinz [Sun, 11 Dec 2016 00:38:29 +0000 (19:38 -0500)]
Merge pull request #390 from bphinz/static-viewer

Java viewer refresh

7 years agoComplete rewrite of pixel buffer & decoder implementation. 390/head
Brian P. Hinz [Sun, 11 Dec 2016 00:28:42 +0000 (19:28 -0500)]
Complete rewrite of pixel buffer & decoder implementation.

Adds multi-threading, more robust support for different pixel formats,
and several new runtime options.

7 years agoWhitespace cleanup
Brian P. Hinz [Sun, 11 Dec 2016 00:19:46 +0000 (19:19 -0500)]
Whitespace cleanup

7 years agoDelete unecessary files
Brian P. Hinz [Sun, 11 Dec 2016 00:17:01 +0000 (19:17 -0500)]
Delete unecessary files

7 years agoMethod cleanup.
Brian P. Hinz [Sun, 11 Dec 2016 00:14:55 +0000 (19:14 -0500)]
Method cleanup.

Sync various methods and filenames with C++ versions

7 years agoWhitespace cleanup
Brian P. Hinz [Sun, 11 Dec 2016 00:10:37 +0000 (19:10 -0500)]
Whitespace cleanup

7 years agoUpdate version
Brian P. Hinz [Sun, 11 Dec 2016 00:07:33 +0000 (19:07 -0500)]
Update version

8 years agoMerge branch 'master' of https://github.com/atalax/tigervnc
Pierre Ossman [Thu, 10 Nov 2016 11:23:06 +0000 (12:23 +0100)]
Merge branch 'master' of https://github.com/atalax/tigervnc

8 years agoLog statistics from ComparingUpdateTracker
Pierre Ossman [Tue, 8 Nov 2016 13:57:11 +0000 (14:57 +0100)]
Log statistics from ComparingUpdateTracker

8 years agoUpdate Ubuntu package dependencies.
Brian P. Hinz [Sun, 6 Nov 2016 14:49:22 +0000 (09:49 -0500)]
Update Ubuntu package dependencies.

Fixes #360

8 years agoUpdate package build dependecies.
Brian P. Hinz [Sun, 6 Nov 2016 14:31:54 +0000 (09:31 -0500)]
Update package build dependecies.

Fixes #349

8 years agohextileDecode.h: Fix buffer overflow 378/head
Josef Gajdusek [Fri, 4 Nov 2016 11:24:08 +0000 (12:24 +0100)]
hextileDecode.h: Fix buffer overflow

The hextileDecodexx functions do not properly check for out-of-bounds writes,
which allows a malicious server to overwrite parts of the stack.

8 years agoMacOS package: Added NSHighResolutionCapable tag to Info.plist 371/head
Friedrich Beckmann [Tue, 25 Oct 2016 15:58:21 +0000 (17:58 +0200)]
MacOS package: Added NSHighResolutionCapable tag to Info.plist

With the flag the application will start enable the high resolution
display. I tested this on a Macbook Pro with a High Resolution Display.
The fonts are better to read.

8 years agoAdded a method for copying between streams
Brian P. Hinz [Thu, 20 Oct 2016 22:06:46 +0000 (18:06 -0400)]
Added a method for copying between streams

8 years agoAdded a method for reading into a ByteBuffer
Brian P. Hinz [Thu, 20 Oct 2016 22:04:37 +0000 (18:04 -0400)]
Added a method for reading into a ByteBuffer

8 years agoCosmetic change (increased border spacing)
Brian P. Hinz [Thu, 20 Oct 2016 00:10:09 +0000 (20:10 -0400)]
Cosmetic change (increased border spacing)

8 years agoUpdate Esperanto translation
Felipe Castro [Sun, 16 Oct 2016 00:00:00 +0000 (21:00 -0300)]
Update Esperanto translation

8 years agoFix busy loop in FdOutStream::flush()
Pierre Ossman [Mon, 10 Oct 2016 14:05:46 +0000 (16:05 +0200)]
Fix busy loop in FdOutStream::flush()

This bug was introduced in c6df31db. A non-blocking socket that did
not have any more space would busy loop until the write succeeded.
Instead now it returns without any action, just as it did before
the bug was introduced.

8 years agoHandle select() errors
Pierre Ossman [Wed, 5 Oct 2016 12:44:24 +0000 (14:44 +0200)]
Handle select() errors

8 years agoMerge X server block handling code paths
Pierre Ossman [Wed, 5 Oct 2016 11:46:01 +0000 (13:46 +0200)]
Merge X server block handling code paths

Use the new X server API as the reference system and emulate it on
the older API. Avoids a lot of code duplication.

8 years agoMove getSockets() to SocketServer interface
Pierre Ossman [Wed, 5 Oct 2016 11:39:11 +0000 (13:39 +0200)]
Move getSockets() to SocketServer interface

Any caller using add or remove should also be able to list the
sockets.

8 years agoAdd xorg-xserver 1.19 support
Hans de Goede [Wed, 5 Oct 2016 09:15:27 +0000 (11:15 +0200)]
Add xorg-xserver 1.19 support

8 years agoFix temporary decoder buffer sizes
Pierre Ossman [Wed, 5 Oct 2016 09:00:37 +0000 (11:00 +0200)]
Fix temporary decoder buffer sizes

Some of these were excessively large because of redundant factors
in the size calculation.

8 years agoDo not depends on mcookie command 366/head
Koichiro IWAO [Tue, 4 Oct 2016 08:17:06 +0000 (17:17 +0900)]
Do not depends on mcookie command

for operating systems other than GNU/Linux.

mcookie is a part of util-linux. Usually only GNU/Linux systems have it.
Do not die even if mcookie is not found. Use the previous pure perl code
to generate cookie as fallback.

8 years agoremove trailing space
Koichiro IWAO [Mon, 3 Oct 2016 09:07:57 +0000 (18:07 +0900)]
remove trailing space

8 years agoApply -fPIC on all compilers
Pierre Ossman [Thu, 22 Sep 2016 14:23:32 +0000 (16:23 +0200)]
Apply -fPIC on all compilers

8 years agoRemove INITARGS from recent xserver patches
Pierre Ossman [Thu, 22 Sep 2016 14:22:52 +0000 (16:22 +0200)]
Remove INITARGS from recent xserver patches

INITARGS isn't used since Xorg 1.13, so remove it from our patches.

8 years agoFix minor typo in framebuffer initialization
Brian P. Hinz [Mon, 5 Sep 2016 13:15:50 +0000 (09:15 -0400)]
Fix minor typo in framebuffer initialization

8 years agoMerge pull request #332 from xiaoshaaming/master
Brian Hinz [Sun, 4 Sep 2016 15:06:39 +0000 (11:06 -0400)]
Merge pull request #332 from xiaoshaaming/master

Added missing dependency for Complie error on RHEL7

8 years agoAdded filename filters to file chooser dialogs
Brian P. Hinz [Mon, 29 Aug 2016 01:15:17 +0000 (21:15 -0400)]
Added filename filters to file chooser dialogs

8 years agoMake all viewer parameters static. Viewer instances are isolated from each other...
Brian P. Hinz [Sat, 27 Aug 2016 21:33:04 +0000 (17:33 -0400)]
Make all viewer parameters static. Viewer instances are isolated from each other by spawning a completely new process for each viewer, rather than simply starting a new thread.  All dialogs were redesigned to better match the look of the native viewer, and also to be more tolerant of sizing differences between platforms.

8 years agoProper global init/deinit of GnuTLS
Pierre Ossman [Tue, 23 Aug 2016 15:02:58 +0000 (17:02 +0200)]
Proper global init/deinit of GnuTLS

These are reference counted so it is important to retain symmetry
between the calls. Failure to do so will result in bad memory access
and crashes.

8 years agoMerge branch 'system-wide-config' of https://github.com/jblaine/tigervnc
Pierre Ossman [Mon, 22 Aug 2016 10:34:03 +0000 (12:34 +0200)]
Merge branch 'system-wide-config' of https://github.com/jblaine/tigervnc

8 years agoSupport both defaults and mandatory system config files 341/head
Jeff Blaine [Sat, 6 Aug 2016 20:22:18 +0000 (16:22 -0400)]
Support both defaults and mandatory system config files

This commit introduces support for optional basic system-wide
configuration of vncserver.

The format and syntax of /etc/tigervnc/vncserver* match
that of $HOME/.vnc/config exactly.

Allows /etc/tigervnc/vncserver-config-defaults as well as
/etc/tigervnc/vncserver-config-mandatory. The former is optional
and sets user-overrideable vncserver settings. The latter is
optional, but if it exists takes precedence over all user
$HOME/.vnc/config settings of the same setting name. In the
case where /etc/tigervnc/vncserver-config-mandatory overrides
a setting in $HOME/.vnc/config, the user will be warned that
it has happened.

WARNING: Settings in /etc/tigervnc/vncserver-config-mandatory
are easily subverted by passing args to vncserver on the CLI.
The man page indicates this warning.

This commit also introduces (should have been separate) examination
of all config file settings (not just @ARGV!) when determining
whether or not $HOME/.vnc/passwd needs to be created. That is,
if /etc/tigervnc/vncserver* or $HOME/.vnc/config indicate that
we are NOT using VNC-native authentication, then we don't need
a $HOME/.vnc/passwd created.

Code cleanup:

$xstartup was renamed $xstartupFile for consistency with other
"file" variable names.

For VNC-auth checking, to determine if $HOME/.vnc/passwd needed
creation, the 3-string check against lc($arg2) was in 2 places
and was changed to a simple grep against the new @vncAuthStrings

8 years agoUpdate URL for java timestamp authority
Brian P. Hinz [Sun, 21 Aug 2016 16:52:44 +0000 (12:52 -0400)]
Update URL for java timestamp authority

OpenJDK 7u111 on el6 now throws an exception if the TSA URL scheme
is https.

8 years agoDon't fail old service cleanup
Pierre Ossman [Thu, 18 Aug 2016 14:48:55 +0000 (16:48 +0200)]
Don't fail old service cleanup

8 years agoProper multi-screen support in Xvnc
Pierre Ossman [Thu, 18 Aug 2016 14:19:30 +0000 (16:19 +0200)]
Proper multi-screen support in Xvnc

Xvnc didn't handle multiple screens properly as it forgot to place
them without overlap and didn't handle cursor movement between them.

8 years agoSet cursor sprite globally
Pierre Ossman [Thu, 18 Aug 2016 14:18:26 +0000 (16:18 +0200)]
Set cursor sprite globally

Pointer are global, not screen specific. Hence so is also the cursor
sprite.

8 years agoAdjust client pointer coordinates to absolute
Pierre Ossman [Thu, 18 Aug 2016 14:16:45 +0000 (16:16 +0200)]
Adjust client pointer coordinates to absolute

The client is not aware of where the screen is placed so it will give
us screen relative coordinates. Convert to and from these and absolute
coordinates before interacting with the input layer.

8 years agoConvert pointer coordinates to absolute
Pierre Ossman [Thu, 18 Aug 2016 14:14:55 +0000 (16:14 +0200)]
Convert pointer coordinates to absolute

It is possible to set pointer coordinate using absolute numbers, but
getting them back will always give us screen relative ones. Do the
necessary calculations manually so we return sane values to the caller.

8 years agoUpdate Serbian translation
Мирослав Николић [Sun, 7 Aug 2016 19:27:00 +0000 (21:27 +0200)]
Update Serbian translation

8 years agoUpdate Dutch translation
Benno Schulenberg [Tue, 26 Jul 2016 09:15:00 +0000 (11:15 +0200)]
Update Dutch translation