Commit Graph

5724 Commits

Author SHA1 Message Date
Jeremy Huddleston
c230b52c27 XQuartz: Unify how we set our bitmasks for visuals 2009-07-31 15:32:07 -07:00
Jeremy Huddleston
6c9dd6c258 Revert "XQuartz: Let miSetVisualTypes set the mask, since we are using the default anyways."
This reverts commit c850b6109c.

I lied... we're nativelt ARGB, not ABGR
2009-07-31 15:04:25 -07:00
Jeremy Huddleston
e457a44e87 XQuartz: Dead code removal for StaticColor visual 2009-07-31 14:19:50 -07:00
Jeremy Huddleston
d32c3df258 XQuartz: Cleanup the bitmask setting for GLX visuals. 2009-07-31 14:14:21 -07:00
Jeremy Huddleston
c850b6109c XQuartz: Let miSetVisualTypes set the mask, since we are using the default anyways. 2009-07-31 13:40:21 -07:00
Jeremy Huddleston
df2fbc410f XQuartz: no DirectColor 2009-07-30 01:30:52 -07:00
Jeremy Huddleston
1133473812 XQuartz: Define DDXRingBell 2009-07-30 00:51:55 -07:00
Jeremy Huddleston
6edce6947b XQuartz: Avoid a possible spinlock in applicationWillTerminate
(cherry picked from commit f430cda0fd)
2009-07-28 22:53:14 -07:00
Jeremy Huddleston
3a42b274ad XQuartz: Avoid namespace collission for BOOL in Sparkle
(cherry picked from commit 227c6e01a6)
2009-07-28 22:53:07 -07:00
Keith Packard
c83e842d62 Build against DRI_TEX_BUFFER_VERSION 1
setTexBuffer2 isn't present in this version of the structure, so don't try
to call it.

Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit a7a93c12f9)
2009-07-26 12:33:14 -07:00
Kristian Høgsberg
e34a12b18f Support setTexBuffer2 in AIGLX.
Fixes broken GLX_tfp, specifically, lets compositors ignore un-defined
alpha channel for pixmaps.
(cherry picked from commit 91b697efde)
2009-07-26 12:32:48 -07:00
Ian Romanick
ee6ce7e4cc glx: Inialize best_score before calculating visual scores
This bug was pointed out by Peter Åstrand.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 4039603413)
2009-07-26 12:25:50 -07:00
Alan Hourihane
5cae7f5a60 glx: fix retval checks when failures occur for drawable creation.
(cherry picked from commit a26c77ff43)
2009-07-26 12:25:39 -07:00
Eric Anholt
0fd4d26240 glx: Replace broken GLX visual setup with a fixed "all" mode.
With trying to match depths so that you didn't end up with a depth 24
fbconfig for the 32-bit composite visual, I broke the alpha bits on the depth
24 X visual, which angered other applications.  But in fixing that, the
pickFBconfigs code for "minimal" also could end up breaking GLX visuals if
the same FBconfig was chosen for more than one X visual.
We have no reason to not expose as many visuals as possible, but the old
"all" mode didn't match any existing X visuals to GLX visuals, so normal
GL apps didn't work at all.

Instead, replace it with a simple combination of the two modes: Create GLX
visuals by picking unique FBconfigs with as many features as possible for
each X visual in order.  Then, for all remaining FBconfigs that are
appropriate for display, add a corresponding X and GLX visual.

