Jeremy Huddleston
b8ccca70ff
Darwin: Workaround weird crash in keyboard events
...
Somehow including dix-config.h in darwin.h is crashing us... just defining
SHAPE as a workaround for now.
2007-11-26 14:29:07 -08:00
Jeremy Huddleston
e4933212e1
Darwin: Switched to expirimental darwinEvents.c from master
2007-11-26 13:05:48 -08:00
Jeremy Huddleston
9c6d8a035b
Darwin,Rootless: Makefile cleanup
2007-11-26 13:04:57 -08:00
Jeremy Huddleston
78b053b859
Darwin: Formatting cleanup
2007-11-24 03:34:48 -08:00
Jeremy Huddleston
28ae09f355
Darwin: Sync-up to master and xorg-server-1.2-apple where appropriate
2007-11-23 14:18:04 -08:00
Jeremy Huddleston
738a229a71
Various cleanups to get Xquartz to compile.
2007-11-20 06:59:11 -08:00
Jeremy Huddleston
7f91d756ac
Darwin: Formatting Cleanup
...
To better line up with xorg-server-1.2-apple branch
2007-11-20 04:49:34 -08:00
Jeremy Huddleston
8c533443f8
Darwin: Sync up darwinEvents.c to match what is in use in xorg-server-apple-1.2
2007-11-20 04:10:45 -08:00
Jeremy Huddleston
837fd3bb99
Darwin: Fixed make dist
...
Added/corrected missing EXTRA_DIST entries.
2007-11-20 04:07:44 -08:00
Jeremy Huddleston
0bd2b610c4
XDarwin dead code removal
...
Removed unused code from the tree
Moved some files to more appropriate locations
2007-11-20 04:07:42 -08:00
Ben Byer
260ea61540
Added some DEBUG_LOG sauce to the XP_EVENT handling code
2007-11-20 04:07:39 -08:00
Ben Byer
1ffd8ba7a2
Disabled ALT_IS_MODE_SWITCH
...
(just for joke, nothing more)
2007-11-20 04:07:37 -08:00
Jeremy Huddleston
db6404f9d0
Added --with-x11app-archs configure option
...
This configure option's value is passed to xcodebuild in ARCHS, so we can easily choose architecture targets for X11.app
2007-11-20 04:07:34 -08:00
Ben Byer
e220328bdf
From Jeremy: In my previous patch, I "overfixed" hook.c. This patch
...
removes the changes I made to the searching for loop since those are
extraneous due to the remove function call in the delete for loop.
2007-11-20 04:07:32 -08:00
Ben Byer
c50a40263b
More correctness fixes to fix compiler warnings.
2007-11-20 04:07:29 -08:00
Ben Byer
cee516e142
From Jeremy Huddleston:
...
1) Fixed a bug where XQUARTZ was #defined when auto but not when --enable-xquartz
2) Cleaned up missing #includes and function prototypes.
3) Fixed some invalid C syntax problems
4) Removed a bunch of dead code
5) Cleaned up code to prevent some warnings
6) Bugfix in xpr/x-hook.c - looks like someone just forgot to finish writing code for hook_remove()... I only noticed it because gcc -Wall complained about reaching the end of a non-void function... lucky for us gcc is smarter than we are.
2007-11-20 04:07:22 -08:00
Ben Byer
41eabe5d4c
added a bunch of debugging code to help troubleshoot the stuck
...
modifier key issue; much of it may be taken out later.
Also, hopefully fixed a race condition that may have
prevented ReleaseModifiers from working in some cases.
2007-11-20 04:05:37 -08:00
Ben Byer
6577916c44
a first stab at DEBUG_LOG
2007-11-20 04:04:53 -08:00
Ben Byer
7696bcddd0
Added a lightweight debugging facility to support troubleshooting
...
(for example) the stuck modifier key issue
2007-11-20 04:02:28 -08:00
Ben Byer
cad8133cce
More XDarwin cleanup / dead code removal from Jeremy
2007-11-20 04:02:15 -08:00
Ben Byer
da6cfcb89b
Build system patches to remove XDarwin from the build (since it doesn't
...
work anyway), courtesy of Jeremy Huddleston
2007-11-20 04:00:00 -08:00
Ben Byer
96416bd595
fix missing -DXFree86Server; this needs to be defined when building
...
fb/fbcmap.c or else you get the "sunglasses effect"
2007-11-20 03:58:59 -08:00
Ben Byer
cfa99fa687
null pointer check
2007-11-20 03:54:49 -08:00
Ben Byer
10ecb31cd1
More build system fixes from Jeremy
2007-11-20 03:54:47 -08:00
Ben Byer
1c8e5994c6
converted some debugging prints to TRACE() statements
2007-11-20 03:54:44 -08:00
Ben Byer
22bf25c1b4
Fix for stuck modifier keys, attempt 2!
2007-11-20 03:54:29 -08:00
Ben Byer
1bad9b87e5
And now we kill XDarwinApp -- credit, Jeremy Huddleston
2007-11-20 03:48:24 -08:00
Ben Byer
49b2fb0965
Patch to fix various issues with the launcher, courtesy of Jeremy Huddleston
2007-11-20 03:43:12 -08:00
Ben Byer
ec0d30011c
Fixed the call to xp_init so that we now receive Motion notifications even
...
if X is not the active application.
fixes <rdar://problem/5167664> xeyes dead until window activation
2007-11-20 03:43:03 -08:00
Ben Byer
10a5178258
Fix {/usr/X11,/Applications/Utilities}/X11.app install targets to properly respect
...
$DESTDIR. Credit to Jeremy Huddleston
2007-11-20 03:41:32 -08:00
Ben Byer
906c3195c9
fix for spurious "Are you sure you want to quit?" message
2007-11-20 03:41:27 -08:00
Ben Byer
d54bb8fafa
Adding "fake RandR" support from old X11.app
2007-11-20 03:41:24 -08:00
Ben Byer
7768c63675
formatting fixes
2007-11-20 03:41:19 -08:00
Ben Byer
6efdc6ca7b
Fix for off-by-one error in menu bar height calculation -- props to Nicholas Riley!
2007-11-20 03:41:17 -08:00
Ben Byer
5d0c594e1d
Undo some last-minute breakage in xpr.h
2007-11-20 03:41:14 -08:00
Ben Byer
cd7ab53241
removed debugging output
2007-11-20 03:41:12 -08:00
Ben Byer
c536ddf6ae
Fixed focus problem (clicking on an X11 window that sits behind
...
an Aqua window would not always bring it to the top of the stack.
2007-11-20 03:41:09 -08:00
Ben Byer
36fca3bc35
formatting changes.
2007-11-20 03:41:07 -08:00
Ben Byer
9a0ee8b746
Fixed Spaces issue, correctly -- dragging an X window from one
...
Space to another in Expose mode now works.
2007-11-20 03:41:04 -08:00
Ben Byer
d24c85e507
formatting cleanup
2007-11-20 03:39:00 -08:00
Ben Byer
e8af07211f
Fixed logic error that prevent JIS (Japanese) keyboard layouts from
...
being detected.
2007-11-20 03:38:57 -08:00
Ben Byer
83ef367458
Disable deferred updates in xp_init to fix performance problems
...
-- thanks to Eric Gouriou for pointing out the issue
2007-11-20 03:38:50 -08:00
Ben Byer
907129f62b
Initial support for Spaces -- if you use Expose to drag an X11
...
window to another Space, it will work correctly (as opposed
to just leaving a ghost window). We accomplish this by listening
for the notification from Xplugin that our window has been moved,
and then we ask X11 to move the window to the new location.
2007-11-20 03:36:16 -08:00
Ben Byer
0ed01da098
Fix for focus issue:
...
<rdar://problem/5289578> X11 menu bar uncoupled from X11 application's windows
Credit to William Mortensen for submitting the first community patch!
2007-11-20 03:30:44 -08:00
Ben Byer
23cdc7027a
Swap modifier keys for buttons 2 and 3 -- now Option-click is the middle click
2007-11-20 03:30:41 -08:00
Ben Byer
c42059a8ad
default for is_uchr should be 1, not 0
2007-11-20 03:30:39 -08:00
Ben Byer
94c71a1405
fixed an uninitialized variable, which caused keyboard breakage on x86
...
when building with optimization enabled.
2007-11-20 03:30:36 -08:00
Ben Byer
ed15fe4f52
fixed bug that prevented customized Applications menu items
...
with arguments from working
2007-11-20 03:30:31 -08:00
Ben Byer
a1c8b66164
fix incorrectly formatted .xinitrc warning
2007-11-20 03:30:29 -08:00
Ben Byer
005b7d637a
Trap Deactivate messages and release modifiers to avoid "stuck shift lock" (etc) bugs
2007-11-20 03:30:26 -08:00