Commit Graph

103 Commits

Author SHA1 Message Date
Jeremy Huddleston
e4218388fa XQuartz: Include version info for CrashReporter
(cherry picked from commit b4992755c3)
2008-04-17 11:57:47 -07:00
Jeremy Huddleston
20583a9a5a XQuartz: Use strerror(errno)... cause I like text more than grepping header files
(cherry picked from commit 1b4c37d8f9)
2008-04-17 11:07:18 -07:00
Jeremy Huddleston
dff2b65cc5 merged darwinKeyboard.[ch] into quartzKeyboard
(cherry picked from commit 57bb073209)
2008-04-17 11:03:13 -07:00
Ben Byer
de858ca3b8 oops, missed a spot
(cherry picked from commit 19872a6aeb)
2008-04-17 10:40:29 -07:00
Ben Byer
40939252d1 formatting cleanup
(cherry picked from commit 769acd2934)
2008-04-17 10:40:16 -07:00
Ben Byer
f8cee2ebae delete debugging spew
(cherry picked from commit f04f3af86a)
2008-04-17 10:40:08 -07:00
Ben Byer
96459ad45d add support for horizontal scrolling (buttons 6 and 7)
(cherry picked from commit f525a4a432)
2008-04-17 10:40:02 -07:00
Ben Byer
3af6960f12 enable keyboard map debugging -- it's going to x11-debug.txt, anyway ... so no harm
(cherry picked from commit ab662c736e)
2008-04-17 10:39:54 -07:00
Ben Byer
0e61265f38 darwinKeyboard: refactor slightly so that we're not cutting and pasting code from dix, kthx
(cherry picked from commit a8a090b853)
2008-04-17 10:39:47 -07:00
Ben Byer
514b5dd7a7 hack to Xquartz to prevent xmodmap from wiping out our valid modmap, per daniels
(cherry picked from commit cab54466a6)
2008-04-17 10:39:38 -07:00
Ben Byer
3438178115 kludge: miEqEnqueue wants a device, even if we're passing custom messages,
so give it one
(cherry picked from commit a494ff04b2)
2008-04-17 10:39:30 -07:00
Jeremy Huddleston
c697c1dad3 XQuartz: Don't enable rootless accelerated functionality... crashy...
(cherry picked from commit cdb4c291d8)
2008-04-16 23:14:01 -07:00
Jeremy Huddleston
01a931c313 XQuartz: Don't use composite.
(cherry picked from commit 6d3d344b5b)
2008-04-16 21:52:54 -07:00
Jeremy Huddleston
11c71ae243 Xquartz: Don't need to link against rlAccel since we don't use it
(cherry picked from commit 180ec128ad)
2008-04-16 21:51:22 -07:00
Jeremy Huddleston
793b828dc7 XQuartz: Removed a call to RootlessReorderWindow from the Carbon thread
(cherry picked from commit cb27d5ca82)
2008-04-15 12:05:20 -07:00
Jeremy Huddleston
02bc287690 Xquartz: Added applicationShouldHandleReopen:hasVisibleWindows to handle dock icon clicking
(cherry picked from commit 55d9973b05)
2008-04-11 17:50:01 -07:00
Ben Byer
7078458432 add missing dix-config include
(cherry picked from commit 126e9bc8c4)
2008-04-08 21:24:53 -07:00
Jeremy Huddleston
2d4194a8d1 XQuartz: Fix issue where clicking on an X11 window might send that event to an X11 window in another space.
(cherry picked from commit df21312c8b)
2008-04-08 17:02:56 -07:00
Jeremy Huddleston
6acb674a7a XQuartz: Change reporting of space change to debug log rather than stderr
(cherry picked from commit ed15556a9f)
2008-04-02 18:05:52 -07:00
Ben Byer
c8b387349e 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.
(cherry picked from commit 7e653f806f)
2008-04-02 17:43:46 -07:00
Ben Byer
e8b6088c7b formatting cleanup for X11Application.m (no code changes)
(cherry picked from commit eb083d3f68)
2008-04-02 17:43:37 -07:00
Ben Byer
503600c7de moved and renamed QuartzMessageServerThread to
DarwinSendDDXEvent to make more clear what it actually does.
(cherry picked from commit bee2b377ef)
2008-04-02 17:42:52 -07:00
Ben Byer
d39f9a63d7 shovelling code around ...
(cherry picked from commit 2143182ba4)
2008-04-02 17:42:31 -07:00
Ben Byer
9dcf5b4701 just a bit of juggling headers around -- we're preparing
to call our Xquartz-specific event handlers directly
as mieqHandlers
(cherry picked from commit 4aedba5aa7)
2008-04-02 17:40:59 -07:00
Ben Byer
8c4a81ce8e nuke DarwinEventQueue
(cherry picked from commit 1e0ec02202)
2008-04-02 17:40:47 -07:00
Jeremy Huddleston
216fdc8514 continue with gutting darwinEvents.c
(cherry picked from commit c34fce7051)
2008-04-02 17:40:34 -07:00
Jeremy Huddleston
8fc5cd57bb turns out we weren't actually using these files. oops
(cherry picked from commit bfec44d7b4)
2008-04-02 17:39:04 -07:00
Ben Byer
d34dbcbdb0 remove vestigal DarwinEQPointerPost etc
(cherry picked from commit a25704c423)
2008-04-02 17:36:59 -07:00
Ben Byer
e301ec43da gut darwinEQEnqueue, and make it just call mieqEnqueue (for the moment)
(cherry picked from commit a9e081a60c)
2008-04-02 17:36:50 -07:00
Ben Byer
71b47657ef add prototype for DarwinEventHandler
(cherry picked from commit 9a03ae33c4)
2008-04-02 17:36:42 -07:00
Ben Byer
b35ecb21a1 add logging of current thread ID to DEBUG_LOG macro
(cherry picked from commit 5848510cc5)
2008-04-02 17:36:30 -07:00
Ben Byer
dd9adee6cf Begin to move all of our Xquartz DDX-specific event handlers
to miEQ, in preparation to remove the DDX-specific code entirely.
(cherry picked from commit 3f4447b95f)
2008-04-02 17:36:19 -07:00
Jeremy Huddleston
69b9505a13 XQuartz: Fixed missing close-paren in preference pane text.
(cherry picked from commit ea37e151dc)
2008-04-02 15:15:48 -07:00
Ben Byer
ba5202d0a9 Add code to track 5 valuators for pointing device, in preparation
for supporting tablet input in Xquartz.
(cherry picked from commit 22c8849ea819eb70a14b2e06330b11b22aa63ebc)
2008-03-31 16:42:14 -07:00
Ben Byer
24d465c155 add debug statements so we can see if/when our Xinput stubs are getting called.
(cherry picked from commit 6e160bbe15dd2c2b8685847c06831cb6aebc6f74)
2008-03-31 16:42:06 -07:00
Ben Byer
bd1daecaed Remove calls to InitValuatorAxisStruct -- these are now handled in dix by
InitValuatorDeviceClass.
Add InitProximityClassDeviceStruct call to prepare for tablet support.
(cherry picked from commit 1bd980a5b114f5320360943214f8f9f23b29c1e3)
2008-03-31 16:41:59 -07:00
Jeremy Huddleston
33c435705e XQuartz: Fixed names of enums to be more consistent
(cherry picked from commit c309a08806daf5d716a860c709e51eacad2c745a)
2008-03-28 17:01:24 -07:00
Jeremy Huddleston
d56433d302 XQuartz: Another Exposé fix: F9 doesn't raise all windows
(cherry picked from commit b9cffa20de)
2008-03-28 17:01:18 -07:00
Jeremy Huddleston
b0a093c8a9 XQuartz: Sanity-check the removal of the 256-color option
Fixes the 'one-time-preferences' bug in 2.2.0_rc1
(cherry picked from commit 38cbd13490)
2008-03-27 19:22:01 -07:00
Ben Byer
8688356dba xquartz: copy in new stubs from Xi/stubs.c to replace our old
Xinput stubs.  Hey, it's a start.
(cherry picked from commit 566412b4aece24ae6af8c7c835986b685aa456a2)
2008-03-27 19:14:25 -07:00
Ben Byer
1fc0c7b877 prevent "fake mouse clicks" from generating spurious extra events
(cherry picked from commit bd85a24969427e41389688663ead2d4dd41c9999)
2008-03-27 19:14:19 -07:00
Jeremy Huddleston
76bb92a960 XQuartz: Disable 256 color option and fullscreen option
(cherry picked from commit 7c1964338a)
2008-03-21 19:35:25 -07:00
Jeremy Huddleston
3e656752a5 Xquartz: Added separate preference tab for quartz-wm settings
Added FFM and "Focus on new window" options
(cherry picked from commit 6841d078b7)
2008-03-21 19:35:21 -07:00
Jeremy Huddleston
b0e84dd16c XQuartz: Initial framework for dealing with spaces on OS-X
(cherry picked from commit 9831324998)
2008-03-21 19:35:17 -07:00
Jeremy Huddleston
8bc58eb960 Rootless: Removed safeAlphaXXXX() in favor of using fb/pixman
(cherry picked from commit f03202ad15)
2008-03-18 00:11:06 -07:00
Jeremy Huddleston
851b16fd82 Apple: Xserver half of the Exposé bug-fix (requires updated libXplugin from Apple... coming with 2.2)
(cherry picked from commit 37be23e8c1)
2008-03-18 00:10:16 -07:00
Eamon Walsh
ef60632e20 dix: Modify callers of property and selection API to use new interfaces. 2008-02-29 18:01:37 -05:00
Eamon Walsh
27bcf40cda XACE: Fix instances of DixUnknownAccess at hook callsites. 2008-02-28 16:43:43 -05:00
Jeremy Huddleston
6dc369028d XQuartz: Quit now properly warns the user
(cherry picked from commit ed3d7b3959)
2008-02-23 00:28:41 -08:00
Jeremy Huddleston
5f5ec5db35 XQuartz: unsetenv("DISPLAY") before startx if X11.app can't connect to it.
Also fix casting to silence warning.
(cherry picked from commit a5cbf78471)
2008-02-19 00:01:42 -08:00