This gets all applications (even ones that aren't smart enough to do FBconfigs)
get all the options to get the visual configuration they want.  The only
potential downside is that the composite ARGB visual is unique and gets a
nearly full-featured GLX visual (except that the root visual might have taken
the tastiest FBconfig), which means that a dumb compositing manager could
waste resources. Write compositing managers using FBconfigs instead, please.
(cherry picked from commit c40bad88475debf7a1774e22dce835577ad32154)

Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 516f8e2cad)
2009-07-26 12:25:11 -07:00
Eric Anholt
7f9df0c932 glx: Don't match fbconfigs to visuals with mismatched channel masks.
This fixes at least one known bug, where the depth 32 visual would end up
with a depth 24 fbconfig attached, angering compiz.
(cherry picked from commit 5100d829a4)
2009-07-26 12:24:52 -07:00
Jeremy Huddleston
cf9675c41a 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:22 -07:00
Jeremy Huddleston
c83f701aa7 XQuartz: Bump the reported version to X11R7.4 2009-07-25 15:21:12 -07:00
Jeremy Huddleston
75e1047308 XQuartz: xpr: Added missing include for RootlessHideAllWindows 2009-07-25 10:39:26 -07:00
Jeremy Huddleston
023cef31bb 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.
2009-07-24 09:16:37 -07:00
Jeremy Huddleston
cd5ae2c7db 1.5.3-apple12 2009-07-23 20:05:17 -07:00
Jeremy Huddleston
27ac513526 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
2009-07-23 20:03:29 -07:00
Jeremy Huddleston
b2e9a77111 XQuartz: Set can_quit to true during a Sparkle-initiated relaunch. 2009-07-21 00:22:12 -07:00
Jeremy Huddleston
305144bfa4 XQuartz: Added a "Check for X11 Updates..." menu item. 2009-07-20 22:38:25 -07:00
Jeremy Huddleston
f1aa4746e5 1.5.3-apple11 2009-07-18 15:52:31 -07:00
Jeremy Huddleston
c45f1be364 XQuartz: Initial support for automatic updates through Sparkle 2009-07-18 15:51:29 -07:00
Jeremy Huddleston
46bfacc69c XQuartz: Localization updates
(cherry picked from commit 4b797fc1ed)
2009-07-16 17:30:01 -07:00
Jeremy Huddleston
f2db41de0c XQuartz: Cleanup getGlCapabilities to avoid hardcoding the number of displays
(cherry picked from commit 12f7365f1f)
2009-07-16 17:29:56 -07:00
Jeremy Huddleston
1814fdf45a XQuartz: Allow more than 3 OSX displays
(cherry picked from commit 45045eb396)
2009-07-16 17:29:51 -07:00
Jeremy Huddleston
3638f99f03 XQuartz: SwitchCoreKeyboard() to copy the keymap to the virtual core keyboard. 2009-07-15 23:05:11 -07:00
Jeremy Huddleston
044bd7f605 XQuartz: Cleanup keymap locking, fix a possible synchro bug
(cherry picked from commit 33e7437a49)
2009-07-15 23:04:46 -07:00
Jeremy Huddleston
64016ccc46 1.5.3-apple10 2009-07-03 19:27:03 -07:00
Jeremy Huddleston
ddc0242d8f XQuartz: ProcAppleWMAttachTransient to play nice with the new Dock in SL 2009-07-03 19:25:33 -07:00
Jeremy Huddleston
f651d98db5 1.5.3-apple9 2009-06-27 21:32:33 -07:00
Jeremy Huddleston
40c1406830 XQuartz: Don't leave zombied processes at startup 2009-06-27 15:28:34 -07:00
Jeremy Huddleston
60a757d280 XQuartz: 64bit fix for screen origin in AppleWM 2009-06-27 14:40:03 -07:00
Jeremy Huddleston
a5f055bf22 XQuartz: More localization updates
(cherry picked from commit 5925c1f48a)
2009-06-27 10:41:51 -07:00
Jeremy Huddleston
a3b877c5bb XQuartz: More localization updates
(cherry picked from commit 7fbe974246)
2009-06-19 21:16:40 -07:00
Jeremy Huddleston
31a20a573b GLX: Make sure the types match for ALIAS in indirect_reqsize.c 2009-06-06 22:17:44 -07:00
Jeremy Huddleston
e10c53421f 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.
2009-06-06 21:55:51 -07:00
Jeremy Huddleston
a2e2765c31 1.5.3-apple8 2009-06-04 23:54:04 -07:00
Jeremy Huddleston
fcd857c8e2 Rootless: Use serverClient instead of NullClient
This seems to stop the crash when moving windows.
2009-06-02 19:12:41 -07:00
Jeremy Huddleston
09432fa5b1 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)
2009-06-02 10:20:50 -07:00
Jeremy Huddleston
bb0e208787 Rootless: Despite its name, we still want to allow rootless to mess with the root window
This fixes the bug whereby we weren't drawing the contents of the root window since RootlessPaintWindowBackground got nuked.
2009-06-01 22:58:40 -07:00
Jeremy Huddleston
6a11ef680c 1.5.3-apple7 2009-05-30 00:51:16 -07:00
Jeremy Huddleston
b4adec886c GLX: Purge glxint.h usage
Change (__GLXvisualConfig *) to (void *) in ABI compat stubs.
2009-05-29 14:44:40 -07:00
Jeremy Huddleston
e587436cf2 GLX: Purge some glxint.h usage in glxcmds.c
This is related to d0b249f1c5 in the 1.4 branch and was ok'd by krh
2009-05-29 14:27:46 -07:00
Jeremy Huddleston
032173f693 XQuartz: Fix alpha to be 1 (screenshots bug, etc)
This is related to: bc964ff1e3
XQuartz: Stab at fixing the alpha 0/1 bug (screenshots, etc) by pulling in some old code that got gutted from rootless.

which was on the 1.4 branch and implemented in fbPaintWindow.  Now that fbPaintWindow is gone, this is now in miPaintWindow().
2009-05-29 14:09:41 -07:00
Jeremy Huddleston
4975c08725 Rootless: Use miPaintWindow since PaintWindowBackground is dead 2009-05-29 14:02:18 -07:00
Jeremy Huddleston
891edc919c XQuartz: English localization update for HIG compliance
(cherry picked from commit 86b319d7cb)
2009-05-29 11:44:36 -07:00
Jeremy Huddleston
be4c14755a XQuartz: More localization updates
(cherry picked from commit b107390c9f)
2009-05-27 10:07:54 -07:00