Commit Graph

5680 Commits

Author SHA1 Message Date
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
Jeremy Huddleston
fe3c35db33 XQuartz: pbproxy standalone: added missing variable declarations.
(cherry picked from commit 2d947d17a3)
2009-05-09 11:38:18 -07:00
Jeremy Huddleston
6ebb56d3f5 XQuartz: Localization update
(cherry picked from commit 9435fc5e20)
2009-04-22 19:32:37 -07:00
Jeremy Huddleston
c0c859ee18 XQuartz: Make sure the bgMouseLocationUpdated state is consistent
(cherry picked from commit 8fa8a8e1db)
2009-04-22 19:32:32 -07:00
Jeremy Huddleston
ac67b4fcf6 Merge commit 'origin/server-1.5-branch' into xorg-server-1.5-apple 2009-04-22 19:29:29 -07:00
Eamon Walsh
e1edd9e668 security: Grant untrusted windows remove access on all windows.
This allows untrusted clients to destroy their own windows when they
have been reparented by a trusted window manager.
(cherry picked from commit 4559d2ace6)
2009-04-16 23:50:13 -04:00
Eamon Walsh
a26ae2c63d security: Fix a crash caused by wrong ordering of format arguments.
(cherry picked from commit 3481b32ab9)
2009-04-16 23:50:05 -04:00
Eamon Walsh
62aa06d499 security: Revert behavior of extension access for compatibility.
Previously, three extensions were defined as "trusted" by the extension:
BIG-REQUESTS, XC-MISC, and XPrint.  No other extensions were permitted
to be used by untrusted clients.

