7d4df0ee44 
								
							 
						 
						
							
							
								
								dix: fix device sync state when calling SyncBoth during AllowEvents.  
							
							... 
							
							
							
							This did access the wrong device's sync state, potentially freezing or not
thawing the actual device that was supposed to be thawed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-20 14:48:57 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f1c7b95d83 
								
							 
						 
						
							
							
								
								dix: do percentage check before device check in ProcBell  
							
							... 
							
							
							
							This is just for correctness. The server should return BadValue for anything
not in [-100, 100].
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-20 14:48:57 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d60391d8ca 
								
							 
						 
						
							
							
								
								dix: fix uncredible fail in PostSyntheticMotion.  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-20 14:48:57 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								1a71862d33 
								
							 
						 
						
							
							
								
								dix/xfree86: simplified velocity approximation algorithm  
							
							... 
							
							
							
							Replace multi-stage filtering with simple linear velocity,
tracked several instances backwards. A heuristic ensures
only approximately linear motion is considered, so velocity
remains valid in any case. Numerical stability is much
better, and nothing changes to people who didn't tune the
advanced features of the previous algorithm.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-20 14:48:57 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								5ae129baef 
								
							 
						 
						
							
							
								
								Xi: check for existence of the button class before accessing it  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-20 14:48:57 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e8094d8f3f 
								
							 
						 
						
							
							
								
								dix: ProcSendEvent shouldn't use inputInfo.keyboard directly.  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-20 14:48:57 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								12aeddf5ad 
								
							 
						 
						
							
							
								
								exa: Accept scratch pixmaps with offscreen memory as such.  
							
							
							
						 
						
							2009-03-19 20:40:03 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								a635bb5357 
								
							 
						 
						
							
							
								
								exa: round of fb_pitch to the next byte  
							
							
							
						 
						
							2009-03-18 19:36:18 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ec32878359 
								
							 
						 
						
							
							
								
								exa: check if the pixmap is pinned for unsupported AUX indices.  
							
							
							
						 
						
							2009-03-18 19:36:18 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3992dd38ca 
								
							 
						 
						
							
							
								
								selinux: Add support for avc_acquire_netlink_fd()  
							
							... 
							
							
							
							Requires libselinux 2.0.79 or newer.  Without this, libselinux will
check for policy updates on the netlink socket on basically every policy
lookup.  Statistically speaking, they never happen, and the check
translates to at least one more syscall on basically every operation.
Instead, take control of the fd from the library, and check it in
WakeupHandler if it polls readable. 
							
						 
						
							2009-03-16 13:24:48 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								be6dc9023b 
								
							 
						 
						
							
							
								
								xfree86: remove a superfluous assignment.  
							
							... 
							
							
							
							If dev is NULL, we don't have a VCP and that means we have other issues
anyway. 
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								bfab422dcd 
								
							 
						 
						
							
							
								
								xfixes: useless (void) typecast removal  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								4eeaee1e5a 
								
							 
						 
						
							
							
								
								xkb: xkbi has a pointer to the device - use this instead of inputInfo.pointer.  
							
							
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3f801ba62a 
								
							 
						 
						
							
							
								
								xkb: the VCP can post device events, don't stop xkb filtering on it.  
							
							
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								23686e5680 
								
							 
						 
						
							
							
								
								xkb: Fix a mis-use of inputInfo.keyboard.  
							
							
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								c97c6c3de3 
								
							 
						 
						
							
							
								
								xkb: fix a couple of device checks when looping through all devices.  
							
							... 
							
							
							
							Generally, we want to apply stuff to the device and to all attached slave
