Commit Graph

6989 Commits

Author SHA1 Message Date
Jeremy Huddleston
65ab2f44ea XQuartz: Use AvailabilityMacros.h instead of availability.h for Tiger
(cherry picked from commit 91f3c34357)
2009-01-07 01:47:52 -08:00
Jeremy Huddleston
df6ca888b0 XQuartz: Copyright Update... happy new year
(cherry picked from commit 9f1c26ae8d)
2009-01-02 11:07:24 -08:00
Jeremy Huddleston
adbfd49da2 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:36 -08:00
Jeremy Huddleston
0676a580fc 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:31 -08:00
Jeremy Huddleston
0d2621b6d4 XQuartz: Make sure to reset the saved key state when deactivating X11.app
(cherry picked from commit 3eef78eb32)
2008-12-31 12:45:08 -08:00
Jeremy Huddleston
9faf3de7e5 XQuartz: Honor system key repeat rate
(cherry picked from commit 4303c9be39)
2008-12-31 12:44:50 -08:00
Jeremy Huddleston
4be8d7346b XQuartz: Better avoid stuck keys on context switches
(cherry picked from commit e9963f1a4f)
2008-12-31 12:43:13 -08:00
Jeremy Huddleston
c67a3e2972 XQuartz: Workaround OSX VNC server bug for modifier key state
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 bc13dda345)
2008-12-31 12:42:57 -08:00
Jeremy Huddleston
d790c9dd04 XQuartz: Updated man page fullscreen_hotkeys fullscreen_menu
(cherry picked from commit 00f3a2e33c)
2008-12-31 12:42:46 -08:00
Jeremy Huddleston
8c6e8fa811 XQuartz: pbproxy: We explicitly need libX11 for pbproxy
(cherry picked from commit 32824120da)
2008-12-28 22:17:39 -08:00
Jeremy Huddleston
338f096861 XQuartz: Try harder to get the user's login environment
(cherry picked from commit 6bedaddd78)
2008-12-28 22:17:26 -08:00
Jeremy Huddleston
61ae56f973 XQuartz: Reposition windows when we enter fullscreen to ensure our root window
(cherry picked from commit 7617d3659b)
2008-12-28 22:17:12 -08:00
Jeremy Huddleston
85347902d9 XQuartz: Re-enable rlAccel
It was incorrectly blamed for some crashes a few months ago, and it should be
safe to use until we get an EXA driver to replace it.
(cherry picked from commit 8121f30bd2)
2008-12-28 22:16:32 -08:00
Jeremy Huddleston
1ca832002f Updated .gitignore
(cherry picked from commit 06964c322e)
2008-12-28 22:16:21 -08:00
Jeremy Huddleston
932ed6e949 XQuartz: Use depth=24 instead of FatalError if we can't figure out our depth
(cherry picked from commit 80b65c5b78)
2008-12-23 12:45:55 -08:00
Jeremy Huddleston
84f0c03418 XQuartz: Don't use keycode 0 to determine !swallow since our most common key to swallow is actual keycode 0 (a)
(cherry picked from commit 33f43a7f03)
2008-12-21 21:36:00 -08:00
Jeremy Huddleston
7e7758e178 XQuartz: Update our "screens" when we toggle rootless rather than when we toggle fullscreen
This old behavior was used as a workaround for the menubar behavior in the older server,
but we handle it better now and need to update our screens when we toggle the rootless
state instead.
(cherry picked from commit 508aa95bc2)
2008-12-21 21:35:43 -08:00
Jeremy Huddleston
7dc0dafef1 XQuartz: Run applications via '/bin/sh -c ...' to support users who expect shell parsing
(cherry picked from commit 67455e716e)
2008-12-21 21:35:31 -08:00
Jeremy Huddleston
4c256c0e9c XQuartz: pbproxy: Release display notification lock when not needed to avoid deadlock
(cherry picked from commit 22f664ab95)
2008-12-21 21:35:20 -08:00
Jeremy Huddleston
ecc3a7b609 XQuartz: update quoting in case X11.app is moved to a directory with a space.
(cherry picked from commit cc805dc799)
2008-12-21 21:35:02 -08:00
Jeremy Huddleston
c3812aec97 XQuartz: Changed X11.sh to allow use of a ~/.x11run as requested by users of alternate shells
(cherry picked from commit b62ed1f8ea)
2008-12-21 21:34:48 -08:00
Jeremy Huddleston
fd6fb6a277 XQuartz: Get rid of white rectangle bug
(cherry picked from commit 3269959033)
2008-12-21 21:34:36 -08:00
Jeremy Huddleston
488b7bb1ba rootless: Make expose_1 static
(cherry picked from commit 60c8d26970)
2008-12-21 21:34:21 -08:00
Jeremy Huddleston
102abeda37 XQuartz: Name the startup shell script X11 for better compatability
(cherry picked from commit f84613d6fc)
2008-12-17 13:56:55 -08:00
Jeremy Huddleston
530dfa569d Merge commit 'origin/server-1.6-branch' into xorg-server-1.6-apple 2008-12-17 13:56:36 -08:00
Robert Noland
32e81074b9 Support -sharevts on FreeBSD
Bugzilla #11179

