Jeremy Huddleston
a85523dc50
XQuartz: Avoid a possible spinlock in applicationWillTerminate
...
(cherry picked from commit f430cda0fd
)
2009-07-28 22:54:11 -07:00
Jeremy Huddleston
1e49c8d340
XQuartz: Avoid namespace collission for BOOL in Sparkle
...
(cherry picked from commit 227c6e01a6
)
2009-07-28 22:54:06 -07:00
Jeremy Huddleston
c81595e23b
XQuartz: Overhaul setting up visuals
...
The main change is cleanup of the visualConfigs and setting up alpha correctly there to match the visuals being added earlier (so the default visual has a corresponding GLX visual)
(cherry picked from commit 7351db5c87
)
2009-07-26 02:35:49 -07:00
Jeremy Huddleston
7f28c555b8
XQuartz: Use CopyKeyClass to copy the keymap to the virtual core keyboard.
...
(cherry picked from commit 9a801d1716
)
2009-07-25 20:19:05 -07:00
Jeremy Huddleston
1031ac3a73
Revert "XQuartz: Copy the keyboard map to the core keyboard"
...
This reverts commit 795de791cf
.
2009-07-25 20:18:38 -07:00
Jeremy Huddleston
48703083a1
XQuartz: Use pDev=NULL for DarwinSendDDXEvent
...
These events aren't really related to physical input devices anyways, so it doesn't make sense to use the pointer.
(cherry picked from commit bfe0b9cfa7
)
2009-07-25 20:18:15 -07:00
Jeremy Huddleston
dab8de0368
XQuartz: Bump the reported version to X11R7.4
...
(cherry picked from commit c83f701aa7
)
2009-07-25 15:25:35 -07:00
Jeremy Huddleston
9e74bb97ab
XQuartz: xpr: Added missing include for RootlessHideAllWindows
...
(cherry picked from commit 75e1047308
)
2009-07-25 15:25:23 -07:00
Jeremy Huddleston
09b024db63
XQuartz: Use the master device in DarwinSendDDXEvent to avoid duplicate events.
...
(cherry picked from commit 6fa62192af
)
2009-07-25 15:25:17 -07:00
Jeremy Huddleston
795de791cf
XQuartz: Copy the keyboard map to the core keyboard
...
This still doesn't handle the modifier map... gotta figure out what to do now that SwitchCoreKeyboard is gone
(cherry picked from commit 427e1aab41
)
2009-07-25 15:25:06 -07:00
Jeremy Huddleston
fb46474feb
XQuartz: Rever the "Set can_quit to true during a Sparkle-initiated relaunch." change
...
This was in place to work around the issue that was correctly solved with the
previous commit (changing the Windows menu behavior). Reverting this change
no longer causes crashing, so it's safe to show the dialog now.
(cherry picked from commit 023cef31bb
)
2009-07-24 09:42:18 -07:00
Jeremy Huddleston
0d73893a57
XQuartz: Change handling of Windows menu to workaround a bug triggered by mixing Sparkle and X11 windows
...
<rdar://problem/7088335> NSApplication releases the separator in the Windows menu even though it's an IBOutlet
(cherry picked from commit 27ac513526
)
2009-07-24 09:42:00 -07:00
Jeremy Huddleston
171409cecb
XQuartz: Set can_quit to true during a Sparkle-initiated relaunch.
...
(cherry picked from commit b2e9a77111
)
2009-07-24 09:41:46 -07:00
Jeremy Huddleston
7ff84d350b
XQuartz: Added a "Check for X11 Updates..." menu item.
...
(cherry picked from commit 305144bfa4
)
2009-07-24 09:41:32 -07:00
Jeremy Huddleston
be4dd35ffe
XQuartz: Initial support for automatic updates through Sparkle
...
(cherry picked from commit c45f1be364
)
2009-07-20 22:04:18 -07:00
Jeremy Huddleston
f517fca31d
XQuartz: Localization updates
...
(cherry picked from commit 4b797fc1ed
)
2009-07-16 17:32:10 -07:00
Jeremy Huddleston
c8a3516514
XQuartz: Cleanup getGlCapabilities to avoid hardcoding the number of displays
...
(cherry picked from commit 12f7365f1f
)
2009-07-16 17:32:04 -07:00
Jeremy Huddleston
e7bc9ff816
XQuartz: Allow more than 3 OSX displays
...
(cherry picked from commit 45045eb396
)
2009-07-16 17:32:03 -07:00
Jeremy Huddleston
53ae6b6338
XQuartz: Cleanup keymap locking, fix a possible synchro bug
...
(cherry picked from commit 33e7437a49
)
2009-07-15 23:18:35 -07:00
Peter Hutterer
0b4e6af857
xquartz: switch to byte counting functions
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2009-07-14 10:13:45 +10:00
Jeremy Huddleston
d6b8205e69
XQuartz: ProcAppleWMAttachTransient to play nice with the new Dock in SL
...
(cherry picked from commit ddc0242d8f
)
2009-07-03 19:46:00 -07:00
Jeremy Huddleston
b8050bb6de
XQuartz: Don't leave zombied processes at startup
...
(cherry picked from commit 40c1406830
)
2009-06-27 18:26:08 -07:00
Jeremy Huddleston
aaff92c8c2
XQuartz: 64bit fix for screen origin in AppleWM
...
(cherry picked from commit 60a757d280
)
2009-06-27 18:25:56 -07:00
Jeremy Huddleston
cabcc1a7ad
XQuartz: More localization updates
...
(cherry picked from commit 5925c1f48a
)
2009-06-27 10:42:50 -07:00
Jeremy Huddleston
ae20e748cd
XQuartz: More localization updates
...
(cherry picked from commit 7fbe974246
)
2009-06-19 21:16:47 -07:00
Peter Hutterer
a30fef9956
input: Add labels to buttons and valuators - ABI_XINPUT_VERSION 7
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-18 14:41:47 +10:00
Jeremy Huddleston
077556ec39
XQuartz: AIGLX dispatch table cleanup
...
This should fix some issues when building on different versions of OSX. We only use extensions that OpenGL.framework's glext.h header tells us are supported.
(cherry picked from commit e10c53421f
)
2009-06-06 22:24:06 -07:00
Jeremy Huddleston
2429daa7e6
XQuartz: Default to forcing the dialog box before quitting.
...
This will show the quit dialog for users of other WMs.
(cherry picked from commit 639ee0c913
)
(cherry picked from commit 09432fa5b1
)
2009-06-06 22:23:46 -07:00
Jeremy Huddleston
ec9e9c8bca
XQuartz: English localization update for HIG compliance
...
(cherry picked from commit 86b319d7cb
)
2009-05-29 11:44:53 -07:00
Jeremy Huddleston
f1441b8353
XQuartz: More localization updates
...
(cherry picked from commit b107390c9f
)
2009-05-27 10:16:11 -07:00
Jeremy Huddleston
c2b668e6ff
XQuartz: pbproxy standalone: added missing variable declarations.
...
(cherry picked from commit 2d947d17a3
)
2009-05-09 11:41:47 -07:00
Peter Hutterer
987579c930
dix: remove all but main() from main.c
...
All other functions are pushed into where they seemed to fit.
main.c is now linked separately into libmain.a and linked in by the various
DDXs.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-04-28 15:57:14 +10:00
Jeremy Huddleston
ccd28ca2ad
XQuartz: Localization update
...
(cherry picked from commit 9435fc5e20
)
2009-04-22 19:30:33 -07:00
Jeremy Huddleston
a362d0f4fb
XQuartz: Make sure the bgMouseLocationUpdated state is consistent
...
(cherry picked from commit 8fa8a8e1db
)
2009-04-22 19:30:18 -07:00
Peter Hutterer
b406886bbf
input: allow NULL as XkbRMVLOSet in InitKeyboardDeviceStruct.
...
Virtually all callers use
XkbGetRulesDefault(&rmlvo);
InitKeyboardDeviceStruct(..., rmlvo);
Let's save them the trouble and accept NULL as a hint to take the
default RMLVO.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Benjamin Close <Benjamin.Close@clearchain.com>
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-04-17 10:03:40 +10:00
Jeremy Huddleston
140463a197
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:27 -07:00
Jeremy Huddleston
80a7bb2605
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:26:07 -07:00
Jeremy Huddleston
6f8f7c78f1
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:23:03 -07:00
Jeremy Huddleston
8522a759c9
XQuartz: Only set MotionNotify on activation if it is updated.
...
(cherry picked from commit ae8077a251
)
2009-04-11 17:22:50 -07:00
Jeremy Huddleston
5e55becddc
XQuartz: Make sure the Fn doesn't trigger unneccessary calls to DarwinUpdateModKeys()
...
(cherry picked from commit 70a18558c6
)
2009-04-11 17:22:38 -07:00
Jeremy Huddleston
bd1d917909
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:20 -07:00
Jeremy Huddleston
808fd2c67f
XQuartz: xprSetWindowLevel updated to store the level requested by the WM
...
(cherry picked from commit c28c2ddc3a
)
2009-04-10 00:48:35 -07:00
Jeremy Huddleston
dfb0d7aefb
XQuartz: Update window levels when changing rootless state
...
(cherry picked from commit 1359ded5bf
)
2009-04-10 00:47:40 -07:00
Jeremy Huddleston
d5ef88d754
XQuartz: Fix window levels for rooted mode to allow showing the menu bar.
...
(cherry picked from commit 80759a4186
)
2009-04-10 00:47:28 -07:00
Jeremy Huddleston
15146b8637
XQuartz: Properly set the window level for the root window
...
(cherry picked from commit bdf9286d1c
)
2009-04-10 00:47:16 -07:00
Jeremy Huddleston
8d5dcfe215
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:47:03 -07:00
Jeremy Huddleston
82d7cf5cdc
XQuartz: In rooted mode, make sure we start in the hidden state.
...
(cherry picked from commit 5ecc497f71
)
2009-04-10 00:46:48 -07:00
Jeremy Huddleston
e86f4e9302
XQuartz: Send MotionNotify before button presses when X11 is in the background
...
(cherry picked from commit c80d0ec18e
)
2009-04-10 00:46:35 -07:00
Jeremy Huddleston
5ccfad8df0
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:25 -07:00
Jeremy Huddleston
2c03a63ff6
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:12 -07:00