devices. 
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d21a546e96 
								
							 
						 
						
							
							
								
								Xi: VCP and VCK may register for ext. events, so delete them if necessary.  
							
							
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								6ec49098f7 
								
							 
						 
						
							
							
								
								render: replace a wrong inputInfo.pointer with pDev  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0b2b330f6f 
								
							 
						 
						
							
							
								
								mi: remove a bunch of useless inputInfo.pointer assignments.  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								31301861c1 
								
							 
						 
						
							
							
								
								dix: remove wrong InputInfo.pointer usage - should be pDev instead.  
							
							
							
						 
						
							2009-03-16 13:29:07 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								639658b2ea 
								
							 
						 
						
							
							
								
								dix: use GetPairedDevice in ProcQueryPointer rather than inputInfo.keyboard.  
							
							
							
						 
						
							2009-03-16 13:29:06 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f01ee198ff 
								
							 
						 
						
							
							
								
								dix: don't use inputInfo.keyboard to get the focus window in ActivateKbdGrab  
							
							... 
							
							
							
							I'm not sure if that's the right solution, but the other one is wronger. 
							
						 
						
							2009-03-16 13:29:06 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								de415743f4 
								
							 
						 
						
							
							
								
								dix: fix XACE checks in ProcWarpPointer  
							
							
							
						 
						
							2009-03-16 13:29:06 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								18430616cf 
								
							 
						 
						
							
							
								
								dix: use PickPointer() and PickKeyboard instead of inputInfo.pointer/keyboard.  
							
							... 
							
							
							
							Affected calls:
 ProcChangeKeyboardControl
 ProcBell
 ProcUngrabKey
 ProcUngrabButton 
							
						 
						
							2009-03-16 13:29:06 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								e31727158c 
								
							 
						 
						
							
							
								
								dix: fix ProcChangePointerControl's wrong inputInfo.pointer usage.  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-16 13:29:06 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								fc5e8dc4a2 
								
							 
						 
						
							
							
								
								Unexport xf86SetPriority  
							
							
							
						 
						
							2009-03-13 14:00:37 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								89d7b88f32 
								
							 
						 
						
							
							
								
								exa: allow exaModifyPixmapHeader to set sys_ptr for EXA_HANDLES_PIXMAPS  
							
							... 
							
							
							
							- exaModifyPixmapHeader would save sys_ptr if needed, but it would be NULL'ed afterwards.
- This is needed to support pixmaps that are not offscreen. 
							
						 
						
							2009-03-13 00:44:48 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								544cd9e7b5 
								
							 
						 
						
							
							
								
								Honour Option "DPMS" "off" on xorg.conf  
							
							... 
							
							
							
							Signed-off-by: James Cloos <cloos@jhcloos.com> 
							
						 
						
							2009-03-12 14:50:59 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								7abb72c5c7 
								
							 
						 
						
							
							
								
								xfree86: remove obsolete code  
							
							... 
							
							
							
							remove a few lines which redo part of the pointer acceleration
init. Properties is the way to go for them.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-12 11:03:29 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								97cb3cc28e 
								
							 
						 
						
							
							
								
								dix: Merge DevicePresence notify events generation into a single function.  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-12 11:03:29 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								7f1ba804a1 
								
							 
						 
						
							
							
								
								dix: s/numEvents/num_events/ in GetKeyboardValuatorEvents  
							
							... 
							
							
							
							GPE and GProxE use the same.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-12 11:03:29 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								067f26f7ba 
								
							 
						 
						
							
							
								
								Xi: set the modifier + group state during POE.  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-12 11:03:29 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								da724e8f1d 
								
							 
						 
						
							
							
								
								Xi: Set the button state on the event during POE.  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-12 11:03:29 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								b368dd1720 
								
							 
						 
						
							
							
								
								dix: remove a few pointless (void) casts of return values.  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-12 11:03:29 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								cadf65a6e1 
								
							 
						 
						
							
							
								
								randr: Nuke broken set_origin shortcut  
							
							... 
							
							
							
							Shortcut is impossible to implement this way, because we don't know for sure
whether the crtc of an output has changed or not. 
							
						 
						
							2009-03-10 15:49:49 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								6544490700 
								
							 
						 
						
							
							
								
								Correct access mode in call to dixLookupWindow() within RRSelectInput.  
							
							... 
							
							
							
							Reported by Alan Coopersmith. 
							
						 
						
							2009-03-09 17:29:24 -04:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f8dd80d13b 
								
							 
						 
						
							
							
								
								Replace dixLookupResource by dixLookupResourceBy{Type,Class}  
							
							... 
							
							
							
							dixLookupResource attempted to automatically detect whether the caller
