Kristian Høgsberg
5af77d43fe
DRI2: Drop sarea use, implement server side swap buffers.
2008-08-29 12:33:28 -04:00
Eamon Walsh
60ad8d5d05
Attempt getpeercon() on remote sockets as well as local ones.
2008-08-28 23:45:17 -04:00
Tomas Carnecky
ebea78cdba
Prepare for array-index based devPrivates.
...
TODO: static indices can be made just an int; some indices
can be combined.
2008-08-28 18:05:40 -04:00
Eamon Walsh
ec7907f8fa
Add an array of integers for use as per-screen cursor private keys.
...
Replaces the use of the screen pointer itself as the key, which was
nice but won't work now that an array index is being stored.
2008-08-27 19:27:13 -04:00
Eamon Walsh
8689849149
Remove unused GetGlyphPrivatesForScreen.
2008-08-27 19:17:15 -04:00
Eamon Walsh
90b178cc7f
Don't need to request space for Xnest pixmap private.
2008-08-28 19:36:22 -04:00
Adam Jackson
835b532d6f
Build fix.
2008-08-28 14:49:35 -04:00
Adam Jackson
040212ee60
MIT-SHM pixmaps, if they exist, are ZPixmap.
2008-08-28 13:49:35 -04:00
Adam Jackson
ee7c684f21
Reimplement ShmPutImage.
...
There's no reason to not just dispatch this straight into the GC. As a
bonus, if you do so, damage wraps correctly, and thus swcursor works.
The side effect is it's no longer possible to override ShmPutImage with
ShmRegisterFuncs().
Also remove the (broken) damage tracking for same from EXA, since it didn't
work right, and is now superfluous.
2008-08-28 10:12:28 -04:00
Jeremy Huddleston
2db1afbf2e
XQuartz: Always use TIS for the keyboard layout seed since KB* aren't thread safe.
...
(cherry picked from commit c8244177b0
)
2008-08-26 23:10:18 -07:00
Jeremy Huddleston
319405fa4a
XQuartz: Fixed needed xplugin version. ><
...
(cherry picked from commit 01b3a99dff
)
2008-08-26 23:10:17 -07:00
Jeremy Huddleston
3350770bd6
XQuartz: Use new Xplugin API to determine if a keypress event corresponds to an OS-X hotkey that we should dispatch to Appkit.
...
(cherry picked from commit e7658e745f
)
2008-08-26 20:19:47 -07:00
Jeremy Huddleston
7930ea9116
XQuartz: Made a note to come back to the xinitrc race condition in the 1.5 branch when we move up to it.
...
(cherry picked from commit 54a882dcbd
)
2008-08-26 20:19:44 -07:00
Jeremy Huddleston
dc1171df5b
XQuartz: Fixed bogus args to debug ErrorF
...
(cherry picked from commit f0351c2b80
)
2008-08-26 20:19:41 -07:00
Jeremy Huddleston
ac936525af
XQuartz: Cleaned up mouse event translation a bit more.
...
(cherry picked from commit c286f2a718
)
2008-08-26 20:19:38 -07:00
Jeremy Huddleston
1b42f55000
Xquartz: Added missing ev_type for NSTabletPoint event.
...
(cherry picked from commit 07548f1394
)
2008-08-26 20:19:35 -07:00
Jeremy Huddleston
13a89f1920
XQuartz: Added more explanation to debug keylayout spew to cut down on report-spam.
...
(cherry picked from commit fcdc9f8b5a
)
2008-08-26 20:19:33 -07:00
Maarten Maathuis
dd1e54d6ee
exa: fix thinko from 988725f32e
...
- the drawable of the pixmap is not the same as the original drawable (possibly a DRAWABLE_WINDOW)
2008-08-26 20:02:55 +02:00
Maarten Maathuis
7c14fdbacf
exa: some minor cleanup
...
- Fix compile warning
- Order exa.h by source file that exports the function.
- Move the function i created earlier to private headers.
2008-08-26 17:56:40 +02:00
Maarten Maathuis
de79edbd9f
exa: report damage manually for exa{Trapezoids,Triangles} when needed
...
- Plus a micro cleanup of unused variables.
2008-08-26 17:56:40 +02:00
Maarten Maathuis
988725f32e
exa: move destination damage for internal calls to a special function
...
- This should improve clarity for someone who isn't familiar with the code.
2008-08-26 17:56:40 +02:00
Maarten Maathuis
ce19347680
exa_glyphs: remove useless offset
2008-08-26 17:56:39 +02:00
Kristian Høgsberg
fd94651fc3
Fix driGetConfigAttribIndex unaligned access to GLboolean.
...
We don't actually send the float mode so just drop it. Drop a couple of
other unused or redundant fields from GLXconfig.
2008-08-26 11:07:32 -04:00
Adam Jackson
41bd8d5dfe
EDID: Build fix.
2008-08-25 11:27:26 -04:00
Adam Jackson
76ed409acd
EDID: Publish the whole block on the root window if we've got it.
2008-08-25 10:44:45 -04:00
Adam Jackson
5724f7fb5b
EDID: Publish the whole block in the RANDR property if we've got it.
2008-08-25 10:40:17 -04:00
Alan Coopersmith
668f89eba3
Remove unnecessary #ifdef __SOL8__'s
2008-08-22 10:32:18 -07:00
Alan Coopersmith
cc78d977ca
Convert Solaris #ifdef's for <sys/kd.h> to AC_CHECK_HEADERS check
...
Upcoming virtual terminal support changes in Solaris kernel will provide
<sys/kd.h> on SPARC too, so this gets us ready for them.
2008-08-22 10:14:11 -07:00
Peter Hutterer
95b466e457
Xi: don't include .c files.
2008-08-22 21:38:01 +09:30
Peter Hutterer
c696da75c7
Xi: swap devices property replies.
2008-08-22 21:38:01 +09:30
Julien Cristau
01264f1792
Add swapped dispatch for randr 1.2 requests
2008-08-21 09:24:02 +02:00
Adam Jackson
e02f864fdf
Suppress cursor display until the first XDefineCursor() request.
...
Yes, this means the server will start without showing a cursor. Pretty
much any application that wants to interact with the mouse will define
cursors, so this essentially just delays showing it until gdm (or
whatever) loads.
2008-08-20 13:24:03 -04:00
Adam Jackson
64ef7ed072
Centralize declaration of ConnectionInfo.
2008-08-20 13:14:34 -04:00
Jeremy Huddleston
f1f44940f1
XQuartz: Support windowItemModMask=0 or -1 to disable window shortcuts.
...
(cherry picked from commit 81187364e5
)
(cherry picked from commit f2ec79e4a1
)
2008-08-20 10:00:43 -07:00
Jeremy Huddleston
6c5612c2e1
XQuartz: Added window_item_modifiers defaults item (and option to localization) to change the modifier keys used for the windows menu.
...
(cherry picked from commit e4110861d3
)
(cherry picked from commit fcfc05482a
)
2008-08-20 10:00:37 -07:00
Jeremy Huddleston
bdc277c9b3
XQuartz: Just cleaned up formatting of event processing code... no "meat" changed...
...
(cherry picked from commit 745bc8ab38
)
(cherry picked from commit a28a2be524
)
2008-08-20 10:00:32 -07:00
Jeremy Huddleston
ed42108920
XQuartz: Added appkit_modifiers defaults option which users can set to 'rcommand' to get access to the input menu with right command
...
(cherry picked from commit 02af74d7a5
)
(cherry picked from commit 2da32894df
)
2008-08-20 10:00:27 -07:00
Jeremy Huddleston
be06961312
XQuartz: More input fixes
...
stuck-modifier fixes (capslock)
3button-emulation now doesn't send the modifier key with the click
Added other options to fake_button2 and fake_button3 defaults options:
({l,r}{control,alt,command,shift})
(cherry picked from commit 8fb6a1cf44
)
(cherry picked from commit ae9c1b3cfb
)
2008-08-20 10:00:20 -07:00
Jeremy Huddleston
436b659091
XQuartz: Updated bundle version to 2.3.1
...
(cherry picked from commit eedecba0b8
)
(cherry picked from commit 7d9d864461
)
2008-08-20 10:00:13 -07:00
Maarten Maathuis
bc4cef1d0a
exa: remove useless cache{X,Y}off from UploadToScreen() arguments.
2008-08-19 23:24:33 +02:00
Adam Jackson
38bdc34d55
Remove redundant check.
2008-08-19 15:12:39 -04:00
Adam Jackson
47b31233c2
Simplify driver setup.
...
No point warning about missing driver hooks, that just means the person
who gave you the driver is inept. Might as well just crash. Also,
just name anonymous screens as screen%d instead of failing after the 36th
screen. Bonus points if you can figure out what the failure mode would
be on the 36th screen, and what the effective screen limit was.
2008-08-19 15:10:12 -04:00
Adam Jackson
b99fc65b53
Simplify calling xf86EnableIO() a bit.
2008-08-19 15:06:53 -04:00
Adam Jackson
b1f2c7a89a
The ->Identify hook is not mandatory.
...
Best comment ever though. Mad props.
2008-08-19 15:06:11 -04:00
Adam Jackson
af5125968a
Refactor misprite a bit.
...
No variable declarations in header files, please.
2008-08-19 14:47:10 -04:00
Adam Jackson
41b68e0dea
Remove unused -co option.
...
What did this even do anyway?
2008-08-19 11:02:31 -04:00
Adam Jackson
1f416fba99
Remove unused -bestRefresh option.
2008-08-19 10:56:45 -04:00
Adam Jackson
5a72c45d42
Remove unused -showunresolved option
2008-08-19 10:54:11 -04:00
Adam Jackson
9f08ffc557
Remove unused xf86Info.pMouse
2008-08-19 10:29:41 -04:00
Michel Dänzer
f227fbf74f
EXA: Inline Prepare/FinishAccessWindow into only caller, ChangeWindowAttributes.
...
Also check the requested mask in addition to the GC state before doing work.
2008-08-19 11:36:12 +02:00