summaryrefslogtreecommitdiff
path: root/mi
AgeCommit message (Collapse)AuthorFilesLines
2008-03-28XSELinux: Add xorg.conf option for permissive/enforcing/disabled.Eamon Walsh1-1/+7
Patch by Joe Nall. The option goes in the "extmod" subsection. TODO: Make it easier for extension modules to handle their own options.
2008-03-14mi: More meaningful assert crashesDaniel Stone1-3/+8
When we fail an assert in miregion.c (which happens every now and then, though I haven't yet checked up why), at least generate a segfault, so we'll get a backtrace.
2008-03-01clean some "unused" warningsGeorge Sapountzis4-36/+0
2008-02-11Revert "Bug #8937: Extension setup functions not called on server resets"Eamon Walsh1-10/+0
This reverts commit 5e946dd853a4ebc2722ae023429ce5797de3d7a6. The devPrivates rework makes this workaround unnecessary.
2008-02-05mi: Only UpdateSpriteForScreen if we actually changed the screen. (Bug #12650)Peter Hutterer1-1/+7
X.Org Bug 12650 <http://bugs.freedesktop.org/show_bug.cgi?id=12650>
2008-01-25xselinux: Move the extension to extmod instead of being built-in.Eamon Walsh1-3/+0
2008-01-25XACE: Remove the extension code entirely, XACE is completely static now.Eamon Walsh1-12/+0
2008-01-09mi: change infamous "Tossed event ..." error for something more explanatory.Peter Hutterer1-6/+7
Few whitespace errors fixed. Two ErrorF's prefixed with [mi]. (cherry picked from commit 117458d2db49efd3f04432ff45871b44c7d4ad57)
2007-12-28xselinux: Remove "X" prefix on remaining functions and strings.Eamon Walsh1-3/+3
Should be evident from the context.
2007-12-21XQuartz: Handle Pseudorami init in miinitextJeremy Huddleston1-0/+9
(cherry picked from commit a585c94fedd4ecbc87524703c01bb128fc2aa951)
2007-12-17mi: set the private key to a unique non-zero valueDave Airlie1-1/+1
2007-12-14Input: Fix proximity events with valuatorsBartosz Fabianowski1-1/+3
Initialise num_events to 1, so we always send a proximity event, and then optionally valuator events. Also make sure mieq can deal with valuator events sent after proximity events.
2007-12-13Merge branch 'master' into XACE-SELINUXEamon Walsh3-22/+2
Conflicts: Xext/EVI.c Xext/bigreq.c Xext/cup.c Xext/dpms.c Xext/fontcache.c Xext/mitmisc.c Xext/xcmisc.c Xext/xf86bigfont.c Xext/xtest.c configure.ac dbe/dbe.c hw/darwin/darwin.h hw/darwin/darwinEvents.c hw/darwin/iokit/xfIOKit.h hw/darwin/iokit/xfIOKitCursor.c hw/darwin/quartz/fullscreen/fullscreen.c hw/darwin/quartz/fullscreen/quartzCursor.c hw/darwin/quartz/quartz.c hw/darwin/quartz/quartzCommon.h hw/darwin/quartz/quartzCursor.c hw/darwin/quartz/xpr/dri.c hw/darwin/quartz/xpr/dristruct.h hw/darwin/quartz/xpr/xprCursor.c hw/darwin/quartz/xpr/xprFrame.c hw/xfree86/modes/xf86RandR12.c include/cursor.h miext/rootless/rootlessCommon.h miext/rootless/rootlessScreen.c miext/rootless/rootlessWindow.c render/picturestr.h Trying to pick up the pieces from the darwin churn here...
2007-12-02Clean up many #if 0.Adam Jackson1-3/+0
2007-11-23Re-add call to XFixesExtensionInit for static servers.Keith Packard1-0/+4
This reverts a portion of bcbaf2a0ce34b6c5e41d2831b8b87dbd0617a89b which removed the call to XFixesExtensionInit and some cpp lines.
2007-11-21Darwin: Dead code removal, Code cleanup, Added launcherJeremy Huddleston1-22/+1
Imported changes from xorg-server-1.2-apple to make master more current wrt file layout, build system changes, and dead code removal.
2007-11-20Restore checks for __i386 where needed for Sun compilers on SolarisAlan Coopersmith1-1/+1
2007-11-19Merge branch 'master' into XACE-SELINUXEamon Walsh1-2/+17
Conflicts: hw/xnest/Pixmap.c include/dix.h
2007-11-19xace: restore the old SaveScreens function and introduce new API, since theEamon Walsh1-1/+1
old version is called from drivers...
2007-11-19devPrivates rework: add missing include of dix/privates.hEamon Walsh1-0/+1
2007-11-17Disinfect mi/ of mfb.Adam Jackson1-2/+17
2007-11-14Merge branch 'master' into XACE-SELINUXEamon Walsh1-1/+1
Conflicts: Xext/xace.c Xext/xace.h
2007-11-08Fixed check to refer to DarwinApp, not all Darwin targetsBen Byer1-1/+1
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh19-149/+154
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
2007-11-05mi: Remove usage of allocaDaniel Stone16-128/+128
Replace with heap allocations.
2007-11-04Add CreatePixmap allocation hints.Aaron Plattner6-11/+16
These hints allow an acceleration architecture to optimize allocation of certain types of pixmaps, such as pixmaps that will serve as backing pixmaps for redirected windows.
2007-10-29Change the GLX module to initialize after COMPOSITE.Kristian Høgsberg1-10/+10
This changes the module initalization order so that the GLX module initializes after COMPOSITE. The reason for this change is to be able to initialize a GLX visual config for the COMPOSITE ARGB visual.
2007-10-25Merge branch 'master' into XACE-SELINUXEamon Walsh1-4/+1
Conflicts: GL/glx/glxscreens.c hw/xnest/Screen.c render/glyph.c render/glyphstr.h render/render.c
2007-10-18Simplify and clean up GLX visual initialization.Kristian Høgsberg1-4/+1
Instead of the fragile setup where we filter the modes common between the DDX generated GLX visuals and the DRI driver generated fbconfigs, we now just take the fbconfigs returned by the DRI driver to be our supported set.
2007-10-17Merge branch 'master' into XACE-SELINUXEamon Walsh2-2/+2
Conflicts: os/access.c
2007-10-17xselinux: Started reworking extension using new XACE hooks.Eamon Walsh1-5/+1
2007-10-14mass change from #ifdef i386 to #ifdef __i386__ to conform to ANSIBen Byer1-2/+1
2007-10-02Fix #12650: "windows not receiving mouse events in multiple screens context"Dodji Seketeli1-0/+1
* dix/events.c, include/dix.h: (UpdateSpriteForScreen): added this to update the mouse sprite context when we switch from a pScreen to another. * mi/mipointer.c: (miPointerWarpCursor): as we are switching to a new pScreen, don't forget to update the mouse sprite context.
2007-09-19Merge branch 'master' into XACE-SELINUXEamon Walsh5-344/+96
Conflicts: afb/afbpntwin.c afb/afbscrinit.c afb/afbwindow.c cfb/cfb.h cfb/cfballpriv.c cfb/cfbscrinit.c cfb/cfbwindow.c configure.ac fb/wfbrename.h hw/xfree86/xf4bpp/ppcIO.c hw/xfree86/xf4bpp/ppcPntWin.c hw/xfree86/xf4bpp/ppcWindow.c hw/xfree86/xf8_32bpp/cfbscrinit.c mfb/mfb.h mfb/mfbpntwin.c mfb/mfbscrinit.c mfb/mfbwindow.c mi/miexpose.c Note: conflicts caused by devPrivates rework vs. paintwindow changes.
2007-09-13Merge remote branch 'origin/master' into paint-windowEric Anholt1-44/+65
Conflicts: mi/miexpose.c
2007-09-13Remove the PaintWindow optimization.Eric Anholt5-139/+20
This was an attempt to avoid scratch gc creation and validation for paintwin because that was expensive. This is not the case in current servers, and the danger of failure to implement it correctly (as seen in all previous implementations) is high enough to justify removing it. No performance difference detected with x11perf -create -move -resize -circulate on Xvfb. Leave the screen hooks for PaintWindow* in for now to avoid ABI change.
2007-09-12Try again to fix drawable and tile offsets in miPaintWindowKeith Packard1-16/+29
Many coordinate spaces are hard. Let's go drinking.
2007-09-12miPaintWindow draw to window for background.Keith Packard1-42/+52
Instead of drawing to window pixmap for everything, draw to window for background as that works for Xnest and Xdmx; draw to pixmap for borders which neither of those X servers use.
2007-09-12Rewrite miPaintWindow to draw to window pixmap.Keith Packard1-198/+48
miPaintWindow was drawing to the root window, or (sometimes) drawing to the window after smashing the window clip list. This is losing, and easily fixed by just drawing to the window pixmap.
2007-08-30devPrivates rework: convert CursorRec and CursorBits over to new interface.Eamon Walsh1-7/+10
2007-08-28devPrivates rework: since API is already broken, switch everythingEamon Walsh9-122/+84
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-28Merge branch 'master' into XACE-SELINUXEamon Walsh11-4254/+38
Conflicts: include/miscstruct.h mi/mibstore.c mi/midispcur.c os/Makefile.am
2007-08-25Implement core protocol backing store exclusively in terms of Composite.Adam Jackson10-4252/+37
Composite's automatic redirection is a more general mechanism than the ad-hoc BS machinery, so it's much prettier to implement the one in terms of the other. Composite now wraps ChangeWindowAttributes and activates automatic redirection for windows with backing store requested. The old backing store infrastructure is completely gutted: ABI-visible structures retain the function pointers, but they never get called, and all the open-coded conditionals throughout the DIX layer to implement BS are gone. Note that this is still not a strictly complete implementation of backing store, since Composite will throw the bits away on unmap and therefore WhenMapped and Always hints are equivalent.
2007-08-22Revert "Fix <pixman.h> include to <pixman/pixman.h>"Eric Anholt1-1/+1
The pixman headers have been located under pixman-1/ instead of pixman/ since around 2007-08-06, and pixman-1.pc has the updated include paths to account for this. This reverts commit feb1b3e45513bd6eaa2e6a5ee536183f20d9cb68.
2007-08-22Fix <pixman.h> include to <pixman/pixman.h>Alan Hourihane1-1/+1
2007-08-16xace: add hooks + new access codes: core protocol screensaver requestsEamon Walsh1-2/+2
2007-08-14xace: add hooks + new access codes: core protocol GC requestsEamon Walsh3-6/+8
2007-08-06Require pixman-1 0.9.4, update pixman includes to new schemeSøren Sandmann Pedersen1-1/+1
2007-08-03security: drop the "declare extension security" dix call. Use theEamon Walsh1-5/+1
SecurityPolicy configuration file instead.
2007-08-02Merge branch 'master' into XACE-SELINUXEamon Walsh5-15/+22
Conflicts: dix/devices.c dix/property.c include/dix.h