summaryrefslogtreecommitdiffstats
path: root/unix
Commit message (Collapse)AuthorAgeFilesLines
* Even if we ignore the modifiers, we still have to respectPierre Ossman2013-05-301-4/+9
| | | | | | | the active group when we go looking for the level 3 shift key. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5117 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix bad reference counting of the initial randr mode set.Pierre Ossman2013-05-241-2/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5111 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Adding normal alphabetic keysyms as ONE_LEVEL did not behavePierre Ossman2013-05-231-3/+19
| | | | | | | | correctly when CapsLock is active, so start using the ALPHABETIC type for those instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5109 3789f03b-4d11-0410-bbf8-ca57d06f2519
* xkbcomp ignores keycodes without names, so make sure any keycodePierre Ossman2013-05-231-0/+16
| | | | | | | we use actually has one. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5108 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The cause of the keyboard mapping change is not a X11 request,Pierre Ossman2013-05-231-1/+1
| | | | | | | so don't pretend like it is. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5107 3789f03b-4d11-0410-bbf8-ca57d06f2519
* XkbTranslateKeyCode() is not implemented according toPierre Ossman2013-05-231-1/+8
| | | | | | | | specification in any system I can find, so change our code to follow reality rather than specification. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5106 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Not sure what I was smoking when I wrote this. You needPierre Ossman2013-05-231-1/+2
| | | | | | | | to provide both pointers, even if you are just interested in the upper case symbol. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5105 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Relax the requirements on addKeysym() so that it can add newPierre Ossman2013-05-231-1/+10
| | | | | | | entries that still require modifying the current modifier state. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5104 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Redo r5090 using functions that are available in olderPierre Ossman2013-05-221-21/+18
| | | | | | | Xorg versions as well. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5100 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Apparently it is more kosher to completely disassociate anPierre Ossman2013-05-222-4/+2
| | | | | | | | output from its CRTC than just removing the mode when disabling an output. This is what "xrandr --off" does. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5099 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Automatically update the connection state for RandRPierre Ossman2013-05-221-21/+28
| | | | | | | | | outputs in Xvnc as virtual displays become enabled/disabled. This seems to make applications happier than just clearing the mode. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5098 3789f03b-4d11-0410-bbf8-ca57d06f2519
* VNC needs to be initialised early to get its hooks at a properPierre Ossman2013-05-082-14/+14
| | | | | | | | place. The new patch for 1.13+ broke at least animated cursors by moving VNC further down the init list. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5095 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The Glyph operation is not guaranteed to be implemented on top of thePierre Ossman2013-05-071-2/+105
| | | | | | | Composite operation, so we need to hook both. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5090 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Bump development version now that 1.3 has been branched off.Pierre Ossman2013-04-251-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5085 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Shifted Tab is a generic VNC problem and not specific to justPierre Ossman2013-04-162-16/+16
| | | | | | | Core keyboard. Move handling of it to the central code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5082 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Embarrasing copy/paste error. Fixes fake AltGr presses.Pierre Ossman2013-04-151-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5081 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Another attempt at supporting older Xorg versions.Pierre Ossman2013-04-121-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5080 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for older Xorg releases.Pierre Ossman2013-04-111-0/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5079 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add some missing headers. It is not really ok to include Xutil.hPierre Ossman2013-04-113-0/+4
| | | | | | | without first including Xlib.h. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5078 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Port over the write block handler code from the 1.5 patch.Pierre Ossman2013-04-101-11/+64
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5077 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Move keyboardProc() so we have all the init stuff in one place.Pierre Ossman2013-04-091-47/+41
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5076 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Major rewrite of the keyboard code. The old code was too focused onPierre Ossman2013-04-095-706/+1274
| | | | | | | | | the old core X11 keyboards. The new code has an abstract common section, and two different backends for core and XKB. Core keyboards should be unaffected, but XKB support should be much better with this approach. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5075 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Copy error. Should have been a tab rather than spaces here.Pierre Ossman2013-04-091-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5074 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Mode switch and level 3 shift are used interchangably these days.Pierre Ossman2013-04-091-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5073 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure we release the same key we previously pressed for aPierre Ossman2013-04-092-1/+43
| | | | | | | given keysym. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5072 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle init of old and new keyboards the same way.Pierre Ossman2013-04-091-20/+27
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5071 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We have an object to store stuff in, so don't use a globalPierre Ossman2013-04-092-4/+4
| | | | | | | variable. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5070 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make sure InputDevice::InitInputDevice() gets called early inPierre Ossman2013-04-093-10/+12
| | | | | | | | the startup process so our devices are visible and available right away. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5069 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Copy the -verbose and -quiet parameters from Xorg so that wePierre Ossman2013-04-091-2/+29
| | | | | | | can control log output from the X core. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5068 3789f03b-4d11-0410-bbf8-ca57d06f2519
* GLX is no longer initialised by the dix. Patch originally byPierre Ossman2013-04-091-0/+19
| | | | | | | Adam Tkac for Fedora. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5067 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initialize VNC extension from libvnc.so only once.Adam Tkac2013-03-141-13/+18
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5065 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Simplify rfb::ParameterIterator - we always iterate over all enabled params.Adam Tkac2013-03-142-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5064 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove bogus -geometry width/height adjustment from vncserver scriptAdam Tkac2013-03-141-8/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5061 3789f03b-4d11-0410-bbf8-ca57d06f2519
* X.Org 1.14 support was incompleteAdam Tkac2013-02-192-1/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5047 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add xserver114.patch patchAdam Tkac2013-01-241-0/+84
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5036 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Allow to change "AcceptPointerEvents" via "vncconfig -set".Adam Tkac2012-11-261-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5015 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix handling of whitelisted "vncconfig -set" parameters in Xvnc.Adam Tkac2012-11-261-3/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5014 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for X.Org 1.13Adam Tkac2012-09-054-3/+108
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4995 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add xserver113.patchAdam Tkac2012-09-051-0/+92
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4994 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix build errors with XORG < 111: I assume that the last NULL argumentPeter Åstrand2012-08-291-1/+1
| | | | | | | | to GetKeyboardEvents was a typo... git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4982 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for X.Org 1.12.XAdam Tkac2012-08-284-17/+227
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4979 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add Support for X.Org 1.11.XAdam Tkac2012-08-284-10/+161
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4978 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix silly typo that caused us to mishandle some SetDesktopSize requests.Pierre Ossman2012-08-271-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4976 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove the in-tree versin of FLTK. Maintaining such a copy is way tooPeter Åstrand2012-08-091-1/+1
| | | | | | | | | much work, and it's constantly out of sync. Let's document what the main developers (ie Cendio) are using instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4951 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implicit drawing operations (like window borders) are done by accessingPierre Ossman2012-07-191-9/+26
| | | | | | | | | | the screen pixmap directly. That means that hooking windows is insufficient. The code now assumes that the drawable is a visible window, or the screen pixmap (IOW, that all coordinates are screen relative). Had to restructure some code that only worked on windows to get this working. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4941 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix improper check of errors when getting a suitable RandR mode.Pierre Ossman2012-07-181-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4940 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to be able to handle outputs without any CRTC connected as well.Pierre Ossman2012-07-181-10/+56
| | | | | | | This is generally the state disabled outputs are in. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4939 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Forgot to initialise the iterator index properly.Pierre Ossman2012-07-181-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4938 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We need to manually update the RandR timestamp, as it is normally set inPierre Ossman2012-07-171-0/+7
| | | | | | | the X11 request handlers. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4937 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The internal API for RRCrtcNotify() changed in Xorg 1.6+, so make sure thingsPierre Ossman2012-07-171-2/+19
| | | | | | | work on those versions as well. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4936 3789f03b-4d11-0410-bbf8-ca57d06f2519