Commit Graph

55 Commits

Author SHA1 Message Date
Jeremy Huddleston
93ab4e0071 XQuartz: Fixed threading issue with TSM. 2008-09-24 22:51:03 -07:00
Jeremy Huddleston
43184cd379 XQuartz: Dead code removal 2008-09-05 17:32:16 -07:00
Jeremy Huddleston
c1caeb52a4 XQuartz: Make WarpPointer multithread safe in XQuartz. 2008-09-04 10:00:43 -07:00
Jeremy Huddleston
6bca787609 XQuartz: Updated Tablet code to include ranges for valuators and added cursor and erasor 2008-09-03 09:11:25 -07:00
Jeremy Huddleston
ebfe49dfca XQuartz: Cleaned up our sleeping before adding the launchd socket. 2008-09-03 02:36:39 -07:00
Jeremy Huddleston
f0351c2b80 XQuartz: Fixed bogus args to debug ErrorF 2008-08-22 01:12:37 -07:00
Jeremy Huddleston
8fb6a1cf44 XQuartz: More input fixes
stuck-modifier fixes (capslock)
3button-emulation now doesn't send the modifier key with the click
Added other options to fake_button2 and fake_button3 defaults options:
	({l,r}{control,alt,command,shift})
2008-08-15 13:28:58 -07:00
Jeremy Huddleston
eeb6e5a9e9 XQuartz: Fixed a stuck modifier key bug. 2008-08-14 09:08:14 -07:00
Jeremy Huddleston
d207b037d2 XQuartz: Made 3-button mouse simulation a little more consistent. 2008-08-14 07:32:37 -07:00
Jeremy Huddleston
672682ebf9 XQuartz: Now properly disable xauth checking on launchd socket and mostly fix the xinitrc / launchd race condition 2008-08-05 18:38:30 -07:00
Jeremy Huddleston
a8f0d32216 XQuartz: Added code and made comments more helpful for debugging first-client-auth bug. 2008-08-05 15:14:08 -07:00
Jeremy Huddleston
08f3fe153e XQuartz: Fixed first-client-can't-connect bug
Readded the old exec() server startup path for regression testing.
Don't use the dynamic fd addition code since it's not quite working correctly.
2008-07-15 17:15:54 -07:00
Jeremy Huddleston
9c20a4804d XQuartz: Some fd handoff cleanup. 2008-07-07 10:55:58 -07:00
Jeremy Huddleston
ee92aced10 XQuartz: Fixed the "laggy" startup under the new model. This was caused by xinit blocking expecting SIGUSR1 and our stub never sending it. 2008-06-10 01:39:15 -07:00
Jeremy Huddleston
7812a8bdf9 XQuartz: Removed async debugging sleep 2008-06-04 12:19:28 -07:00
Jeremy Huddleston
ff1c443cad XQuartz: use a condition variable to signal when darwinEvents is ready rather than polling 2008-06-04 12:01:19 -07:00
Jeremy Huddleston
6fb587d3d5 XQuartz: Cleaned up ListenOnOpenFD... 2008-05-18 23:31:41 -07:00
Jeremy Huddleston
27fbfeacfa XQuartz: More work towards Mach-IPC startup... started working on FD passing 2008-05-15 12:26:32 -07:00
Jeremy Huddleston
543c2cd68d XQuartz: Added functionality to add a file descriptor to the connection list after the server is already running. 2008-05-15 09:55:17 -07:00
Jeremy Huddleston
5626b0949b XQuartz: Made DarwinSendDDXEvent a little more robust to context switching diring server init. 2008-05-15 05:49:43 -07:00
Jeremy Huddleston
8d9eab3a2e XQuartz: Fix mouse input offsets earlier since GetPointerEvents does not like negative (x,y) values 2008-05-02 17:35:57 -07:00
Jeremy Huddleston
ff10c37bdd XQuartz: Avoid a possible crash at startup due to unfavorable context switching. 2008-05-02 16:53:45 -07:00
Jeremy Huddleston
f2020b9836 XQuartz: Adjust the screen origin offset properly for multimonitor setups 2008-05-01 18:02:59 -07:00
Ben Byer
50641bce73 xquartz: created darwinTablet, to represent tablet events 2008-04-29 23:37:58 -07:00
Ben Byer
299a056737 xquartz: remove unused params from DarwinEQInit 2008-04-29 23:00:09 -07:00
Ben Byer
588683cecc XQuartz: Fix to tablet-event handling code; we now scale
more conservatively (to match Linux's Wacom driver) and
we now receive all tablet-related events.
2008-04-29 22:35:34 -07:00
Jeremy Huddleston
c861fe00e1 XQuartz: Cleaned up startup and thread creation a tad. 2008-04-26 19:17:42 -07:00
Jeremy Huddleston
00a9567acc XQuartz: Don't subtract the titlebar off of the pointer_y 2008-04-26 17:04:49 -07:00
Jeremy Huddleston
ba074f19ea XQuartz: Handled sanitization of namespace better
(cherry picked from commit 8cb23d6721)
2008-04-18 20:16:06 -07:00
Jeremy Huddleston
70e543baf2 XQuartz: Forgot to commit xprEvent.[hc] ... 2008-04-17 20:21:45 -07:00
Jeremy Huddleston
31625cc03b XQuartz: Moved some rootless-specific cruft into xpr 2008-04-17 15:49:13 -07:00
Jeremy Huddleston
7b087c965b XQuartz: Use a mutex to ensure we only have one thread calling mieqEnqueue at a time. 2008-04-17 15:23:00 -07:00
Ben Byer
57bb073209 merged darwinKeyboard.[ch] into quartzKeyboard 2008-04-17 02:56:54 -07:00
Ben Byer
19872a6aeb oops, missed a spot 2008-04-17 02:31:53 -07:00
Ben Byer
769acd2934 formatting cleanup 2008-04-17 02:30:36 -07:00
Ben Byer
f525a4a432 add support for horizontal scrolling (buttons 6 and 7) 2008-04-17 02:21:11 -07:00
Ben Byer
a494ff04b2 kludge: miEqEnqueue wants a device, even if we're passing custom messages,
so give it one
2008-04-17 00:21:07 -07:00
Ben Byer
126e9bc8c4 add missing dix-config include 2008-04-08 20:41:44 -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
Ben Byer
7e653f806f The AppKit thread should not be calling directly into the X server
functions to change state when the keyboard is reloaded; instead,
pass it as an event.
2008-04-01 00:40:46 -07:00
Ben Byer
bee2b377ef moved and renamed QuartzMessageServerThread to
DarwinSendDDXEvent to make more clear what it actually does.
2008-03-31 22:55:24 -07:00
Ben Byer
2143182ba4 shovelling code around ... 2008-03-31 21:34:17 -07:00
Ben Byer
1e0ec02202 nuke DarwinEventQueue 2008-03-31 21:33:57 -07:00
Ben Byer
c34fce7051 continue with gutting darwinEvents.c 2008-03-31 21:33:50 -07:00
Ben Byer
a25704c423 remove vestigal DarwinEQPointerPost etc 2008-03-31 21:33:36 -07:00
Ben Byer
a9e081a60c gut darwinEQEnqueue, and make it just call mieqEnqueue (for the moment) 2008-03-31 21:33:29 -07:00
Ben Byer
9a03ae33c4 add prototype for DarwinEventHandler 2008-03-31 21:33:22 -07:00
Ben Byer
3f4447b95f Begin to move all of our Xquartz DDX-specific event handlers
to miEQ, in preparation to remove the DDX-specific code entirely.
2008-03-31 21:33:05 -07:00
Ben Byer
135eb27bce Add code to track 5 valuators for pointing device, in preparation
for supporting tablet input in Xquartz.
2008-03-31 21:32:35 -07:00
Jeremy Huddleston
a28b8c23d9 XQuartz: Fixed names of enums to be more consistent 2008-03-31 21:31:54 -07:00