Jeremy Huddleston
a3fbdb30b5
XQuartz: Use correct values for ProximityIn and ProximityOut
...
This was the other underlying cause of teh 100% CPU tablet issue.
(cherry picked from commit a9cecf34c2
)
2009-04-11 17:26:21 -07:00
Jeremy Huddleston
9d8ce0ea76
XQuartz: Solve the tablet 100% CPU bug
...
This happened because we put a byte in the fd to wake up dispatch, but we never actually enqueued anything in mieq because the num_events was 0.
(cherry picked from commit c21ca7558d
)
2009-04-11 17:23:10 -07:00
Jeremy Huddleston
35a678ec15
XQuartz: Re-enable background window checking
...
since that code was not the culprit for the wacom tablet, background 100% CPU bug
(cherry picked from commit fc1dc5d71b
)
2009-04-11 17:22:56 -07:00
Jeremy Huddleston
83c2310b16
XQuartz: Only set MotionNotify on activation if it is updated.
...
(cherry picked from commit ae8077a251
)
2009-04-11 17:22:44 -07:00
Jeremy Huddleston
166c4778fc
XQuartz: Make sure the Fn doesn't trigger unneccessary calls to DarwinUpdateModKeys()
...
(cherry picked from commit 70a18558c6
)
2009-04-11 17:22:32 -07:00
Jeremy Huddleston
1bf2708211
XQuartz: Re-enable Fn as an option for 3button mouse simulation.
...
Patch from Martin Otte <otte@duke.edu>
(cherry picked from commit b5ec3be6b5
)
2009-04-11 17:22:10 -07:00
Jeremy Huddleston
5b4f92bf2d
XQuartz: xprSetWindowLevel updated to store the level requested by the WM
...
(cherry picked from commit c28c2ddc3a
)
2009-04-10 00:48:19 -07:00
Jeremy Huddleston
6479d39405
XQuartz: Update window levels when changing rootless state
...
(cherry picked from commit 1359ded5bf
)
2009-04-10 00:47:34 -07:00
Jeremy Huddleston
1d50d961f1
XQuartz: Fix window levels for rooted mode to allow showing the menu bar.
...
(cherry picked from commit 80759a4186
)
2009-04-10 00:47:22 -07:00
Jeremy Huddleston
b1cb981097
XQuartz: Properly set the window level for the root window
...
(cherry picked from commit bdf9286d1c
)
2009-04-10 00:47:11 -07:00
Jeremy Huddleston
5c435dc15f
XQuartz: Properly set the menu bar and hotkey state when changing rootless mode.
...
Currently no code path exhibits the broken behavior since we only toggle into rootless if we don't have the root.
(cherry picked from commit 970f100ca3
)
2009-04-10 00:46:57 -07:00
Jeremy Huddleston
1367918bd6
XQuartz: In rooted mode, make sure we start in the hidden state.
...
(cherry picked from commit 5ecc497f71
)
2009-04-10 00:46:42 -07:00
Jeremy Huddleston
3b86722e21
XQuartz: Send MotionNotify before button presses when X11 is in the background
...
(cherry picked from commit c80d0ec18e
)
2009-04-10 00:46:30 -07:00
Jeremy Huddleston
d2b6ba0e5d
XQuartz: Revert most of the previous override redirect patch
...
The changes actually caused all windows to move to the current space. Instead, we're going with a fix entirely within Xplugin that depends on quartz-wm being the window-manager for now.
(cherry picked from commit 997b6f3142
)
2009-04-10 00:46:16 -07:00
Jeremy Huddleston
322b6d6174
XQuartz: Use updated Xplugin API to send overide-redirect windows to the current space when they're ordered in
...
This fixes the annoying "using a menu moves me to another space" bug
(cherry picked from commit 9e6dab89e0
)
2009-04-05 16:32:07 -07:00
Jeremy Huddleston
e2b09eaed7
XQuartz: Send a MotionNotify event for the mouse cursor when activating X11.app
...
Otherwise if X11.app was activated with a mouse click, the location of the even is the last location of the cursor before X11 was deactivated
(cherry picked from commit c7457d7b31
)
2009-04-05 16:32:01 -07:00
Jeremy Huddleston
273e194012
XQuartz: Still send mouse events while X11 is in the background if we have test extensions enabled
...
(cherry picked from commit f393fb686c
)
2009-04-01 13:53:10 -07:00
Jeremy Huddleston
3303d930ea
XQuartz: Return BadRequest when SendPSN isn't implemented rather than success
...
(cherry picked from commit 49871e9917
)
2009-04-01 13:52:58 -07:00
Jeremy Huddleston
88291ace66
XQuartz: Pad xAppleDRINotifyEvent to 32bytes to match sizeof(xEvent)
...
(cherry picked from commit 276ee3bb08
)
2009-04-01 13:52:45 -07:00
Jeremy Huddleston
4629bf921a
XQuartz: Don't report mouse events while X11 is not the foreground application
...
(cherry picked from commit 5d1dd35096
)
2009-03-31 18:12:38 -07:00
Jeremy Huddleston
1063e4a371
XQuartz: Fix mouse tracking for quake, et. al. in wine
...
Patch courtesy of Codeweavers
Fix mouse movement tracking. For a non-window-related mouse-move event,
calculate the new position by adding the event's delta-x and delta-y values
to the previous mouse position. Do not rely on the current mouse position
because it may have been changed by a XWarpPointer call.
(cherry picked from commit 7a67935b05
)
2009-03-30 20:41:12 -07:00
Jeremy Huddleston
dcc12d6227
XQuartz: Implement SendPSN for AppleWM
...
(cherry picked from commit 779e9fdc2d
)
2009-03-04 13:39:27 -08:00
Jeremy Huddleston
1d65c1cd3a
XQuartz: Don't erase the mode_switch+keysym if it's the same as shift+keysym
...
(cherry picked from commit 3e2427e6e9
)
2009-02-26 21:24:48 -08:00
Jeremy Huddleston
317d6f61f2
XQuartz: Re-enable support for capslock
...
(cherry picked from commit 4901b8147e
)
2009-02-24 23:13:31 -08:00
Jeremy Huddleston
9f04b10dea
XQuartz: Update GLX code from George's efforts on the 1.6 branch
2009-02-24 22:43:47 -08:00
Jeremy Huddleston
03579fe1d5
Default to use standard bitmap fonts, with builtins as fallback
...
The builtin-fonts configure option was removed, as it at best should
have been a runtime option. Instead, now it always register all "font
path element" backends, and adds built-ins fonts at the end of the
default font path.
This should be a more reasonable solution, to "correct" the most
common Xorg FAQ (could not open default font 'fixed'), and also don't
break by default applications that use only the standard/historical
X Font rendering.
(cherry picked from commit 49b93df8a3
)
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 69a2728891
)
2009-02-24 22:30:13 -08:00
Adam Jackson
ddd0691bfa
Build fixes
...
(cherry picked from commit 95000e34df
)
2009-02-24 22:28:00 -08:00
Adam Jackson
300322b883
Remove loadable font renderer support.
...
(cherry picked from commit affec10635
)
2009-02-24 22:27:09 -08:00
Jeremy Huddleston
159e6a1b20
X n'est pas une print API.
...
(cherry picked from commit 1c8bd318fb
)
2009-02-24 22:26:32 -08:00
Adam Jackson
e8a45d97d3
Death to APPGROUP.
...
(cherry picked from commit eafaf40fb3
)
2009-02-24 22:24:03 -08:00
Jeremy Huddleston
7446e740ae
XQuartz: Comment out the background pointer interaction that seems to be causing CPU spinning on some configurations
...
(cherry picked from commit 1d479fa4f3
)
2009-02-24 22:22:53 -08:00
Keith Packard
49ced08e79
X11/fonts/fontmod.h doesn't exist anymore.
...
libXfont 1.4.0 no longer includes this file, nor do we need it, so just stop
attempting to reference it.
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 4557b3f6c4
)
2009-02-18 18:00:19 -08:00
Jeremy Huddleston
8b607c9c50
XQuartz: Fix copyright info in Info.plist to be prettier when viewed in Finder
2009-02-12 15:33:47 -08:00
Jeremy Huddleston
5bbe168761
Revert "XQuartz: Re-enable rlAccel"
...
This reverts commit c962559889
.
It's causing new crashes that I don't feel like debugging... Let EXA solve it in 1.6...
2009-02-05 13:04:55 -08:00
Jeremy Huddleston
43a2df3968
XQuartz: Accept bundle version 2.1.6 to work with our startup method
...
(cherry picked from commit 7f29665573
)
2009-02-03 10:03:57 -08:00
Jeremy Huddleston
29cf2954bf
XQuartz: GLX: Fix accidental exclusion of glBlitFramebufferEXT on Leopard
...
(cherry picked from commit 8620579483
)
2009-02-02 12:34:30 -08:00
Jeremy Huddleston
da87934366
XQuartz: GLX: OpenGL.framework on Tiger doesn't have glBlitFramebufferEXT
...
(cherry picked from commit e01662cadc
)
2009-02-01 15:13:03 -08:00
George Staplin
92f00abc1f
XQuartz: GL: indirect.c changes to fix the build with newer OpenGL frameworks.
...
(cherry picked from commit 143224405b
)
2009-01-26 10:26:56 -08:00
Jeremy Huddleston
b231fb1f35
XQuartz: SnowLeopard: Help system book name changed in 10.6
...
(cherry picked from commit b57cb05c69
)
2009-01-25 21:25:08 -08:00
Jeremy Huddleston
242e58f57b
XQuartz: Fix builddir != srcdir issues and undef _XSERVER64 where appropriate on fat binary compilation
...
(cherry picked from commit f020900641
)
2009-01-16 15:59:42 -08:00
Jeremy Huddleston
3e02b987cc
XQuartz: Only call DarwinUpdateModKeys when needed
...
Previously, we were calling it on almost every itteration through sendX11Event
(cherry picked from commit 6461729647
)
2009-01-11 16:38:55 -08:00
Jeremy Huddleston
1c88a68bed
XQuartz: Get rid of SwitchCoreKeyboard where it's not needed...
2009-01-10 03:07:37 -08:00
Jeremy Huddleston
366b08598c
XQuartz: Update padding in appledristr. This shouldn't change how the struct ends up in memory, but should make it more obvious for human eyes
...
(cherry picked from commit f7b6c1907c
)
2009-01-10 00:59:52 -08:00
George Staplin
3c14546f58
XQuartz: GL: Set the __GLXconfig renderType to GLX_RGBA_BIT.
2009-01-09 16:08:26 -07:00
George Staplin
94162b0f8a
XQuartz: GL: Make many more fbconfigs and visuals available for the 1.5 branch.
...
Use a __GLXconfig linked list struct to store the configurations for the
fbconfigs and visuals in a pGlxScreen.
Also, remove the __GLXvisualConfig/GlxSetVisualConfigs code that isn't used
anymore. There is more code we can remove later, but I want to do that in
separate commits.
2009-01-09 16:02:06 -07:00
Jeremy Huddleston
4db744e1a7
XQuartz: Use AvailabilityMacros.h instead of availability.h for Tiger
...
(cherry picked from commit 91f3c34357
)
2009-01-07 01:47:28 -08:00
Jeremy Huddleston
3a3ccf5354
XQuartz: Bundle version 2.4.0
2009-01-06 15:32:44 -08:00
Jeremy Huddleston
c7ce0957e0
XQuartz: Copyright Update... happy new year
...
(cherry picked from commit 9f1c26ae8d
)
2009-01-02 11:07:10 -08:00
Jeremy Huddleston
7bdcfad9b5
XQuartz: pbproxy: Push dpy init and CFRunLoop hook setup into the pbproxy thread to avoid possible deadlock
...
(cherry picked from commit 49e59d32b8
)
2009-01-02 11:02:17 -08:00
Jeremy Huddleston
a4c3c38aca
XQuartz: Don't use NX_SECONDARYFNMASK, NX_NUMERICPADMASK, NX_HELPMASK
...
We don't have keycodes for them, so don't try to use them
(cherry picked from commit cb912aca3a
)
2008-12-31 12:45:22 -08:00