Jeremy Huddleston
c0da576d49
XQuartz: Don't warp the pointer on server start for XQuartz
2008-09-04 14:59:10 -07:00
Jeremy Huddleston
8b8e0aea6f
XQuartz: Removed NewCurrentScreen debugging spew.
2008-09-03 03:14:22 -07:00
Jeremy Huddleston
4b7c684371
XQuartz: More debugging spew for tracking down the NewCurrentScreen crash.
2008-08-30 14:55:36 -07:00
Jeremy Huddleston
61d140c66c
XQuartz: Made NewCurrentScreen debugging a little safer
2008-08-30 09:10:27 -07:00
Jeremy Huddleston
aaf0f71db1
XQuartz: Added debugging output to the crash log to help track down two crashes, since people don't often report their system.log spew.
2008-08-29 19:43:13 -07:00
Jeremy Huddleston
cdadce8816
XQuartz: Added debugging for NewCurrentScreen crash.
2008-08-19 02:00:35 -07:00
Jeremy Huddleston
df21312c8b
XQuartz: Fix issue where clicking on an X11 window might send that event to an X11 window in another space.
...
(cherry picked from commit 2e78818232
)
2008-04-08 16:59:56 -07:00
Peter Hutterer
5909fb3c40
dix: don't compress motion events from different devices (EventEnqueue)
...
(cherry picked from commit 8840829ab9
)
(cherry picked from commit 352c5a3112
)
2007-10-30 00:58:51 +02:00
Peter Hutterer
600752bece
dix: add XI event support to FixKeyState.
...
FixKeyState needs to be able to handle XI events, otherwise we get "impossible
keyboard events" on server zaps and other special key combos.
(cherry picked from commit 5ee409794e
)
(cherry picked from commit 8d3d027062
)
2007-10-30 00:58:43 +02:00
Tiago Vignatti
d73835efda
More janitor work. Remove 'defined but not used' warnings from kdrive and some minor cosmetic.
2007-06-27 03:34:13 -03:00
Peter Hutterer
87564543d9
Only decrement buttonsDown when the button count is greater than 0.
...
Device drivers flush their buttons on device init and cause a button down
event to be generated. If we unconditionally decrease the buttons, we won't be
able to ever get a passive device grab.
Format documentation for CheckDeviceGrabs to make it readable.
(cherry picked from commit 3e894974cd
)
Conflicts:
Xi/exevents.c
2007-06-25 09:35:30 +09:30
Luo Jie
1f48995d66
Fix build of composite, dix, and randr when Xinerama is disabled.
2007-05-24 11:20:59 -07:00
Peter Hutterer
7ccebc50b9
Documentation for events.c.
2007-04-13 13:08:44 +09:30
Stefan Huehner
1f6741db19
Bug #10560 : Code-Cleanup: function declarations () -> (void)
...
X.Org Bugzilla #10560 : <https://bugs.freedesktop.org/show_bug.cgi?id=10560 >
Patch #9511 <https://bugs.freedesktop.org/attachment.cgi?id=9511 >
2007-04-09 14:33:15 -07:00
Adam Jackson
9a0f25de7c
Static cleanups, dead code deletion.
2007-03-25 12:27:01 -04:00
Adam Jackson
021fc5cb2c
Static markup and dead code cull over xkb/.
...
The former <X11/extensions/XKBsrv.h> has been pulled into the server now as
include/xkbsrv.h, and the world updated to look for it in the new place,
since it made no sense to define server API in an extension header. Any
further work along this line will need to do similar things with XKBgeom.h
and friends.
2007-03-20 18:37:02 -04:00
Peter Hutterer
63169ce52d
dix: remove 'register' keyword for all variables.
2007-03-08 17:50:25 +10:30
Eamon Walsh
25d5e0a629
Convert callers of SecurityLookupWindow() to dixLookupWindow().
2006-12-15 15:50:46 -05:00
Eamon Walsh
6c46645cfc
Naming change: Security*Access -> Dix*Access
2006-12-14 14:45:42 -05:00
Daniel Stone
f2903c12bb
SyntheticMotion: don't dereference sprite.screen when not using Xinerama
...
(cherry picked from aa052e43c6c293e14f78837e00c6b7581f9713bb commit)
2006-12-06 23:24:23 +02:00
Eamon Walsh
f44f14fe56
Define calls away when not building XACE, allowing ifdef's to be removed.
2006-12-01 21:15:41 -05:00
Eric Anholt
b4b0d901d9
Merge branch 'randr-1.2'
...
Conflicts:
dix/events.c
dix/getevents.c
hw/xfree86/common/xf86Mode.c
hw/xfree86/dri/Makefile.am
hw/xfree86/os-support/drm/xf86drm.c
hw/xfree86/os-support/xf86drm.h
2006-11-27 15:43:15 -08:00
Daniel Stone
b55007d8cc
SyntheticMotion: don't dereference sprite.screen when not using Xinerama
2006-11-08 15:29:17 +02:00
Daniel Stone
f93d10ce9b
dix: remove staggeringly broken vendor workarounds
...
Dear SGI,
No.
Scant regards,
Daniel
2006-11-08 15:29:16 +02:00
Daniel Stone
3a9b964258
dix: add missing prototypes
...
Add missing prototype for ffs, and include headers from ffs.c.
Move PostSyntheticMotion prototype to input.h.
2006-11-08 15:29:16 +02:00
Keith Packard
1dcda4f3c5
Avoid dereferencing sprite.screen when Xinerama is not running. ( #8925 )
...
With Xinerama support built into the X server but not in use,
sprite.screen is NULL and yet the SyntheticMotion
macro would dereference it. Avoid that by just passing sprite.screen
to PostSyntheticMotion which can then dereference it when Xinerama is
enabled.
Also, define PostSyntheticMotion in dixevents.h and include dixevents.h in
getevents.c
2006-11-07 01:29:51 -08:00
Alan Coopersmith
49a26681b2
Add DTrace probe points for X server <-> client communications
...
See http://people.freedesktop.org/~alanc/dtrace/ for more details
2006-11-03 12:54:43 -08:00
Alan Coopersmith
58bf9a142d
PostSyntheticMotion needs to be extern, not static, since it's in getevents.c
2006-11-02 14:43:02 -08:00
Daniel Stone
eec1822591
dix/getevents: move SyntheticMotion to getevents.c
...
Mostly, this is just a cheesy hack to ensure that getevents.o gets
included when linking. Sigh.
2006-10-23 02:48:30 +03:00
Daniel Stone
4d8030076e
dix: move GetKeyboardEvents/GetPointerEvents to a new file, export symbols
...
Move GKE and GPE to a separate file, to help stem the events.c explosion.
Mark GKE/GKVE/GPE as _X_EXPORT.
2006-10-14 22:14:07 +03:00
Daniel Stone
335b503c5e
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
2006-10-13 18:10:45 +03:00
Daniel Stone
33406da096
GetKeyboardEvents: add first_valuator argument to GKVE
2006-10-08 23:20:56 +03:00
Daniel Stone
1546a39814
GetKeyboardValuatorEvents: also take first_valuator param
...
Take a first_valuator parameter, which specifies the first valuator.
2006-10-08 21:40:53 +03:00
Daniel Stone
41bb9fce47
mipointer: take device arguments, split miPointerAbsoluteCursor
...
Update mipointer API to take a device argument to (almost) all functions,
and split miPointerAbsoluteCursor into a couple of separate functions.
Remove miPointerAbsoluteCursor call from mieq, as we now deal with it in
GetPointerEvents.
Make miPointerSetPosition (successor of miPointerAbsoluteCursor) take
pointers to x and y, so it can return the clipped values.
Modify callers of miPointer*() functions to generally use the new
functions.
This should fix things with multi-head setups.
2006-10-08 20:34:32 +03:00
Daniel Stone
b559cbb160
dix/CoreProcessKeyboardEvent: remove debugging for every key event
...
Also change #ifdef DEBUG/ErrorF/#endif to DebugF in FixKeyState.
2006-10-08 16:23:14 +03:00
Daniel Stone
58314756ae
GetPointerEvents: add first_valuator parameter
...
Add a first_valuator parameter. Looks correct by inspection, but untested
with first_valuator != 0 as yet.
2006-10-08 16:18:05 +03:00
Daniel Stone
84f5d2291c
GetPointerEvents: fix relatively harmless typo
...
Change !(cp->button || !cp->valuator) to (!cp->button || !cp->valuator).
2006-10-08 15:30:24 +03:00
Daniel Stone
2cf1098436
dix/events, mi/eq: remove utterly ridiculous debugging
...
Remove debugging which can cause long-lived Xorg logs to grow well above 1GB
if built with --enable-debug.
2006-09-30 17:05:46 +03:00
Zephaniah E. Hull
5893375786
Warning fix, and a syntax fix in a #if 0 section of code.
2006-09-10 15:50:51 -04:00
Daniel Stone
5436fce090
[PATCH] GetKeyboardValutorEvents: be even more careful
...
Don't accept devices without a keyboard feedback class.
2006-08-29 15:18:06 +03:00
Eamon Walsh
13c6713c82
Add four new XACE hooks: auditing, key event notification, window init
2006-08-25 18:17:01 -04:00
Daniel Stone
2b06c69c8f
GKVE: pass correct arguments to XkbCopyKeymap
...
Fix horrendous thinko. Indicators now work perfectly.
2006-08-24 14:51:26 +03:00
Daniel Stone
6323a11d0d
XkbCopyKeymap: optionally send NewKeyboardNotify/MapNotify events
...
Optionally send a NewKeyboardNotify or MapNotify event when copying the
keymap; modify GetKeyboardValuatorEvents to make use of this.
2006-08-23 18:53:04 +03:00
Daniel Stone
8f8487ff99
xkb/gkve: copy XKB map, not pointer-assign
...
Write a new function to copy an XKB map (does everything but geometry at
the moment), and use that instead of nasty pointer assignments.
2006-08-23 14:33:41 +03:00
Alan Coopersmith
05541259bd
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into XACE-modular
2006-08-21 13:07:41 -07:00
Daniel Stone
633b6a69f5
Merge branch 'master' into input-hotplug
2006-08-17 21:25:14 +03:00
Daniel Stone
7da51447ea
events.c: fix tiny XEvIE thinko
...
Make sure xeviehot gets updated after the ConfineToShape() call.
2006-08-17 21:24:07 +03:00
Daniel Stone
5d082f0563
events.c: make XEvIE a little less verbose
...
Change a lot of:
#ifdef XEVIE
xeviehot.x =
#endif
sprite.hot.x = ...
#ifdef XEVIE
xeviehot.y =
#endif
sprite.hot.y = ...
to one single
#ifdef XEVIE
xeviehot.x = sprite.hot.x;
xeviehot.y = sprite.hot.y;
#endif
at the end of the functions.
2006-08-17 21:20:58 +03:00
Daniel Stone
95dbfcf882
events.c: make XEvIE a little less verbose
...
Change a lot of:
#ifdef XEVIE
xeviehot.x =
#endif
sprite.hot.x = ...
#ifdef XEVIE
xeviehot.y =
#endif
sprite.hot.y = ...
to one single
#ifdef XEVIE
xeviehot.x = sprite.hot.x;
xeviehot.y = sprite.hot.y;
#endif
at the end of the functions.
2006-08-17 21:18:18 +03:00
Daniel Stone
c6c39afde3
dix/events.c: add YAFIXME
...
Add another FIXME to the cacaphony of XXX and FIXMEs in this file.
2006-08-17 21:13:09 +03:00