Commit Graph

4369 Commits

Author SHA1 Message Date
Jeremy Huddleston
3b55803615 mi: Actually, we don't need to lock at all in mieqProcessInputEvents... 2008-10-23 16:25:31 -07:00
Jeremy Huddleston
6622efca21 XQuartz: pbproxy: Fix compilation on case-sensitive file systems... 2008-10-23 15:01:03 -07:00
Jeremy Huddleston
06655dac00 mi: Just some formatting consistency... 2008-10-23 14:28:50 -07:00
Jeremy Huddleston
d7d4cd3003 mi: Avoid possible deadlock in miEq
When the handler for an event requires sending a message to another thread that is waiting for the miEq mutex.
2008-10-23 14:08:30 -07:00
Jeremy Huddleston
3c69528064 XQuartz: Comment explaining the 0x10 flag for [e data2] 2008-10-23 11:41:22 -07:00
Jeremy Huddleston
78e874fe17 Rootless: Properly typed expose_1 2008-10-23 11:39:04 -07:00
Jeremy Huddleston
bf561a06b2 XQuartz: Honor the Spaces preference for "When switching to an application, switch to a space with open windows for the application" 2008-10-23 11:37:13 -07:00
Jeremy Huddleston
ec9f00b980 1.4.2-apple20 2008-10-22 15:44:02 -07:00
Jeremy Huddleston
e9fe3f36d9 XQuartz: Added missing semicolons to Localizable.strings 2008-10-21 19:36:48 -07:00
Jeremy Huddleston
08a5a333d7 XQuartz: Default dpi to 96 instead of 75 2008-10-21 11:23:42 -07:00
Jeremy Huddleston
cbc0935ef7 XQuartz: pbproxy: SIGHUP reloads preferences. 2008-10-21 11:19:06 -07:00
Jeremy Huddleston
10090a132a XQuartz: Only send mouse events while in the background if we're over a visible window.
This "breaks" xeyes but gets rid of annoying tooltips.
2008-10-21 09:11:59 -07:00
Jeremy Huddleston
22a54e4617 XQuartz: More fullscreen fixes
Start in rooted mode when enabled
  Make the hotkey cmd-alt-a behave
2008-10-21 09:07:08 -07:00
Jeremy Huddleston
f78c9fc06c XQuartz: Cleaned up keyboard init and map reload. 2008-10-20 12:23:04 -07:00
Jeremy Huddleston
a9f9fbf512 XQuartz: Fixed follow-keyboard-layout
≈
2008-10-20 09:46:34 -07:00
Jeremy Huddleston
628cae86b4 XQuartz: More progress towards fullscreen... 2008-10-19 13:54:32 -07:00
Jeremy Huddleston
2c4b0f9615 XQuartz: Fixed missing key-equiv for Hide-Others. 2008-10-17 09:25:26 -07:00
Jeremy Huddleston
ed235e3406 XQuartz: Require applewmproto-1.1.1 2008-10-16 22:36:00 -07:00
George Peter Staplin
165cbbb90c XQuartz: pbproxy: Fix 2 bugs with the preferences.
Add dump_prefs() for instrospection.

Make prefs_get_bool a little more clear.

In get_property don't assume that the Mac realloc(NULL, 0); returns
non-NULL.  We shouldn't depend on implementation-defined behavior too
much.

Add more commentary in various spots.

Add TARGETS in the TARGETS response.  I don't know why some X11 apps
do this, but it could be something that some weird toolkit/app tests
for.

In reload_preferences add preferences synchronization, so that xpbproxy
reloads the preferences, and picks up any changes.

