summaryrefslogtreecommitdiff
path: root/hw/xquartz/X11Application.m
AgeCommit message (Collapse)AuthorFilesLines
2009-04-05XQuartz: Send a MotionNotify event for the mouse cursor when activating X11.appJeremy Huddleston1-21/+30
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 c7457d7b31ddd2ddfd04dd6294bed4532664e1ab)
2009-04-01XQuartz: Still send mouse events while X11 is in the background if we have ↵Jeremy Huddleston1-1/+1
test extensions enabled (cherry picked from commit f393fb686cfbedb11a1539d4eaf5c491af8b3a64)
2009-03-31XQuartz: Don't report mouse events while X11 is not the foreground applicationJeremy Huddleston1-7/+4
(cherry picked from commit 5d1dd35096334b59564d77caef7a97bd58845c5d)
2009-03-30XQuartz: Fix mouse tracking for quake, et. al. in wineJeremy Huddleston1-9/+17
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 7a67935b05a475215b9bdbb959e4f7e15f32416f)
2009-02-24XQuartz: Comment out the background pointer interaction that seems to be ↵Jeremy Huddleston1-0/+6
causing CPU spinning on some configurations (cherry picked from commit 1d479fa4f3bca9cbd81808a6c87582422fd2a257)
2009-01-11XQuartz: Only call DarwinUpdateModKeys when neededJeremy Huddleston1-2/+10
Previously, we were calling it on almost every itteration through sendX11Event (cherry picked from commit 6461729647ff4441d80811e73f0c0d2f108f2700)
2009-01-11XQuartz: Comment explaining the 0x10 flag for [e data2]Jeremy Huddleston1-1/+1
(cherry picked from commit 3c695280641c1205b97d3bb9f1d5e15a19cfa45f)
2009-01-07XQuartz: Use AvailabilityMacros.h instead of availability.h for TigerJeremy Huddleston1-1/+1
(cherry picked from commit 91f3c3435716195e6d606c8e2f6b0de52eb5972d)
2008-12-31XQuartz: Don't use NX_SECONDARYFNMASK, NX_NUMERICPADMASK, NX_HELPMASKJeremy Huddleston1-7/+0
We don't have keycodes for them, so don't try to use them (cherry picked from commit cb912aca3a2834c4ad8e386c8a0d05c1bb31b0e7)
2008-12-31XQuartz: Make sure to reset the saved key state when deactivating X11.appJeremy Huddleston1-1/+3
(cherry picked from commit 3eef78eb321f4f7dbca5a10c80666c621e28a1e0)
2008-12-31XQuartz: Better avoid stuck keys on context switchesJeremy Huddleston1-17/+33
(cherry picked from commit e9963f1a4f4f12f253eae9d4f01694b6cabe35ad)
2008-12-31XQuartz: Workaround OSX VNC server bug for modifier key stateJeremy Huddleston1-2/+35
A better approach which ensures we have a L modifier key down if we are told neither are down and atleast one is down... =/ (cherry picked from commit bc13dda345f716bf4de9bfe4e1d85969263b60c2)
2008-12-21XQuartz: Don't use keycode 0 to determine !swallow since our most common key ↵Jeremy Huddleston1-9/+13
to swallow is actual keycode 0 (a) (cherry picked from commit 33f43a7f03023bfbab25a957cb81fc25b4afa4ca)
2008-12-15XQuartz: Tiger fix, don't call Xplugin code in the Appkit thread if Xplugin ↵Jeremy Huddleston1-0/+5
isn't threadsafe. (cherry picked from commit 748d9e5bd756513d42c4046f3b31e1fdc55bccb6)
2008-12-10XQuartz: unsetenv(DISPLAY) if we're not org.x.X11Jeremy Huddleston1-1/+1
Also some prefix related fixes. (cherry picked from commit fd459e96581a883e30323c840b71004aa0747169)
2008-11-28XQuartz: Added option to enable/disable test extensionsJeremy Huddleston1-4/+8
defaults write org.x.X11 enable_test_extensions -boolean true (cherry picked from commit fd4710aff3723d5f3422cf6a6530172eafc556d9) (cherry picked from commit 635019ad18db921fec99256294debd8571074abf)
2008-11-28XQuartz: Avoid some warning messages being spewed to system.log by AppKitJeremy Huddleston1-1/+3
(cherry picked from commit 780eff230ce41ad785e54d61a82c731269ae0446)
2008-11-25XQuartz: Don't hardcode values of org.x.X11 for the preferences domainJeremy Huddleston1-6/+11
(cherry picked from commit 3a500d9247cf34686ec17b4a88c34d51ecd38ecd)
2008-11-15XQuartz: Don't use TIS on Tiger...Jeremy Huddleston1-4/+21
(cherry picked from commit be8ac84c15e7e76c581b9e75cda74139394aa4c7)
2008-11-15XQuartz: Integrated xpbproxy into the server.Jeremy Huddleston1-0/+6
Added a configure option called --enable-standalone-xpbproxy which is useful for deveoping xpbproxy. The 'active' switch in preferences just disables the in-server xpbproxy (not this standalone). (cherry picked from commit 42944936326ef8732f622db9f75b79a92980550d)
2008-11-14Xquartz: Force sending mouse clicks to AppKit if we're over the menu barJeremy Huddleston1-23/+51
(cherry picked from commit 7dff93ec1ac92aeaf3b70d5cfe787fa4a28c0dba)
2008-11-14XQuartz: Made X11Application.m a little more tidy.Jeremy Huddleston1-25/+8
(cherry picked from commit 3520386261b838196a8918e8bee16bdccbc9781d)
2008-10-31XQuartz: Add option to allow access to the menu in fullscreen modeJeremy Huddleston1-14/+12
(cherry picked from commit 637a9f4bd1ff2b55c870a08ead4940df0f9818e5)
2008-10-31XQuartz: LP64 related casting fixes from Bob MurphyJeremy Huddleston1-0/+6
(cherry picked from commit ea71710aaa7166ab510abe70f2dc47942de0ead7)
2008-10-31XQuartz: Fixed Xplugin thread safety issues, so rea-enable background window ↵Jeremy Huddleston1-7/+5
check (cherry picked from commit 5fc73b1141eca8b678e54412ca33afa31a76d088)
2008-10-31XQuartz: if 0 out a block to avoid thread-unsafe lockupsJeremy Huddleston1-0/+2
(cherry picked from commit 60d7359a67900ad4601dbc73e07bcd8c803100a5)
2008-10-23XQuartz: Do check_xinitrc() later to avoid possible deadlock.Jeremy Huddleston1-13/+16
(cherry picked from commit af95174a088dc787d124ec548b1005f5b67c9e8d)
2008-10-23XQuartz: Remove the enable_stereo default. We now use feature detection to ↵George Peter Staplin1-3/+0
enable stereo visuals. We need to revisit the GL/indirect.c changes. I think indirect.c should be using the same feature detection and GLX visual config code. The indirect changes will require testing... (cherry picked from commit 49b7a7c6f20ca85d4d624444eb83db2f91344591)
2008-10-23XQuartz: Honor the Spaces preference for "When switching to an application, ↵Jeremy Huddleston1-1/+9
switch to a space with open windows for the application" (cherry picked from commit bf561a06b2bf60395d26026ac7627d0cb254bc07)
2008-10-21XQuartz: Only send mouse events while in the background if we're over a ↵Jeremy Huddleston1-0/+16
visible window. This "breaks" xeyes but gets rid of annoying tooltips. (cherry picked from commit 10090a132a0110fe24c8c886d9f53e6e947f8038)
2008-10-21XQuartz: More fullscreen fixesJeremy Huddleston1-8/+11
Start in rooted mode when enabled Make the hotkey cmd-alt-a behave (cherry picked from commit 22a54e46176c9cbdfaaa59ef33a6ae6a9c4969ef)
2008-10-21XQuartz: More progress towards fullscreen...Jeremy Huddleston1-4/+0
(cherry picked from commit 628cae86b4ad02c49d20df1e1afdcb7abcabb649) (cherry picked from commit b47b7ab6d6d0a7f6cbf678a5755124d6b7516d3e)
2008-10-08XQuartz: Some motion made towards supporting fullscreen.Jeremy Huddleston1-7/+3
(cherry picked from commit 99be3d68b64059caada739a373e5e01844c776e0)
2008-10-04XQuartz: GLX - enable_stereo defaults option should work nowJeremy Huddleston1-13/+2
(cherry picked from commit 3a6898f48756fdb2898292679301ef3dc109b4f6)
2008-10-03XQuartz: Workaround for initial pressure/tilt being sent as 0 with motion ↵Jeremy Huddleston1-8/+18
during the proximity event (cherry picked from commit 9a91d770a6411dd876187e64a8bda1f0745169ae)
2008-10-03XQuartz: Using absolute ranges for pointer location to increase resolution ↵Jeremy Huddleston1-3/+4
and better support tablets. (cherry picked from commit d79ccb45f68b65d65718b5b77efe2fae6eeda762)
2008-10-03XQuartz: Removed resolved comment about localization.Jeremy Huddleston1-2/+0
(cherry picked from commit 8ed5faf058ac7b0782a9cc13a2c58b80168358d2)
2008-10-03XQuartz: Actually send the pointer event from the pen even if it happes to ↵Jeremy Huddleston1-3/+9
actually have 0 pressure and 0 tilt. (cherry picked from commit f41583761955cb9c92c43239bfaa8ae0e5d95e33)
2008-09-26XQuartz: Fixed threading issue with TSM.Jeremy Huddleston1-20/+58
(cherry picked from commit 93ab4e0071670bb80bfa1170dd97ed9d6d51c67a)
2008-09-21XQuartz: Added a preferences UI for pbproxy options.Jeremy Huddleston1-0/+11
(cherry picked from commit d76cca5e1eae86450aa236e49a2024881d0bac01)
2008-09-12XQuartz: Dead code removalJeremy Huddleston1-6/+2
(cherry picked from commit 43184cd379c4fb7254391b8a362016cbf89b5529)
2008-09-12XQuartz: 256 color supportJeremy Huddleston1-4/+0
(cherry picked from commit 8dd6d5c825d457f26b41b79d02d57ed4a5ecf1f5)
2008-09-12XQuartz: Fixed proximity logic errors for tablets.Jeremy Huddleston1-16/+14
(cherry picked from commit d942849f248c368b92ca73e145e8a5bc339112d7)
2008-09-03XQuartz: Updated Tablet code to include ranges for valuators and added ↵Jeremy Huddleston1-0/+36
cursor and erasor (cherry picked from commit 6bca78760951cb5cb57ea66b7631a2dc230dc27a) (cherry picked from commit fafcafd6de39cf6b5967793f03b30b49db36fec5)
2008-08-29XQuartz: xp_is_symbolic_hotkey_event catches the input menu, but not our ↵Jeremy Huddleston1-3/+5
mainMenu, so we still need to do that the old way. (cherry picked from commit 25eccf12c89d73b8bce2c9be14841efb230acedc)
2008-08-26XQuartz: Fixed needed xplugin version. ><Jeremy Huddleston1-1/+1
(cherry picked from commit 01b3a99dff79e0d2b316e02658c19fa79d9144ae)
2008-08-26XQuartz: Use new Xplugin API to determine if a keypress event corresponds to ↵Jeremy Huddleston1-19/+27
an OS-X hotkey that we should dispatch to Appkit. (cherry picked from commit e7658e745f8a3eaf5cec9f54a8a1b7e5a7708e09)
2008-08-26XQuartz: Cleaned up mouse event translation a bit more.Jeremy Huddleston1-22/+18
(cherry picked from commit c286f2a718fdaf6ad10249b59abb20731da8d904)
2008-08-26Xquartz: Added missing ev_type for NSTabletPoint event.Jeremy Huddleston1-0/+1
(cherry picked from commit 07548f13947a212dcc020d52fe0ad679255121e2)
2008-08-20XQuartz: Added window_item_modifiers defaults item (and option to ↵Jeremy Huddleston1-3/+17
localization) to change the modifier keys used for the windows menu. (cherry picked from commit e4110861d307a55d9032cb83cf024ec1f294e8d7) (cherry picked from commit fcfc05482a88696cb713c7a2ddfcf935ae8378a6)