Submitted-by: Nathan Whitehorn

Signed-off-by: Robert Noland <rnoland@2hip.net>
(cherry picked from commit 7aa29b9d66)
2008-12-16 12:05:53 -08:00
Ian Romanick
4c68079c2a GLX: Changes resulting from changes to Mesa generator scripts / data
Several recent Mesa commits (listed below) make modifications to the
protocol generator data and scripts.  This commit represents the
changes to the generated files resulting from the previous changes.

    - 0f73302d24f4201813da2939742c5bcb6964b3b1
      GLX: Fix protocol for glTexSubImage#D

    - 1709ab01ef24279c782e420568e9257b4b92b224
      Return 0 as the request size when the pixels parameter is NULL

    - 63cca2ba10ce7dcc8481cfa4be3872dfc269dded
      GLX: Include glapi.h before glapitable.h

This is the server-side part of the fix for bugzilla #11003.
(cherry picked from commit f1c9b5ab23)
2008-12-16 12:03:06 -08:00
Cooper Yuan
75bad86992 Fix typo in xf86PickCrtcs()
(cherry picked from commit 2a61397d17)
2008-12-16 12:03:05 -08:00
Jeremy Huddleston
f427d3aaa7 XQuartz: Updated menu item ordering for better HIG compliance
(cherry picked from commit 4c9bb241ce)
(cherry picked from commit 73987010b2)
2008-12-16 12:03:05 -08:00
Jeremy Huddleston
d0eb4337e3 XQuartz: Tiger fix, don't call Xplugin code in the Appkit thread if Xplugin isn't threadsafe.
(cherry picked from commit 748d9e5bd7)
(cherry picked from commit fd31984e0c)
2008-12-16 12:03:05 -08:00
Jeremy Huddleston
d9e1fdcd40 XQuartz: Fix path to executable
(cherry picked from commit 7e9d3698e0)
(cherry picked from commit 5926b213b3)
2008-12-16 12:03:05 -08:00
Jeremy Huddleston
e93daf4e71 XQuartz: fixed make dist
(cherry picked from commit 2d52367ab9)
(cherry picked from commit 13eff12902)
2008-12-16 12:03:05 -08:00
Jeremy Huddleston
1cf76f23c7 XQuartz: Avoid using login /bin/sh blech. Just use a bash script to start the app, so it will inherit the right environment
(cherry picked from commit f4b7ad9cc6)
(cherry picked from commit fdf6425612)
2008-12-16 12:03:05 -08:00
Jeremy Huddleston
22d3ecda18 XQuartz: unset DISPLAY if we didn't get a launchd socket handoff
(cherry picked from commit b959727f38)
(cherry picked from commit 9cbed0a325)
2008-12-16 12:03:05 -08:00
Jeremy Huddleston
9eb5f30929 XQuartz: unsetenv(DISPLAY) if we're not org.x.X11
Also some prefix related fixes.
(cherry picked from commit fd459e9658)
(cherry picked from commit 99b2cbf061)
2008-12-16 12:03:05 -08:00
Jeremy Huddleston
19e6f73710 XQuartz: Removed some debug spew
(cherry picked from commit 370dcf11b3)
(cherry picked from commit 8065953ea8)
2008-12-16 12:03:05 -08:00
Jeremy Huddleston
ced368287b XQuartz: darwinPointer reports the actual pixel position now rather than a relative position
(cherry picked from commit a41e7f75de)
(cherry picked from commit 70930f6d31)
2008-12-16 12:03:04 -08:00
Jeremy Huddleston
b5687a9d12 XQuartz: Corrected name/command labels in the customization widget
(cherry picked from commit a689c23f17)
(cherry picked from commit 9ac2e68d86)
2008-12-16 12:03:04 -08:00
Jeremy Huddleston
53d93d0d29 Removed unised option from configure.ac for launchd
(cherry picked from commit 87e4de0a9a)
(cherry picked from commit 451050b1e2)
2008-12-16 12:03:04 -08:00
Jeremy Huddleston
df3f23fe8d XQuartz: pbproxy: Simplify linking
(cherry picked from commit 909cc5c4dc)
(cherry picked from commit cbb9ee57f8)
2008-12-16 12:03:04 -08:00
Peter Hutterer
6e8626f2eb Xi: silence compiler warning
Don't mix declarations and statements.
(cherry picked from commit fb2a8d0e59)
2008-12-16 12:03:04 -08:00
Peter Hutterer
e56059dfa5 xfree86: fix compiler warning (use of uninitialized variable)
drv and idev are only set for SDs, but are only dereferenced for SDs too, so
initializing them to NULL is safe.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
(cherry picked from commit 8e32791349)
2008-12-16 12:03:04 -08:00
Peter Hutterer
0d12c44d83 xfree86: don't render SW cursors for devices attached to VCP (#16805)
When leaving 3D games such as quake3 or sauerbraten, a cursor may stay on the
screen. This is caused by one run of SW rendering for the SD, even though the
SD was attached to the VCP and thus has HW rendering capabilities.

