summaryrefslogtreecommitdiff
path: root/xfixes
AgeCommit message (Collapse)AuthorFilesLines
2008-12-03Rework symbol visibility for easier maintenancePaulo Cesar Pereira de Andrade4-5/+9
Save in a few special cases, _X_EXPORT should not be used in C source files. Instead, it should be used in headers, and the proper C source include that header. Some special cases are symbols that need to be shared between modules, but not expected to be used by external drivers, and symbols that are accessible via LoaderSymbol/dlopen. This patch also adds conditionally some new sdk header files, depending on extensions enabled. These files were added to match pattern for other extensions/modules, that is, have the headers "deciding" symbol visibility in the sdk. These headers are: o Xext/panoramiXsrv.h, Xext/panoramiX.h o fbpict.h (unconditionally) o vidmodeproc.h o mioverlay.h (unconditionally, used only by xaa) o xfixes.h (unconditionally, symbols required by dri2) LoaderSymbol and similar functions now don't have different prototypes, in loaderProcs.h and xf86Module.h, so that both headers can be included, without the need of defining IN_LOADER. xf86NewInputDevice() device prototype readded to xf86Xinput.h, but not exported (and with a comment about it).
2008-12-02Add visibility flags to XSERVER_CFLAGS.Paulo Cesar Pereira de Andrade2-2/+2
This is done to actually change DIX_CFLAGS, as not all "modules" use XORG_CFLAGS. Also export the symbols that are required by other modules after the change.
2008-10-02Unifdef ISCAdam Jackson6-0/+0
2008-09-26xfixes: realize the invisible cursor before displaying it.Peter Hutterer1-1/+2
AllocARGBCursor realizes the cursor but can only do so if we have devices there already. If we don't - then the cursor needs to be realized elsewhere. This is usually done in InitializeSprite, but since xfixes just hard-swaps the (realized) cursor to the InvisibleCursor, we need to manually realize it before trying to display it.
2008-09-24Fix un-suppressing the initial cursor.Adam Jackson1-25/+7
The intended behaviour was "show as soon as someone calls XDefineCursor". What you actually got was, uh, slightly less well defined, since the screen's ChangeWindowAttributes hook would run after DIX handled the cursor change. Oops. The trivial way to turn the cursor on is: % xsetroot -cursor_name gumby Refer to /usr/include/X11/cursorfont.h for cursor names. Thanks to anholt for catching this.
2008-09-22Change 'remap' to 'map' in saveset functions/macrosOwen Taylor1-3/+3
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-0/+3
-retro also reverts to the classic cursor display behavior, meaning, the cursor will be visible before anyone calls XDefineCursor().
2008-08-28Prepare for array-index based devPrivates.Tomas Carnecky2-2/+6
TODO: static indices can be made just an int; some indices can be combined.
2008-08-20Suppress cursor display until the first XDefineCursor() request.Adam Jackson1-2/+30
Yes, this means the server will start without showing a cursor. Pretty much any application that wants to interact with the mouse will define cursors, so this essentially just delays showing it until gdm (or whatever) loads.
2008-07-24Shape extension is built-in and mandatory.Adam Jackson1-8/+0
2008-03-04Merge branch 'master' into mpxPeter Hutterer3-4/+5
This merge reverts Magnus' device coorindate scaling changes. MPX core event generation is very different, so we can't scale in GetPointerEvents. Conflicts: Xi/opendev.c dix/devices.c dix/dixfonts.c dix/getevents.c dix/resource.c dix/window.c hw/xfree86/common/xf86Xinput.c mi/mipointer.c xkb/ddxBeep.c xkb/ddxCtrls.c xkb/ddxKeyClick.c xkb/ddxList.c xkb/ddxLoad.c xkb/xkb.c xkb/xkbAccessX.c xkb/xkbEvents.c xkb/xkbInit.c xkb/xkbPrKeyEv.c xkb/xkbUtils.c
2008-02-22Normalize swapped dispatch for Fixes{ChangeSaveSet,SelectSelectionInput}Adam Jackson2-2/+2
2008-02-05XFixes: squash a pointer/integer size mismatch warning.Eamon Walsh1-2/+3
2008-01-03xfixes: switch a few inputInfo.pointer to PickPointerPeter Hutterer1-3/+3
2008-01-03Merge branch 'master' into mpxPeter Hutterer6-55/+78
Conflicts: XTrap/xtrapddmi.c Xext/security.c Xext/xprint.c Xext/xtest.c Xext/xvdisp.c Xi/exevents.c Xi/grabdevb.c Xi/grabdevk.c Xi/opendev.c Xi/ungrdev.c Xi/ungrdevb.c Xi/ungrdevk.c dix/cursor.c dix/devices.c dix/dixutils.c dix/events.c dix/getevents.c dix/main.c dix/window.c hw/xfree86/ramdac/xf86Cursor.c include/dix.h include/input.h include/inputstr.h mi/midispcur.c mi/miinitext.c mi/misprite.c render/animcur.c xfixes/cursor.c xkb/xkbAccessX.c
2007-12-18XACE: Too many arguments to selection access hook.Eamon Walsh1-2/+1
2007-11-20Revert "registry: Register XFixes extension protocol names."Eamon Walsh1-77/+1
This reverts commit 106758893b68033f14f69c4ee6591fb6a149ba37. Moving all the names into dix/registry.c
2007-10-15registry: Register XFixes extension protocol names.Eamon Walsh1-1/+77
2007-09-05xace: add new fields to resource access hook to allow parent resource objectsEamon Walsh1-2/+2
to be passed in at create time. Also added a missing devPrivates initializer.
2007-08-30xace: Correct some access modes.Eamon Walsh2-2/+2
2007-08-30xace: add hooks + new access codes: XFixes extension.Eamon Walsh4-33/+67
Required a new name argument to the selection access hook to handle XFixesSelectSelectionInput.
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh3-19/+7
over to new system. Need to update documentation and address some remaining vestiges of old system such as CursorRec structure, fb "offman" structure, and FontRec privates.
2007-08-15xace: add hooks + new access codes: core protocol cursor requestsEamon Walsh1-3/+5
2007-08-12Merge branch 'master' into mpxPeter Hutterer6-12/+0
Conflicts: Xi/exevents.c dix/devices.c dix/getevents.c include/dix.h mi/mieq.c
2007-06-29Death to RCS tags.Adam Jackson6-12/+0
2007-04-02Merge branch 'master' into mpxPeter Hutterer2-8/+3
Conflicts: Xi/closedev.c Xi/exevents.c Xi/extinit.c Xi/listdev.c dix/window.c hw/xfree86/common/xf86Xinput.c include/extinit.h mi/mipointer.c
2007-03-25Static cleanups, dead code deletion.Adam Jackson2-8/+3
2007-03-05Merge branch 'master' into mpxPeter Hutterer2-2/+5
Conflicts: configure.ac dix/getevents.c hw/xfree86/ramdac/xf86Cursor.c mi/mipointer.c xkb/xkbUtils.c
2007-02-19Check for clientGone before sending events from XFixes (bug #1753).Keith Packard2-2/+5
Freeing resources during client closedown can cause cursor changes which attempt to send cursor events through the XFixes extension; a client in the process of closing down has no file to send events to, causing a crash when this path is hit.
2006-12-19Merge branch 'master' of git://anongit.freedesktop.org/git/xorg/xserverPeter Hutterer4-41/+47
2006-12-15Convert callers of SecurityLookupWindow() to dixLookupWindow().Eamon Walsh3-12/+11
2006-12-14Remove instances of macros SECURITY_VERIFY_GEOMETRABLE and SECURITY_VERIFY_GC.Eamon Walsh1-3/+10
2006-12-14Naming change: Security*Access -> Dix*AccessEamon Walsh4-31/+31
2006-11-23mi: closing memory leak, miPointer is freed in miPointerCloseScreenPeter Hutterer1-5/+6
bugfix: uninitialized pPointer in miPointerGetPosition ifndef MPX adding DeviceIntPtr parameter to ScreenRec's cursor functions. cleanup of miPointer code to use same scheme in each function dix: MPHasCursor() function determines checking whether to invoke cursor rendering. animcur: adding DeviceIntPtr parameter to cursor functions but animcur relies on the core pointer right now. xfixes: adding DeviceIntPtr parameter to cursor functions but xfixes relies on the core pointer right now. rac: adding DeviceIntPtr parameter to cursor functions but RAC relies on the core pointer right now. ramdac: adding DeviceIntPtr parameter to cursor functions but ramdac relies on the core pointer right now.
2006-11-21dix: moved sprite from static to be pointer of type SpritePtrPeter Hutterer1-2/+2
added SpriteRecs for MPX devices changed sprite dependency and added MPX functionality to parts of events.c (ConfineToShape, PostNewCursor, XineramaCheckMotion, CheckMotion, XineramaChangeToCursor, ChangeToCursor, CheckPhysLimits, PointerConfinedToScreen) added DeviceIntRec param to GetSpritePosition(). This required some minor changes in ddx, xtest, xkb and xfixes. mi: changed miPointer to pointer instead of static struct.
2006-11-08Bug #6786: Use separate defines for server's Fixes support level.Adam Jackson1-5/+12
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone1-1/+1
Get rid of almost all uses of these definitions. They're still defined for delinquent out-of-tree drivers, and also for the Mesa build. As well as for miinitext.c. But largely gone.
2006-03-15Coverity #807: Fix a memory leak in XFixesExpandRegion.Adam Jackson1-0/+1
2006-03-15Coverity #487: Check version number correctly.Adam Jackson1-1/+1
2006-03-13Part 3 of 3 (Other parts are in proto and lib) Composite Version 0.3:Deron Johnson3-2/+356
CompositeGetOverlayWindow, CompositeReleaseOverlayWindow Xfixes Version 4.0: XFixesHideCursor, XFixesShowCursor
2005-12-02Define XFree86Server only where it is required.Kevin E Martin1-1/+1
2005-11-29Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadableKevin E Martin1-1/+1
module builds to reflect this change.
2005-07-03Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".Daniel Stone1-2/+2
2005-07-03Fix more include paths; add dix-config.h to XKB code.Daniel Stone5-15/+0
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone7-0/+28
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-07-02Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere.Daniel Stone1-0/+2
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone1-2/+2
2005-07-01Adding initial build system.Daniel Stone1-0/+10
2005-06-10Bug #2799: Input shape. (Keith Packard)XORG-6_8_99_11Adam Jackson1-9/+22
2004-12-04Encoding of numerous files changed to UTF-8Markus Kuhn6-6/+6