summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2008-11-26Revert "dix: Enable core devices in InitCoreDevices already."Peter Hutterer1-1/+1
I merged the wrong patch. See correct patch at: http://lists.freedesktop.org/archives/xorg/2008-November/040540.html Not activating the device before attempting to enable it would leave the sprite unset, crashing the server when enabling the real devices. This reverts commit e078901a4eca02bd3e7a80d9462dafbca939a187. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-25Warning fixAdam Jackson1-2/+0
Init.c:139: warning: no previous prototype for ‘ddxBeforeReset’ Just declare the prototype always, seriously.
2008-11-25include: remove ENTER_LEAVE_SEMAPHORE macros.Peter Hutterer1-6/+0
2008-11-25dix: remove unused EnterLeaveSemaphoresIsset.Peter Hutterer1-1/+0
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-24dix: Enable core devices in InitCoreDevices already.Peter Hutterer1-1/+1
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com> Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
2008-11-20drop unused HAVE_LIBDRM_2_2Rémi Cardona1-3/+0
Signed-off-by: Julien Cristau <jcristau@debian.org>
2008-11-15XQuartz: Integrated xpbproxy into the server.Jeremy Huddleston1-2/+2
Added a configure option called --enable-standalone-xpbproxy which is useful for deveoping xpbproxy. The 'active' switch in preferences just disables the in-server xpbproxy (not this standalone). (cherry picked from commit 42944936326ef8732f622db9f75b79a92980550d)
2008-11-13dix: don't store enter/leave and focus semaphores in a devPrivate.Peter Hutterer2-26/+9
We need them for each window, every time a window is allocated. Storing them in a devPrivate is the wrong thing to do. This also removes the unused ENTER_LEAVE_SEMAPHORE_ISSET macro. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com> Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2008-11-04xkb: extract the correct device in XkbFilterEvents.Peter Hutterer1-0/+2
If the event is an XI event, we need to work on the correct device, not on the VCK. Adds XIGetDevice(event) function to extract the device from an event.
2008-11-04Purge device-based WindowAccess code.Peter Hutterer1-24/+0
Really, this was a bad idea. It's not security, the UI features that would have been cool (e.g. clicking through windows) aren't implemented anyway, and there's nothing you can't achieve just by using plain XI anyway. Requires inputproto 1.9.99.6.
2008-11-04XKB: Remove pointless macrosDaniel Stone1-4/+0
These weren't even being used, which isn't overly surprising, given that they were already in the struct. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-04XKB: Move XKBrules.h to the server tooDaniel Stone3-1/+185
Get our own local copy of this, so we don't have to define XKB_IN_SERVER anymore. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-04Remove XEvIEDaniel Stone4-14/+0
It's unmaintained and has been broken for quite a while; MPX finally smashed it completely. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-04Xi: XINPUT has been mandatory for agesDaniel Stone1-3/+0
Ditch all #ifdef XINPUT, since it's always built. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-10-31dix: FreeDeviceClass() and friends can be static.Peter Hutterer1-3/+0
2008-10-31include: remove unused declaration for RegisterPairingClient().Peter Hutterer1-2/+0
Matching functions got removed in 004876355b43fb4d3c2bc5653a7dc1bfd3f985ee.
2008-10-31dix: remove unused GuessFreePointerDevice().Peter Hutterer1-2/+0
Not used since the MD/SD hierarchy was introduced many moons ago.
2008-10-31dix: NextFreePointerDevice() can be static.Peter Hutterer1-1/+0
2008-10-31dix: SwitchCorePointer is long gone, bury it.Peter Hutterer1-2/+0
2008-10-31dix: PairDevices() can be static, remove from input.Peter Hutterer1-4/+0
PairDevices() is only ever called in EnableDevice().
2008-10-31Move EXTENSION_BASE and EXTENSION_EVENT_BASE to misc.h.Peter Hutterer1-0/+3
2008-10-31Move MAX_DEVICES to misc.h, rename to MAXDEVICES for consistency.Peter Hutterer3-5/+4
2008-10-26Add prototypes for strlcpy/strlcatJulien Cristau2-0/+8
2008-10-14Add backtrace definitions to dix-config.h.inAdam Jackson1-0/+6
2008-10-13Xi: check all handlers before applying property changes.Peter Hutterer2-2/+4
The current code exposes to inconsistent updates, i.e. if handler N succeeds but handler N+1 fails in setting the property, an error is returned to the client although parts of the server now behave as if the property change succeeded. This patch adds a "checkonly" parameter to the SetProperty handler. The handlers are then called twice, once with checkonly set to TRUE. On the checkonly run, handlers _MUST_ return error codes if the property cannot be applied. Handlers are not permitted to actually apply the changes. On the second run, handlers are permitted to apply property changes. Errors codes returned on the second run are ignored.
2008-10-10Move xorg_backtrace() up to the OS level so we can call it from DIX.Adam Jackson1-0/+2
2008-10-10pixmap: Add some notes to devKind and devPrivate.Maarten Maathuis1-2/+2
2008-10-08Remove unused declarations.Tiago Vignatti1-2/+0
AvailableClientInput (LBX debris) and xf86XinputFinalizeInit.
2008-10-07Reinstate cursorScreenDevPrivAdam Jackson1-0/+3
2008-10-06Loader: Unexport a handful of consumerless symbols from dixsym.Adam Jackson1-2/+0
2008-10-03Remove unused wrapping for visual initialization.Adam Jackson1-2/+0
2008-10-03Remove the Must_have_memory hack.Adam Jackson1-1/+0
Also remove an astonishing amount of misunderstanding of how casts work.
2008-10-03Drop the never-called SkippedRequestCallback list.Adam Jackson1-8/+0
2008-10-03XQuartz: Added a --enable-integrated-xpbproxy configure option for building ↵Jeremy Huddleston1-0/+3
xpbproxy as an app or as a thread. (cherry picked from commit 8edc5fb38c922f28659d2f823148339a8907c4d9) (cherry picked from commit 88033a66a5549870fd053795b019d4c22950425b)
2008-09-26Push server-known properties into xserver-properties.h.Peter Hutterer2-1/+34
2008-09-26Xi: add "deletable" flag to properties, add DeleteProperty handler.Peter Hutterer2-1/+12
A property can only be deleted if any of the following is true: - if a property is deletable and all handlers return Success. - if a property is non-deleteable and the all handlers return Success AND the delete request does not come from a client (i.e. driver or the server). A client can never delete a non-deletable property.
2008-09-26Xi: allow Set/GetProperties to return a status, and honour this status code.Peter Hutterer2-13/+13
If a property handler now bails out, return the error code to the caller. This allows to be slightly more specific with the errors.
2008-09-26Xi: remove configure/query device property calls.Peter Hutterer2-30/+3
This removes all the meta-information about device properties (pending, fromClient, range, valid_values, immutable).
2008-09-23Revert "Render: Use built-in SHA1 library"Keith Packard1-0/+3
This reverts commit d3bd31fddff7894f89ba80a3cdddff49aff08db8. X.org should not be providing a custom SHA1 implementation.
2008-09-23Render: Use built-in SHA1 libraryJohn Tapsell1-3/+0
Getting an external library for SHA1 is a mess, so just use our own, regrettably. Public domain implementation.
2008-09-23Rename SaveSetMap() to SaveSetShouldMap().Adam Jackson1-2/+2
Avoids preprocessor collision with xfixeswire.h
2008-09-22Change 'remap' to 'map' in saveset functions/macrosOwen Taylor2-6/+6
Now that the code has been fixed so that Unmap means unmap and not "don't remap", 'remap' was confusing to have in the function names/parameters, so change it to simple 'map'. Signed-off-by: Keith Packard <keithp@keithp.com>
2008-09-22Default to -br. Add -retro option for the nostalgic.Adam Jackson1-1/+1
-retro also reverts to the classic cursor display behavior, meaning, the cursor will be visible before anyone calls XDefineCursor().
2008-09-22Don't use our version of ffs() if the system has oneJulien Cristau1-0/+3
2008-09-12Array-index based devPrivates implementation.Eamon Walsh1-1/+1
Note: DevPrivateKey is now pointer-to-int, which means each key now needs to point to some global storage of size at least sizeof(int).
2008-08-27Add an array of integers for use as per-screen cursor private keys.Eamon Walsh1-0/+2
Replaces the use of the screen pointer itself as the key, which was nice but won't work now that an array index is being stored.
2008-08-22Convert Solaris #ifdef's for <sys/kd.h> to AC_CHECK_HEADERS checkAlan Coopersmith1-0/+3
Upcoming virtual terminal support changes in Solaris kernel will provide <sys/kd.h> on SPARC too, so this gets us ready for them.
2008-08-20Centralize declaration of ConnectionInfo.Adam Jackson1-0/+2
2008-08-13Eviscerate save-under support.Adam Jackson2-20/+0
Use a compositing manager already. Plus I really wanted to use 'eviscerate' in a commit message.
2008-08-11The smart scheduler is not optional.Mathieu Bérard3-10/+0