Check for the SD's attachment (like in all other functions) before deciding on
SW or HW rendering.

X.Org Bug 16805 <http://bugs.freedesktop.org/show_bug.cgi?id=16805>

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
(cherry picked from commit bb072019fa)
2008-12-16 12:03:04 -08:00
Peter Hutterer
63b3bf85ed xkb: Allow NULL as rulesFile in XkbSetRulesDflts.
If no rules file is given, simply re-use the previous one. If no RF is given
the first time this function is called, use the built-in default.
This includes fixing the built-in default to something that actually exists.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
(cherry picked from commit 463e02e7de)
2008-12-16 12:03:04 -08:00
Peter Hutterer
9a44cc619f Xi: don't update VCP's valuators from DeviceValuator events #18882
The VCP doesn't need to update the valuators anyway since it cannot send XI
events. Just skip that bit.

X.Org Bug 18882 <http://bugs.freedesktop.org/show_bug.cgi?id=18882>

Signed-off-by: Keith Packard <keithp@keithp.com>
2008-12-16 12:03:04 -08:00
Stuart Bennett
c7fffe9e13 dolt: allow older versions of bash to compile the xserver (#19031)
Signed-off-by: James Cloos <cloos@jhcloos.com>
(cherry picked from commit 7be6520d94)
2008-12-16 12:03:03 -08:00
Adam Jackson
ca56d764d2 xsync: Fix wakeup storm in idletime counter.
Wakeup scheduling only considered the threshold values, and not whether
the trigger was edge or level.

See also:
https://bugzilla.redhat.com/show_bug.cgi?id=474586
http://svn.gnome.org/viewvc/gnome-screensaver/trunk/src/test-idle-ext.c?view=markup
(cherry picked from commit 1f4fb0225b)
2008-12-16 09:55:27 -05:00
Adam Jackson
a82f10c5dd randr: clear primaryOutput when the output is deleted
(cherry picked from commit 86c64ddf21)
2008-12-16 09:55:24 -05:00
Adam Jackson
2bc53ce668 randr: use primary output for RRFirstOutput()
(cherry picked from commit fe65f400ed)
2008-12-16 09:55:20 -05:00
Adam Jackson
f0234a9eb8 randr: Mangle GetScreenResources sort order based on primary output
(cherry picked from commit cdcb516e56)
2008-12-16 09:55:17 -05:00