Commit Graph

2077 Commits

Author SHA1 Message Date
Ben Byer
c213749b19 fixes to allow Xvfb and Xephyr to be built if you build with --disable-xdarwin 2007-11-20 03:41:29 -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
Ben Byer
579a051457 Workaround for a bug where the holding down Command to make a "fake"
button 2 click would actually result in a Command-2 chord.
(I.e. it wasn't releasing Command before clicking the fake button.)
2007-11-20 03:26:54 -08:00
Ben Byer
65c67205fd Enable PseudoramiX extension by default, like on the old server 2007-11-20 03:18:21 -08:00
Ben Byer
37679cadf8 make dist fixes 2007-11-20 03:17:45 -08:00
Ben Byer
cfdf2fa281 Added patch fix yellow-cursor problem which appears on some Intel Macs 2007-11-20 03:17:00 -08:00
Ben Byer
616ba3c7d6 finished committing downstream changes 2007-11-20 03:15:02 -08:00
Ben Byer
b8e6c80c0d more patches, autoconf fixes... 2007-11-20 03:13:06 -08:00
Ben Byer
120e831640 More patches from downstream 2007-11-20 03:01:12 -08:00
Ben Byer
2c4d1eeb41 removed CVS Id tags 2007-11-20 02:25:59 -08:00
Ben Byer
a1d901d686 merged the rest of Apple patches to xserver 2007-11-20 02:24:54 -08:00
Ben Byer
e3f9867e86 added missing file from Apple version of 7.2 2007-11-20 02:21:14 -08:00
Daniel Stone
b3de1b9d37 XFree86 Misc/VidMode: Remove ridiculous debug ErrorFs
When we're building with --enable-debug, don't emit an ErrorF every time a
function gets called.
(cherry picked from commit 6d59bb5709)
2007-11-17 22:06:49 +01:00
Dodji Seketeli
007e2239cf Xephyr: don't initialise the GLX extension 2007-11-12 20:29:12 +01:00
Matthias Hopf
f350c81a91 Prefer configured DisplaySize to probed DDC data, if available.
Based on patch by Hong Liu <hong.liu@intel.com>.
(cherry picked from commit 48ca5961ca)
2007-11-06 14:53:42 +00:00
Keith Packard
c550186570 Screen size changing should leave FB alone when X is inactive.
xf86RandR12ScreenSetSize must protect calls to EnableDisableFBAccess with
suitable vtSema checks to avoid invoking driver code while the X server is
inactive.
(cherry picked from commit 265a633cf1)
2007-11-06 14:53:03 +00:00
Mark Vytlacil
ab80b27250 XFree86: Input: Save/restore errno around SIGIO (bug #10683)
Make sure errno is saved and restored from the SIGIO handler, so errors
from system calls in input handlers don't break the interrupted code.
(cherry picked from commit 41c3069f7c)
2007-11-04 16:46:34 +00:00
Peter Hutterer
84040b655e xfree86: wrap keyboard devices for XKB.
Call ProcessOtherEvents first, then for all keyboard devices let them be
wrapped by XKB. This way all XI events will go through XKB.

Note that the VCK is still not wrapped, so core events will bypass XKB.

(cherry picked from commit d627061b48)
(cherry picked from commit 8ead41388e)
2007-10-30 00:59:17 +02:00
Daniel Stone
b76b1d51fe XFree86: Remove ridiculous SIGIO debugging
YOU PRESSED A KEY
AND AGAIN
YOU RELEASED A KEY
AND AGAIN
YOU PRESSED A KEY
AND AGAIN

... not so much.
(cherry picked from commit 493b83bd09)
2007-10-30 00:58:19 +02:00
Daniel Stone
bd779f8cde configure.ac/XFree86: Only build XF86Misc and XF86VidMode when appropriate
Don't build XF86Misc or XF86Vidmode in hw/xfree86/dixmod when it's been
explicitly disabled in configure, or we don't have the proto modules
installed.

(cherry picked from commit df57ae1639)
2007-10-30 00:57:49 +02:00
Daniel Stone
f73fd98a86 Fix key repeats during VT switch.
Add keyc->postdown, which represents the key state as of the last mieqEnqueue
call, and use it when we need to know the posted state, instead of the
processed state (keyc->down).  Add small functions to getevents.c to query and
modify key state in postdown and use them all through, eliminating previously
broken uses.
(cherry picked from commit 81c28ffd2b)
2007-09-05 17:47:50 -07:00
Keith Packard
3c5fe1ec37 Deliver correct event when releasing keys on VT switch.
In commit 41bb9fce47, the event delivery loop
for Xinput enabled keyboards was changed and accidentally used the wrong
index variable, causing random events to be delivered when returning from VT
switch.

In addition, in commit aeba855b07,
SIGIO was blocked during delivery of these events, but not for the entire
period the xf86Events array was being used. Block SIGIO for the whole loop
to avoid other event delivery from trashing the key release events.
(cherry picked from commit aa7ed1f5f3)
(cherry picked from commit accd71bda6)
2007-09-05 14:59:16 -07:00
Eric Anholt
70ed110538 Fix server version reporting to be the server package version.
Previously, the server version reported by xdpyinfo and Xorg -version would
bear some vague resemblance to a X.Org katamari version, but in the presence
of modularization (and client-server relationships with different katamari
versions on each side) those numbers don't really make sense.  Instead, just
report the package version.

When branching a stable branch, master's version should be immediately updated
to the endpoint of the stable branch plus a snapshot of 1 (for example,
1.4.0.1 after server-1.4-branch).  The stable branch should then be changed to
RC0 at that time (1.3.99.0, for example).

This scheme was partially attempted for server 1.3, but lacked the appropriate
master updates, thus why it had to be revisited now.  While here, we can also
remove a lot of versioning complexity since everything is based on the package
version.

(cherry picked from commit 47300ed2be)
2007-09-05 13:31:50 -07:00
Alan Hourihane
b328d55372 Allow yres_virtual to be greater for some kernel fbdev drivers.
(temporary fix for older fbdev drivers)
(cherry picked from commit 87495fc706)
2007-09-04 17:44:17 -07:00
Eric Anholt
5efc4bd7d0 Remove backend.[ch] from neomagic to fix distcheck.
(cherry picked from commit 917e3bb83a48da7618fce463cf6283be36cd9084)
2007-08-31 18:28:34 -07:00
Egbert Eich
bcd6708895 Fixing a misleading comment which could suggest a GPL violation.
The author of the int10 code looked at the VBIOS POSTing code
in DOSEMU to get some initial idea on how to POST a VBIOS.
To give credit to the DOSEMU Team for this inspiration a comment
was added to the code which could suggest that code from the
GPLed DOSEMU was directly incorporated into this code.
This patch should clearify the situation.
(cherry picked from commit 1d11e4bc4c)
2007-08-30 11:20:40 -07:00
Eric Anholt
ed001ed363 Bug #9629: Remove badly-licensed neomagic kdrive files.
Licensing issues of these files include:
- They claim to be licensed under the GPL, yet we haven't allowed that in the
  xserver repository in the past.
- They refer the user to the top of the tree for GPL license text, yet it isn't
  there.
- They claim to be derived from the (MIT-licensed) ati kdrive code, yet don't
  follow the licensing terms of those files.
(cherry picked from commit 87295b66a9)
2007-08-29 16:48:59 -07:00
Alex Deucher
5182fbf302 Add _X_EXPORT to exported functions in hw/xfree86/modes/*
Also add missing exports to hw/xfree86/loader/xf86sym.c
(cherry picked from commit 81f8b652d9)
2007-08-29 16:48:52 -07:00
Dave Airlie
d34b66402c randr: fixup crtc and output destroy
if you are moving pointers, you want to move the pointers not just a byte
(cherry picked from commit 76bf3cd7b8)
2007-08-23 12:22:56 -07:00
Keith Packard
efac9c9c2e Ref count cursors used in hw/xfree86/modes code.
The multi-crtc cursor code in hw/xfree86/modes holds a reference to the
current cursor. This reference must be correctly ref counted so the cursor
is not freed out from underneath this code.
(cherry picked from commit 7dc8531548)
2007-08-23 12:22:35 -07:00
Alex Deucher
248b220b3e add xf86_crtc_clip_video_helper to xf86sym.c
(cherry picked from commit 1f6ddae003)
2007-08-23 12:22:17 -07:00