Commit Graph

3351 Commits

Author SHA1 Message Date
matthieu
e03328b4d1 Use the array size for checking the validity of request numbers
instead of hard-coded constants. Suggested by Julien Cristau.
2011-04-01 21:27:04 +00:00
matthieu
90f7a9841a Xext: fix test on extension number for the swapped case. 2011-04-01 21:24:37 +00:00
matthieu
f2c1aca964 Simpler fix for 64 bits architectures, suggested by Peter Hutterer:
Just use Data() to send the xXIEventMask structure on the wire.
2011-04-01 21:22:48 +00:00
matthieu
a282fbce7f WriteReplyToClient() swaps rep contents if client and server endianess
differ. Cache rep.length so that it can be used after returning from
WriteReplyToClient().
Fixes xinput --list when client and server have different endianess.
gtk3-demo now fails a bit further in this case.
2011-03-28 21:10:15 +00:00
matthieu
1064b1a62a Ugly fix for libXi on sparc64.
May change if upstreams fix it differently.
Still broken on cross-endian remote connections though.
2011-03-27 20:17:17 +00:00
matthieu
6e1b78e41d Give XI2 requests a chance if server and client endianess differ.
There are more bugs in this code though.
2011-03-27 19:51:09 +00:00
okan
98c5b36dbb revert the XSync timing change for client move only; first noticed by
brynet.

sure oga@
2011-03-23 07:27:32 +00:00
okan
4c04a27385 warp the pointer back, iff we don't move the mouse, once we are done
with the menu; idea and initial from Sviatoslav Chagaev.

discussion with and ok oga@
2011-03-22 13:50:40 +00:00
okan
9a52c582b1 we should re-focus the client and ungrab the ptr even if we don't have a
mouse based match (i.e. in the kbd no match case).  update the comment
as well.

ok oga@
2011-03-22 11:09:52 +00:00
okan
482c4ce498 fix nousance of always highlighting the first entry even when there is
no match (seen in the ctrl-a case)

ok oga@
2011-03-22 11:05:13 +00:00
okan
d0a487aa3d move the default case to the end.
ok oga@
2011-03-22 11:03:05 +00:00
okan
a9420f917b reduce the number of times we sync during a window resize.
ok oga@
2011-03-22 10:59:08 +00:00
okan
1494c3e4c9 introduce nitems macro, with the appropriate ifndef.
ok oga@
2011-03-22 10:57:31 +00:00
okan
2de4639d4c if virt/horz un-maximizing, restore only the un-maximized axis
coordinates; allows moving a client and not restoring the maximized axis
coordinates.

picked from a larger martynas diff from ages ago.

ok oga@
2011-03-22 10:56:08 +00:00
okan
f109779994 (0,0) is also inside in the screen; from Sviatoslav Chagaev.
ok oga@
2011-03-22 10:54:42 +00:00
okan
51c21fc3ef while this piece deals with client argv's in a seemingly inefficient way
(noticed by Tim Peniket), since we don't ever do anything with cliarg,
remove the hunk and cliarg completely.

ok oga@
2011-03-22 10:52:37 +00:00
okan
a2810e744d remove XXX and move a configure event out of the event handler functions.
reminded by a similiar diff from Thomas Pfaff.

ok oga@
2011-03-22 10:49:46 +00:00
okan
3b73daa6c2 move the single keycode function directly into the menu code.
ok oga@
2011-03-22 10:47:59 +00:00
matthieu
b8615b4dbe update 2011-03-20 17:33:33 +00:00
matthieu
b0b3b0df1c Update to xineramaproto 1.2.1. No functional change. 2011-03-20 17:31:52 +00:00
matthieu
74b87b4ba2 Update to xf86vidmodeproto 2.3.1. No functional changes. 2011-03-20 17:29:44 +00:00
matthieu
125db05ec7 Update to xf86-driproto 2.1.1. No functional change. 2011-03-20 17:27:07 +00:00
matthieu
d423e09b92 update to dmxproto 2.3.1. 2011-03-20 17:19:52 +00:00
matthieu
e152f4eb11 Update to util-macros 1.13.0. 2011-03-20 17:09:44 +00:00
matthieu
4d8053ee26 Add support for ecdsa SSH keys. From dave at davec dot name. Thanks. 2011-03-19 15:40:02 +00:00
sobrado
056292656a lexicographically sort keys.
ok jakemsr@, jmc@
2011-03-18 20:08:58 +00:00
naddy
a17d3bcc89 Force alignment with sizeof(Atom) for XIButtonClassInfo.
From upstream; ok matthieu@
2011-03-18 20:08:27 +00:00
matthieu
34bb2b0d31 Update to xkbcomp 1.2.1 2011-03-13 15:03:00 +00:00
shadchin
bfae20612e Update xkeyboard-config to 2.1
ok matthieu@
2011-03-12 10:16:01 +00:00
matthieu
b05803ac41 Remove extra test. 2011-03-09 19:53:24 +00:00
matthieu
7ae39052df xcb is no longer optional. 2011-03-08 20:48:59 +00:00
matthieu
2cc47a1202 add a new build switch 'XENOCARA_USE_XKEYBOARD_CONFIG' to enable
the use of xkeyboard-config xkb definitions instead of the old xkbdata.
This will make testing easier. No changes in default builds.
ok shadchin@
2011-03-08 07:59:23 +00:00
matthieu
498fbf2348 Descend into data/ not data/xkbdata explicitely here.
Change suggested by shadchin@, needed for upcoming patches.
2011-03-07 22:17:31 +00:00
matthieu
4c12de7e6c update 2011-03-07 20:44:41 +00:00
matthieu
b9f6c3a045 Update to xterm version 269.
Tested and ok ajacoutot@, jasper@, krw@, shadchin@
2011-03-07 20:41:27 +00:00
kettenis
0c02cbb205 Restore the CLOCK_CNTL_INDEX *after* we're done messing with it. Makes Xorg
properly restore the video mode upon exit on macppc.

