Commit Graph

1231 Commits

Author SHA1 Message Date
matthieu
736c23fba4 Replace autotools based build by native BSD Makefiles in proto/.
tested by naddy@ and oga@. ok oga@.
2008-03-25 23:28:19 +00:00
todd
4c940d52e3 sync 2008-03-25 13:51:16 +00:00
matthieu
d00d2dd896 msg_controllen has to be CMSG_SPACE so that the kernel can account for
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len).  This
works now that kernel fd passing has been fixed to accept a bit of
sloppiness because of this ABI repair.
lots of discussion with kettenis. From deraadt@
2008-03-24 21:24:52 +00:00
oga
223fbde840 Fix libmesa build on amd64 with XENOCARA_BUILD_DRI enabled.
Initial fix from phessler, help from matthieu. Thanks to both!
2008-03-23 16:43:25 +00:00
simon
0141485332 Replace the symlink configuration scheme with a simple yacc parser as
found in other places of the tree.  Remove sticky and font commandline
options and add another one for alternative config locations.
Split off cwmrc(5) from cwm(1), nuke #ifdef __OpenBSD__ while there.

tested by various kind people, feedback from oga@ and okan@ - thanks!
ok oga@, jasper@, okan@
2008-03-23 15:09:21 +00:00
okan
f8bcc1f10d allow autogrouping and sticky mode to work together
ok oga@
2008-03-22 21:34:07 +00:00
oga
d8e2d259e2 Rip out, burn, and dance around the grave of group-edit mode.
I've yet to speak to anyone who uses it, so just kill it.

You can still add/remove from groups using the mouse binding.  Groups
may get a re-work sometime soon if i have a stroke of genius.

knocks about 4k off the i386 binary for me.

ok okan@, todd@.
2008-03-22 15:09:45 +00:00
oga
420d083afc Remove a bunch of unused variables and incorrect comments.
"ok with me" okan@.
2008-03-22 14:09:02 +00:00
merdely
68bd73c06e Make xterm(1) and resize(1) correctly refer to X(7) instead of X(1).
ok matthieu@
2008-03-22 12:40:02 +00:00
oga
aad4718a0c Install libdrm before libGL. That way if we're building X on a clean system
with dri, libGL doesn't fail due to drm.h being missing.

ok matthieu@. Patch from Peter Hessler, thanks!
2008-03-21 21:07:48 +00:00
matthieu
eb303a5123 More updates coming. 2008-03-20 21:58:49 +00:00
matthieu
ea34eb06d9 Fix my previous attempt to run 'fc-cache -v' at the end of
a make build. tested by naddy@.
2008-03-20 20:54:57 +00:00
matthieu
b3afb49cf6 Get rid of strcat() and strcpy(), fixing a potential stack overflow.
With help and ok deraadt@, millert@, oga@.
2008-03-20 20:45:10 +00:00
matthieu
ffca1db806 update to xterm 234. tested by merdely@, 'looks ok' deraadt@. 2008-03-19 21:15:46 +00:00
matthieu
d058c7ac50 A whole bunch of new items to update. 2008-03-19 20:57:57 +00:00
matthieu
dd869f4ed4 Remove a useless use of cat pointed by espie@ some time ago. 2008-03-19 20:31:09 +00:00
oga
4685ce9dbc As mentioned in my last commit, there was an issue where the switching
code would always assume that the number of windows to switch to was
three if there were more windows hidden. Check for CLIENT_HIDDEN when we
count. Now it counts correctly.