In commit 8b5d21cc1d this was changed for
some reason.  Return to the old, compatible behavior.
(cherry picked from commit 6045506be0)
2009-04-16 23:49:58 -04:00
Jeremy Huddleston
2039470154 1.5.3-apple6 2009-04-11 17:27:11 -07:00
Jeremy Huddleston
a3fbdb30b5 XQuartz: Use correct values for ProximityIn and ProximityOut
This was the other underlying cause of teh 100% CPU tablet issue.
(cherry picked from commit a9cecf34c2)
2009-04-11 17:26:21 -07:00
Jeremy Huddleston
9d8ce0ea76 XQuartz: Solve the tablet 100% CPU bug
This happened because we put a byte in the fd to wake up dispatch, but we never actually enqueued anything in mieq because the num_events was 0.
(cherry picked from commit c21ca7558d)
2009-04-11 17:23:10 -07:00
Jeremy Huddleston
35a678ec15 XQuartz: Re-enable background window checking
since that code was not the culprit for the wacom tablet, background 100% CPU bug
(cherry picked from commit fc1dc5d71b)
2009-04-11 17:22:56 -07:00
Jeremy Huddleston
83c2310b16 XQuartz: Only set MotionNotify on activation if it is updated.
(cherry picked from commit ae8077a251)
2009-04-11 17:22:44 -07:00
Jeremy Huddleston
166c4778fc XQuartz: Make sure the Fn doesn't trigger unneccessary calls to DarwinUpdateModKeys()
(cherry picked from commit 70a18558c6)
2009-04-11 17:22:32 -07:00
Jeremy Huddleston
1bf2708211 XQuartz: Re-enable Fn as an option for 3button mouse simulation.
Patch from Martin Otte <otte@duke.edu>
(cherry picked from commit b5ec3be6b5)
2009-04-11 17:22:10 -07:00
Jeremy Huddleston
5b4f92bf2d XQuartz: xprSetWindowLevel updated to store the level requested by the WM
(cherry picked from commit c28c2ddc3a)
2009-04-10 00:48:19 -07:00
Jeremy Huddleston
6479d39405 XQuartz: Update window levels when changing rootless state
(cherry picked from commit 1359ded5bf)
2009-04-10 00:47:34 -07:00
Jeremy Huddleston
1d50d961f1 XQuartz: Fix window levels for rooted mode to allow showing the menu bar.
(cherry picked from commit 80759a4186)
2009-04-10 00:47:22 -07:00
Jeremy Huddleston
b1cb981097 XQuartz: Properly set the window level for the root window
(cherry picked from commit bdf9286d1c)
2009-04-10 00:47:11 -07:00
Jeremy Huddleston
5c435dc15f XQuartz: Properly set the menu bar and hotkey state when changing rootless mode.
Currently no code path exhibits the broken behavior since we only toggle into rootless if we don't have the root.
(cherry picked from commit 970f100ca3)
2009-04-10 00:46:57 -07:00
Jeremy Huddleston
1367918bd6 XQuartz: In rooted mode, make sure we start in the hidden state.
(cherry picked from commit 5ecc497f71)
2009-04-10 00:46:42 -07:00
Jeremy Huddleston
3b86722e21 XQuartz: Send MotionNotify before button presses when X11 is in the background
(cherry picked from commit c80d0ec18e)
2009-04-10 00:46:30 -07:00
Jeremy Huddleston
d2b6ba0e5d XQuartz: Revert most of the previous override redirect patch
The changes actually caused all windows to move to the current space.  Instead, we're going with a fix entirely within Xplugin that depends on quartz-wm being the window-manager for now.
(cherry picked from commit 997b6f3142)
2009-04-10 00:46:16 -07:00
Jeremy Huddleston
40e0edff78 1.5.3-apple5 2009-04-05 18:59:10 -07:00
Jeremy Huddleston
322b6d6174 XQuartz: Use updated Xplugin API to send overide-redirect windows to the current space when they're ordered in
This fixes the annoying "using a menu moves me to another space" bug
(cherry picked from commit 9e6dab89e0)
2009-04-05 16:32:07 -07:00
Jeremy Huddleston
e2b09eaed7 XQuartz: Send a MotionNotify event for the mouse cursor when activating X11.app
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 c7457d7b31)
2009-04-05 16:32:01 -07:00
Jeremy Huddleston
273e194012 XQuartz: Still send mouse events while X11 is in the background if we have test extensions enabled
(cherry picked from commit f393fb686c)
2009-04-01 13:53:10 -07:00
Jeremy Huddleston
3303d930ea XQuartz: Return BadRequest when SendPSN isn't implemented rather than success
(cherry picked from commit 49871e9917)
2009-04-01 13:52:58 -07:00
Jeremy Huddleston
88291ace66 XQuartz: Pad xAppleDRINotifyEvent to 32bytes to match sizeof(xEvent)
(cherry picked from commit 276ee3bb08)
2009-04-01 13:52:45 -07:00
Jeremy Huddleston
4629bf921a XQuartz: Don't report mouse events while X11 is not the foreground application
(cherry picked from commit 5d1dd35096)
2009-03-31 18:12:38 -07:00
Jeremy Huddleston
1063e4a371 XQuartz: Fix mouse tracking for quake, et. al. in wine
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 7a67935b05)
2009-03-30 20:41:12 -07:00
Jeremy Huddleston
dcc12d6227 XQuartz: Implement SendPSN for AppleWM
(cherry picked from commit 779e9fdc2d)
2009-03-04 13:39:27 -08:00
Jeremy Huddleston
1d65c1cd3a XQuartz: Don't erase the mode_switch+keysym if it's the same as shift+keysym
(cherry picked from commit 3e2427e6e9)
2009-02-26 21:24:48 -08:00
Jeremy Huddleston
317d6f61f2 XQuartz: Re-enable support for capslock
(cherry picked from commit 4901b8147e)
2009-02-24 23:13:31 -08:00
Jeremy Huddleston
09b5238567 1.5.3-apple4 2009-02-24 22:44:55 -08:00
Jeremy Huddleston
9f04b10dea XQuartz: Update GLX code from George's efforts on the 1.6 branch 2009-02-24 22:43:47 -08:00
Jeremy Huddleston
1ece6bb9bb One more XPRINT nuke 2009-02-24 22:33:40 -08:00
Jeremy Huddleston
130388c7c2 1.5.3-apple3 2009-02-24 22:31:01 -08:00
Jeremy Huddleston
03579fe1d5 Default to use standard bitmap fonts, with builtins as fallback
The builtin-fonts configure option was removed, as it at best should
have been a runtime option. Instead, now it always register all "font
path element" backends, and adds built-ins fonts at the end of the
default font path.
  This should be a more reasonable solution, to "correct" the most
common Xorg FAQ (could not open default font 'fixed'), and also don't
break by default applications that use only the standard/historical
X Font rendering.
(cherry picked from commit 49b93df8a3)

    Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 69a2728891)
2009-02-24 22:30:13 -08:00
Julien Cristau
e1b5967c1a Ansify declaration of FontToXError()
(cherry picked from commit e85d5d707d)
2009-02-24 22:29:10 -08:00
Jie Luo
e902f51490 Remove duplicate load of freetype font renderer.
libXfont will do this for us in FontFileRegisterFpeFunctions.
(cherry picked from commit e3ff850174)
2009-02-24 22:29:01 -08:00
Adam Jackson
ddd0691bfa Build fixes
(cherry picked from commit 95000e34df)
2009-02-24 22:28:00 -08:00
Adam Jackson
300322b883 Remove loadable font renderer support.
(cherry picked from commit affec10635)
2009-02-24 22:27:09 -08:00
Adam Jackson
95a7e9b00f Remove the numVideoScreens xprintism.
This was to account for cases where you had video and print screens in
the same server.  Lunacy.  Leave the slot in ScreenInfo, but rename it,
and stop looking at it.
(cherry picked from commit a82e6efb7b)
2009-02-24 22:27:00 -08:00
Tiago Vignatti
6c78f1b736 Remove NOFONTSERVERACCESS macro
dix: this is semantically different but it goes through the same path in
the code.
(cherry picked from commit f3b29efc4d)
2009-02-24 22:26:50 -08:00