ok matthieu@, deraadt@
2011-02-28 19:17:12 +00:00
espie
c5cdf7be69 run makewhatis -v
(needs -current !)
okay miod@
2011-02-22 00:24:35 +00:00
kettenis
e2f9a8fd0b Restore the CLOCK_CNTL_INDEX *after* we're done messing with it. Makes Xorg
properly restore the video mode upon exit on macppc and sparc64.  Already
merged upstream.

ok matthieu@, no objection miod@
2011-02-21 19:28:39 +00:00
miod
d5f91100d2 Better instructions for accelerated PCI configuration, including a
working configuration template people can use, should they need to
provide the refresh frequencies their monitor support in order to get
high resolution truecolor modes.
ok matthieu@
2011-02-21 18:13:18 +00:00
todd
6f9375309e sync 2011-02-21 13:09:28 +00:00
matthieu
e169dc846e Revert stuff that should not have been committed in version 1.33.
Noticed by krw@
2011-02-20 13:42:17 +00:00
matthieu
f98a26f8f7 Disable Xorg on alpha. Xrender is broken since 2 releases and I still
don't know how to fix it. ok miod@, todd@
2011-02-19 19:51:53 +00:00
matthieu
42bf2bebd7 Some updates for 4.9 release.
- we're now at X.Org 7.6
- many applicatons now support anti-aliased, client-side fonts
ok miod@, todd@
2011-02-17 20:49:51 +00:00
okan
eab1b94e0a if we are saving the pointer location for a specific client, make sure
that if it is not already inbounds, put it in the default location,
which happens to be inbounds.

behavior noticed by Thomas Pfaff while maximizing and un-maximizing a
window, leaving the pointer behind and causing client_cycle() to be a
bit lost.

ok oga@
2011-02-13 20:09:57 +00:00
tedu
c222c6a5c7 we lose track of highstack somewhere, so recompute it before we need it.
fixes a crash reported by christian neukirchen.  ok okan
2011-02-13 17:25:20 +00:00
todd
190e604102 puffy 4.9 2011-02-11 22:26:24 +00:00
matthieu
28f0d85bd7 update 2011-02-11 21:10:30 +00:00
matthieu
be5ccdb873 Avoid dereferencing a NULL pointer during VT switches when composite
is active.

Fix confirmed to fix observed crash by dcoppa@ canacar@. ok marco@.
2011-02-11 21:01:55 +00:00
matthieu
eccb1b24fc Fix a crash in zaphod mode if one screen is not present.
tested by jasper@, shadchin@. ok shadchin@.
2011-02-08 20:50:35 +00:00
schwarze
fe4a39444e As noticed by david@, empty files were installed instead of formatted
GL manuals because Imake still tried to use nroff(1), tbl(1), and eqn(1)
which do not exist in base any longer.  Thus, let the Xenocara build use
mandoc(1) instead, which has native tbl(7) support, and passes eqn source
code through unchanged for now, which is more useful than what groff did.
However, as suggested by espie@, use the groff port when building Ports.
That always works because all ports using imake still have USE_GROFF=Yes.

thanks for useful hints to todd@ matthieu@ espie@ naddy@
tested by todd@ in Xenocara builds on i386, amd64, and macppc
ok matthieu@ and naddy@, and miod@ also agrees with the general direction
2011-02-07 21:58:15 +00:00