Commit Graph

97 Commits

Author SHA1 Message Date
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
f04f3af86a delete debugging spew 2008-04-17 02:21:33 -07:00
Ben Byer
f525a4a432 add support for horizontal scrolling (buttons 6 and 7) 2008-04-17 02:21:11 -07:00
Ben Byer
ab662c736e enable keyboard map debugging -- it's going to x11-debug.txt, anyway ... so no harm 2008-04-17 01:32:56 -07:00
Ben Byer
a8a090b853 darwinKeyboard: refactor slightly so that we're not cutting and pasting code from dix, kthx 2008-04-17 01:29:46 -07:00
Ben Byer
cab54466a6 hack to Xquartz to prevent xmodmap from wiping out our valid modmap, per daniels 2008-04-17 00:21:08 -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
Jeremy Huddleston
6d3d344b5b XQuartz: Don't use composite. 2008-04-16 21:49:19 -07:00
Jeremy Huddleston
180ec128ad Xquartz: Don't need to link against rlAccel since we don't use it 2008-04-16 21:48:52 -07:00
Jeremy Huddleston
7b4b89c1da XQuartz: Don't enable rootless accelerated functionality... crashy...
(cherry picked from commit cdb4c291d8)
2008-04-16 19:36:13 -07:00
Jeremy Huddleston
6606b9d126 XQuartz: Removed a call to RootlessReorderWindow from the Carbon thread
(cherry picked from commit cb27d5ca82)
2008-04-15 12:01:57 -07:00
Jeremy Huddleston
55d9973b05 Xquartz: Added applicationShouldHandleReopen:hasVisibleWindows to handle dock icon clicking 2008-04-11 17:49:51 -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
Jeremy Huddleston
c95170f23c XQuartz: Change reporting of space change to debug log rather than stderr
(cherry picked from commit ed15556a9f)
2008-04-02 18:05:48 -07:00
Jeremy Huddleston
632d49fc37 XQuartz: Fixed missing close-paren in preference pane text.
(cherry picked from commit ea37e151dc)
2008-04-02 17:33:39 -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
eb083d3f68 formatting cleanup for X11Application.m (no code changes) 2008-03-31 23:31:25 -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
6e833e41e2 fix compilation on systems that don't have
XP_EVENT_SPACE_CHANGED defined
2008-03-31 21:34:11 -07:00
Ben Byer
4aedba5aa7 just a bit of juggling headers around -- we're preparing
to call our Xquartz-specific event handlers directly
as mieqHandlers
2008-03-31 21:34:03 -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
bfec44d7b4 turns out we weren't actually using these files. oops 2008-03-31 21:33:45 -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
5848510cc5 add logging of current thread ID to DEBUG_LOG macro 2008-03-31 21:33:11 -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
Ben Byer
a6c8fbc818 add debug statements so we can see if/when our Xinput stubs are getting called. 2008-03-31 21:32:19 -07:00
Ben Byer
8b5737b3cf Remove calls to InitValuatorAxisStruct -- these are now handled in dix by
InitValuatorDeviceClass.
Add InitProximityClassDeviceStruct call to prepare for tablet support.
2008-03-31 21:32:09 -07:00
Jeremy Huddleston
a28b8c23d9 XQuartz: Fixed names of enums to be more consistent 2008-03-31 21:31:54 -07:00
Jeremy Huddleston
cc17ce1b73 XQuartz: Another Exposé fix: F9 doesn't raise all windows
(cherry picked from commit b9cffa20de)
2008-03-31 21:31:48 -07:00
Jeremy Huddleston
f57a2f38ee 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-31 21:31:35 -07:00
Ben Byer
de722e2fea xquartz: copy in new stubs from Xi/stubs.c to replace our old
Xinput stubs.  Hey, it's a start.
2008-03-31 21:31:34 -07:00
Ben Byer
d34ff74c3c prevent "fake mouse clicks" from generating spurious extra events 2008-03-31 21:31:27 -07:00
Jeremy Huddleston
98b5f373e6 XQuartz: Disable 256 color option and fullscreen option
(cherry picked from commit 7c1964338a)
2008-03-21 19:35:02 -07:00
Jeremy Huddleston
f06a7ae344 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:34:57 -07:00
Jeremy Huddleston
6fc293182f XQuartz: Initial framework for dealing with spaces on OS-X
(cherry picked from commit 9831324998)
2008-03-21 19:34:51 -07:00
Jeremy Huddleston
f03202ad15 Rootless: Removed safeAlphaXXXX() in favor of using fb/pixman 2008-03-17 23:57:41 -07:00
Jeremy Huddleston
f91c915903 XQuartz: Quit now properly warns the user
(cherry picked from commit ed3d7b3959)
2008-02-23 00:28:38 -08:00
Jeremy Huddleston
04a09e9271 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:52 -08:00
Jeremy Huddleston
70f9495e0c Added Xquartz.plist to EXTRA_DIST 2008-02-16 01:33:13 -08:00
Jeremy Huddleston
c3e87251b8 Fixed unescaped newline in EXTRA_DIST
(cherry picked from commit 567c172c4d)
2008-02-16 01:00:35 -08:00
Jeremy Huddleston
e079e40319 XQuartz: Fixed EXTRA_DIST to include localization
(cherry picked from commit 1b338c2a93)
2008-02-15 23:18:22 -08:00
Jeremy Huddleston
b3eabf13af XQuartz: Fixed layout of Applications->Customize menu
Now resizing it won't produce weir overlaps of the widgets.  Thanks to
Pelle Johansson for his help showing me how to do this.
(cherry picked from commit ef3498e92d)
2008-02-11 12:10:55 -08:00