wanted a lookup by-type or by-class, unfortunately, it guessed wrong for
RT_NONE. Instead of trying to make the guess better, this patch just reverts
the unification and creates separate functions for each operation. 
							
						 
						
							2009-03-09 13:08:09 -07:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								0d9a42dc03 
								
							 
						 
						
							
							
								
								Xi: don't crash on a NULL property name, just return None.  
							
							... 
							
							
							
							strcmp doesn't like NULL-pointers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-09 14:01:54 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								432a95032e 
								
							 
						 
						
							
							
								
								Remove useless (void) typecasts.  
							
							... 
							
							
							
							Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> 
							
						 
						
							2009-03-09 14:01:54 +10:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								f508446a2b 
								
							 
						 
						
							
							
								
								Composite: Uninitialized borderClipX/borderClipY  
							
							... 
							
							
							
							Valgrind warned me about two other uninitialized variables, which are not
padding. Valgrind output at the end. I'm a bit unsure of what these should
be initialized to, is zero fine? 
							
						 
						
							2009-03-06 19:43:10 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								d1338a9480 
								
							 
						 
						
							
							
								
								[hw/xfree86] Fix StaticGray cmap.  
							
							... 
							
							
							
							Fix this bug report:
,----< from http://bugzilla.freedesktop.org/show_bug.cgi?id=20504  >
| Using the Visual StaticGray (8 bit depth) is missing one gray level.
| The gray level of index zero and index one are the same and all
| other levels are shifted by one. The max level (255) cannot be used.
`----
Signed-off-by: James Cloos <cloos@jhcloos.com> 
							
						 
						
							2009-03-06 12:59:35 -05:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								eba3bab71f 
								
							 
						 
						
							
							
								
								Remove #ifdef macII code left over from ancient A/UX 3.0 support  
							
							... 
							
							
							
							Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> 
							
						 
						
							2009-03-05 15:09:28 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								daa9727a02 
								
							 
						 
						
							
							
								
								XQuartz: Implement SendPSN for AppleWM  
							
							... 
							
							
							
							(cherry picked from commit 779e9fdc2de9bfebc5f0a4c9d5f42e389fdd8593) 
							
						 
						
							2009-03-04 13:39:43 -08:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								ce6e1771be 
								
							 
						 
						
							
							
								
								exa: fix a serious issue in exaChangeWindowAttributes (and some more related things)  
							
							... 
							
							
							
							- fbChangeWindowAttributes can create pixmaps (and access them) without use preparing access.
- Also handle the destroyed pixmaps by finishing them first.
- Switch to DEST indices again in exaCreatePixmapWithPrepare, because they are obviously being rendered to.
- Also avoid calling FinishAccess on pixmaps that are destroyed (and their memory potentially invalid). 
							
						 
						
							2009-03-04 16:51:10 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								7fb68e8b31 
								
							 
						 
						
							
							
								
								exa: remove a few pExaPixmap checks.  
							
							... 
							
							
							
							- And make some fatal for a debug build. 
							
						 
						
							2009-03-04 16:51:10 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								bd2f35ef0d 
								
							 
						 
						
							
							
								
								exa: fix unwrapping of ModifyPixmapHeader upon CloseScreen.  
							
							... 
							
							
							
							- Cleanup wrapping too. 
							
						 
						
							2009-03-04 16:51:10 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								da8ea41a54 
								
							 
						 
						
							
							
								
								exa: increase/rework safety checks in Prepare/FinishAccess.  
							
							
							
						 
						
							2009-03-04 16:51:09 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								3ea3d505e8 
								
							 
						 
						
							
							
								
								exa: avoid a potential Prepare/FinishAccess inbalance.  
							
							
							
						 
						
							2009-03-04 16:51:09 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								10334cf7e6 
								
							 
						 
						
							
							
								
								exa: simplify exaPixmapIsOffscreen  
							
							... 
							
							
							
							- This includes properly handling the framebuffer. 
							
						 
						
							2009-03-04 16:51:09 +01:00 
							 
					 
				
					
						
							
							
								 
						
							
							
							
							
								
							
							
								57bed76e21 
								
							 
						 
						
							
							
								
								Remove dead EXTENSION_PROC_ARGS define  
							
							... 
							
							
							
							Signed-off-by: Tomas Carnecky <tom@dbservice.com> 
							
						 
						
							2009-03-04 10:29:34 -05:00