ok simon@.
2008-03-19 00:18:28 +00:00
naddy
e4bcb354a2 Fix segfaults if you use XDM-AUTHORIZATION-1 authorization keys for
remote X11 clients over IPv6.  ok matthieu@
2008-03-18 15:50:38 +00:00
oga
92c71b48a2 client_{,r}cycle() doens't need a client. so get rid of KBFUNC_NEEDSCLIENT.
this prevents the issue where you close or hide a window, and end up
with no client selected (you're on the root window). When that happened
alt-tab failed.  This, however, exposed to me a few more issues in the
alt-tabbing code:

-the code to detect how many lines we need looks bogus (you always get
three)

-alt-tabbing when everything is hidden always reawakes the most recent
window.

Fixes for these will be forthcoming.

ok simon@.
2008-03-18 00:48:56 +00:00
matthieu
7830df18ed Regen with autoconf 2.59-p2, with AM_SANITY check zapped. 2008-03-15 18:08:24 +00:00
matthieu
16236de311 Repair msg_controllen. In those cases it should just be
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because
of alignment. Based on fixes in base system.
2008-03-15 17:14:11 +00:00
sthen
4756cae49c typo fix. ok oga 2008-03-14 14:38:10 +00:00
matthieu
cd62a5772f Xenocara currently is X.Org 7.3. Noticed by david@ who disapeared after
I told him to commit that.
2008-03-13 20:34:19 +00:00
matthieu
849b45aca0 A bunch of pre-7.4 modules where released recently. 2008-03-13 20:32:32 +00:00
matthieu
f0623845fe Correct CMSG_SPACE and CMSG_LEN usage, same fixes as in the base system.
ok deraadt@
2008-03-13 06:53:06 +00:00
matthieu
6da4224300 use explicit path to openssl. Reported by Dave Del Debbio. Thanks. 2008-03-07 07:48:10 +00:00
matthieu
bb0842f01c Remove the SunPaste symbol from the Fn+v key combinaison. This
causes xterm to call it's insert-selection() function when 'v'
alone is pressed. ok deraadt@
2008-03-05 17:24:55 +00:00
todd
123dcf9274 sync 2008-03-04 16:29:34 +00:00
matthieu
d5cb652a3f Change the default for XSRCDIR to /usr/xenocara. ok deraadt@ 2008-03-03 07:01:44 +00:00
todd
a4324326e6 sync 2008-02-26 03:09:27 +00:00
matthieu
ef3b0a0644 Fix initialization of vmin. This has caused script(1) to exit immediatly
when started inside an xterm that started with vmin=0 (because it had
no tty to inherit the correct value from). ok kettenis@, krw@, oga@.
2008-02-24 22:22:48 +00:00
oga
e2e723ac91 Fix a build race in ssh-askpass. This shouldn't happen, so XXX it.
ok matthieu@.

xenocara is now locked.
2008-02-22 11:35:22 +00:00
matthieu
420aa0bdcb Fix from X.Org repository pointed out by brad@
Add pipe A force enable quirk for ThinkPad X40
    ThinkPad X40s need this quirk or they'll crash frequently.
2008-02-22 08:26:32 +00:00
todd
655aabf8b5 puffy 4.3 2008-02-21 08:10:52 +00:00
todd
f076f9f5f7 no dri/GL apps for landisk; ok matthieu@ 2008-02-21 08:04:44 +00:00
matthieu
6869a2ba6e dri drivers need too be linked against libX11 for AIGLX (for threads stubs).
Problem found by oga@. Thanks.
2008-02-20 22:41:51 +00:00
matthieu
e4ccaa70a5 Include /usr/local/lib/X11/icons in the default cursor search path. 2008-02-20 22:23:07 +00:00
matthieu
682a69ebb7 Fix from X.Org repository:
xkb: don't update LEDs if they don't exist (which would trigger an NULL
pointer dereference).
2008-02-20 21:32:39 +00:00
matthieu
807e8fa566 Fix from X.Org repository: untrusted access broken in 7.3. 2008-02-20 21:29:42 +00:00
matthieu
2610b1cdea Fix for CVE-2007-3069 from X.Org git repository:
Don't break grab and focus state for a window when redirecting it.

    Composite uses an unmap/map cycle to trigger backing pixmap allocation
    and cliprect recomputation when a window is redirected or unredirected.
    To avoid protocol visible side effects, map and unmap events are
    disabled temporarily.  However, when a window is unmapped it is also
    removed from grabs and loses focus, but these state changes are not
    disabled.

    This change supresses the unmap side effects during the composite
    unmap/map cycle and fixes a bug where a compositing window manager
     would cause the screensaver to lose its grab when it unredirects the
    fullscreen lock window.
2008-02-20 21:25:15 +00:00
miod
7d9176c215 endianness definitions for m88k, ok matthieu@ 2008-02-20 17:47:56 +00:00
oga
43f7e32207 add exec_wm to calmwm.h, it was missing (bad ian@!)
Also, exec_wm() currenty err()s out if something failed with the exec,
killing the currently running wm. This is bad. Replace the err() with
warn() instead.


from Gleydson Soares, thanks!
2008-02-20 13:00:18 +00:00
oga
95429f5a28 Typo: s/supression/suppression
from Pierre Riteau, thanks!
2008-02-20 12:56:10 +00:00
todd
b1f6a599b7 sync 2008-02-19 21:15:43 +00:00
todd
5d368bd8b5 sync 2008-02-19 20:26:52 +00:00
miod
1d9ffcbd8d Disable a few more binaries on m88k due to static linking. 2008-02-16 21:41:37 +00:00
miod
5fb9099459 Don't #define DEBUG anymore 2008-02-16 21:40:44 +00:00
miod
a1df61e9c2 Remove unused global. 2008-02-16 21:40:29 +00:00
matthieu
8ecca6ec0e xterm updated 2008-02-16 09:57:37 +00:00
matthieu
e8985d1d21 Change the default pointerMode for real now. 2008-02-16 09:49:28 +00:00