Fix a typo/misspelling of the sync_clipboard_to_pasteboard preference.
2008-10-16 13:09:21 -06:00
Jeremy Huddleston
ef4d37c73f XQuartz: Fixed window levels. 2008-10-15 21:26:58 -07:00
Jeremy Huddleston
37fc7b5819 Depend on xtrans >= 1.2.2 for TRANS_NOXAUTH
(cherry picked from commit 6dbfca571f)
2008-10-15 17:30:16 -07:00
Jeremy Huddleston
bcb83eea72 XQuartz: implemented primary-on-grab and fixed clipboard-to-pasteboard 2008-10-15 14:11:18 -07:00
Jeremy Huddleston
99be3d68b6 XQuartz: Some motion made towards supporting fullscreen. 2008-10-08 18:39:41 -07:00
Jeremy Huddleston
da73a34b12 1.4.2-apple19 2008-10-07 11:52:48 -07:00
Jeremy Huddleston
a11c905203 XQuartz: Fixed EXTRA_DIST for new GL files. 2008-10-07 11:39:08 -07:00
George Staplin
1056700971 XQuartz: GL: setVisualConfigs() copied the behavior of indirect.c which is wrong, with regard to the handling of xcalloc failure.
Use ErrorF for an error message after an xcalloc failure, and return instead of falling through to GlxSetVisualConfigs, or abort()ing at the test branch.
2008-10-07 12:12:38 -06:00
George Staplin
97173d4eda XQuartz: Call setVisualConfigs in InitOutput, and only when GLXEXT is defined. 2008-10-07 11:39:44 -06:00
George Staplin
190a3d5e5d XQuartz: GL: Add the proper license information to the new files, and add more commentary to setVisualConfigs(). 2008-10-07 11:31:48 -06:00
George Staplin
eb3c014e17 XQuartz: GL: Add the new C code to the Makefile.am.
Commit the darwin.c changes I missed in the last commit, for calling
setVisualConfigs().
2008-10-06 18:05:12 -06:00
George Staplin
fc86f9e448 XQuartz: GL: Provide code for getting the capabilities of the underlying system's CGL.
Add a setVisualConfigs that is called before the fbScreenInit, to setup the __GLXvisualConfigs.
2008-10-06 18:01:23 -06:00
Jeremy Huddleston
1fe7298a3b Xquartz: Fix parallel builds 2008-10-04 21:25:50 -07:00
Jeremy Huddleston
af9b1c164b 1.4.2-apple18 2008-10-04 21:07:50 -07:00
Jeremy Huddleston
2021c4c4e7 XQuartz: Bumped bundle version to 2.3.2 for beta1 2008-10-04 21:07:31 -07:00
Jeremy Huddleston
9b5d114092 XQuartz: pbcopy: Re-enabled some code I commented out for testing 2008-10-04 21:06:58 -07:00
Jeremy Huddleston
f7673bb4de XQuartz: xpbproxy: Support some of the preference toggles from X11.app, cleaned up CLIPBOARD_MANAGER atom management. 2008-10-04 18:54:15 -07:00
Jeremy Huddleston
3a6898f487 XQuartz: GLX - enable_stereo defaults option should work now 2008-10-04 15:07:29 -07:00
George Peter Staplin
4d51ad851e XQuartz: pbproxy: Possibly fix a memory leak by using an [NSApp run] loop,
instead of calling CFRunLoopRun() directly.  The leak wasn't reproducible on
this machine, but someone was able to produce a leak trace with Instruments
that indicates it was leaking in the CFRunLoopRun() path.

x-input.m: dequeue and ignore events when pbproxy_active is false.

x-selection.h: add an is_active method that is used by x-input.m to ignore
events.

x-selection.m: Handle nearly every preference, except for primary_on_grab,
which I don't really understand yet.
2008-10-01 00:03:29 -06:00
Jeremy Huddleston
00ca0f4d83 XQuartz: Use "pointer" and "pen" for device names to please GDK. 2008-09-30 13:54:25 -07:00
Jeremy Huddleston
9a91d770a6 XQuartz: Workaround for initial pressure/tilt being sent as 0 with motion during the proximity event 2008-09-30 13:54:25 -07:00
Jeremy Huddleston
d79ccb45f6 XQuartz: Using absolute ranges for pointer location to increase resolution and better support tablets. 2008-09-30 13:54:25 -07:00
Jeremy Huddleston
8ed5faf058 XQuartz: Removed resolved comment about localization. 2008-09-30 13:54:24 -07:00
George Peter Staplin
602e8ba8f7 XQuartz: pbproxy: Make the signal handler safer by using _exit, and only exit.
Remove some unnecesssary headers.

Remove some dead code that was never called or used in pbproxy.

Make use of an NSAutoreleasePool in x_init.  It could potentially cause a leak
on a startup without this.

Start adding reload_preferences to the x_selection class, as well as event
handling for that.
2008-09-30 13:04:35 -06:00
Jeremy Huddleston
2c8205ea8b XQuartz: Added some localizable strings that were missing. 2008-09-29 22:32:24 -07:00
Jeremy Huddleston
f415837619 XQuartz: Actually send the pointer event from the pen even if it happes to actually have 0 pressure and 0 tilt. 2008-09-29 22:26:20 -07:00
Jeremy Huddleston
c2012138a5 Xquartz: xpbproxy: Split out app-specific stuff to app-main.m in prep for making this into a thread. 2008-09-27 15:30:10 -07:00
Jeremy Huddleston
490cbe9888 XQuartz: Send AppleWMReloadPreferences where appropriate. 2008-09-27 15:00:19 -07:00
Jeremy Huddleston
8edc5fb38c XQuartz: Added a --enable-integrated-xpbproxy configure option for building xpbproxy as an app or as a thread. 2008-09-26 16:20:22 -07:00
Jeremy Huddleston
b350b06674 Added dep on applewmproto 1.1.0 2008-09-26 15:55:33 -07:00
George Peter Staplin
6333d619e7 XQuartz: pbproxy: Fix another STRING bug.
Fix the usage of the NSString cStringUsingEncoding: - it doesn't NUL
terminate the string, which lead to a bus error.  So, we use
lengthOfBytesUsingEncoding: to get the length in bytes instead of
strlen().
2008-09-25 14:16:20 -06:00
George Peter Staplin
82a4dc5f0f XQuartz: pbproxy: Fix a bug that rxvt brought out in STRING copying. Now I can copy and paste to/from rxvt correctly. 2008-09-25 12:31:58 -06:00