Commit Graph

1315 Commits

Author SHA1 Message Date
ajacoutot
790fc260ee - fix an infinite loop by ensuring that realInputProc is never
overwritten with the enqueueInputProc (from upstream git)
cf. https://bugs.freedesktop.org/show_bug.cgi?id=13511

This should fix hangs people were seeing with icewm, cwm and most
probably other WM under some circumstances.

ok matthieu@
2008-05-07 06:07:09 +00:00
tobias
88f967a8bd Signal handler of SIGCHLD calls waitpid() which sets errno on error. To
avoid clubbering of errno in normal context, save_errno got introduced.

ok oga
2008-05-06 15:12:04 +00:00
todd
bc3a587b1e sync 2008-05-05 17:54:25 +00:00
maja
d802806210 Convert some wscons keyboard layouts to correct X names. -moj
ok @johan @oga and @matthieu
2008-05-04 22:45:35 +00:00
oga
519744a58e Rework the alt-tabbing code to be a lot simpler.
Diff mostly from Edd Barrett, with some minor changes from me.
Unfortunately the issue where apps like gvim and xpdf are stealing
keyrelease events causing the ordering to be messed up, but this is a
lot better. A fix for the aforementioned issue shall be forthcoming,
once a good one's been found.

ok okan@, also tested by todd@
2008-05-01 18:01:13 +00:00
todd
2301a6b3e9 sync 2008-05-01 00:52:43 +00:00
todd
759b575d23 sync 2008-04-30 04:45:21 +00:00
simon
73b49edae1 Allow slashes in unquoted strings.
From Pierre Riteau
Makes sense to oga@
2008-04-29 20:17:28 +00:00
oga
5a9e2c9770 Enable building the dri modules and mesa drivers by default on i386 and
amd64.

ok matthieu@ and todd@

This has been in snaps for over a week, no complaints.
2008-04-29 18:59:05 +00:00
okan
31b5fe3b59 nits from Pierre Riteau - thanks!
ok oga@
2008-04-28 01:27:46 +00:00
matthieu
ca3b6e9d36 Mesa3d and xterm got new releases. 2008-04-21 19:23:49 +00:00
matthieu
a8dfa1fd5d Add 2 files added with 1.0.4. 2008-04-21 06:04:31 +00:00
matthieu
cd2e1b318d If the wskbd map is 'user' don't try to set the xkb layout.
Tested by okan@ ok oga@.
2008-04-20 19:28:14 +00:00
matthieu
1ad4dd488f This weekend updates 2008-04-20 16:48:10 +00:00
matthieu
9dbb6c9bfd Update to xset 1.0.4 2008-04-20 16:47:32 +00:00
matthieu
25faa3f792 update to xrdb 1.0.5 2008-04-20 16:42:58 +00:00
matthieu
a99339125b Update to xprop 1.0.4 2008-04-20 16:36:07 +00:00
matthieu
b0446f754a Update to xkbcomp 1.0.4 2008-04-20 16:32:06 +00:00
matthieu
33acf34151 Update to xinit-1.0.8, while preserving local changes. 2008-04-20 13:46:02 +00:00
matthieu
e14d5aefcd Get rid of the Xwrapper hack. OpenBSD doesn't support XFree86 3.3.x anymore. 2008-04-20 13:25:46 +00:00
matthieu
4aab415a58 update to xev 1.0.3 2008-04-19 16:59:34 +00:00
matthieu
5e9eca7e93 update to xdm-1.1.7 (No changes on OpenBSD). 2008-04-19 16:54:56 +00:00
matthieu
40cc08d6c3 update to x11perf 1.5 2008-04-19 16:23:00 +00:00
matthieu
a993561bd4 update to twm 1.0.4 2008-04-19 15:43:39 +00:00
matthieu
6f491b67d8 Update to xrandr 1.2.3. 2008-04-19 14:40:52 +00:00
oga
73d1e76463 Update SiS driver to 0.10
Tested by todd.
ok Matthieu.
2008-04-19 14:03:12 +00:00
matthieu
d0af8d36f0 update to xf86-video-radeonhd-1.2.1. 2008-04-19 14:02:04 +00:00
matthieu
c00de1725a Update to xf86-video-radeonhd 1.2.0. Tested by jdixon@ and jasper@ 2008-04-19 13:41:45 +00:00
oga
ce0d22a55d When mesa uses sse the current allocator was just using malloc, meaning
that the memory was not set to executable. This caused some horrible
segfaults that due to lack of hardware i've been unable to track down
for months.

Conveniently, there was already a memory allocator that uses mmap to
create executable memory, #ifdef linux. Make it usable for us too.

Problem solved!

Thanks for todd@ for helping me debug, and deraadt@ for noticing the
allocator.

Makes SiS work with dri, probaby solves a bunch of other people too.

ok matthieu@ (who has sent this upstream).
2008-04-19 13:11:24 +00:00
matthieu
27ae5db2a9 dri libs depend on libmesa_pic.a 2008-04-19 07:15:17 +00:00
matthieu
a794a5f85b Fix from Eric Anholt in Mesa-current:
[965] Fix potential segfaults from bad realloc.

    C has no order of evaluation restrictions on function arguments, so we
    attempted to realloc from new-size to new-size.
2008-04-17 21:21:27 +00:00
matthieu
42f2fadde6 pthread_key_create(3) explicitely says that the value associated
with a new key is NULL. So set the allocated memory to zero.
2008-04-17 20:25:05 +00:00
matthieu
11509342cd When running without an xorg.conf file, use the current wscons keymap
to setup XkbLayout and XkbOptions. Idea and original code from reyk@,
some tweaks by me. ok oga@.
2008-04-16 19:45:22 +00:00
oga
eb613a1bb7 merge kbfunc_{ptrmove,client_{move,resize}} into one function that takes a flag,
this code was almost identical...

ok okan.
2008-04-16 13:47:29 +00:00
oga
fb651469ee remove infowin. It slipped out of the last commit, for some reason. 2008-04-16 13:40:34 +00:00
oga
f062e958e0 Replace a few leftover calls to strdup and calloc with xstrdup and xcalloc
respectively.

ok okan.
2008-04-16 13:38:09 +00:00
oga
9aedc9e805 Remove screen_infomsg(), nothing uses it.
ok okan.
2008-04-16 13:35:37 +00:00
oga
8a66857b72 kill an unused struct member.
ok okan
2008-04-16 13:33:26 +00:00
oga
8b3d596db5 make the argument parser for commands accept quoted strings, while i'm
there make u_spawn use exec_wm (renamed to u_exec) for it's execution to
remove duplicated code.

This means constructs like this work in .cwmrc:

bind CM-t "ssh -Y 192.168.1.2 \"xterm -e top\""

or alternatively:

bind CM-t "ssh -Y 192.168.1.2 'xterm -e top'"

"in it goes" okan@.
2008-04-15 21:20:56 +00:00
oga
5559ba08b3 Kill dirent_isdir() and dirent_islink() nothing used them since the new
parser went in.

ok okan.
2008-04-15 20:26:50 +00:00
oga
26beb05af2 hit it with the knf stick. 2008-04-15 20:24:41 +00:00
oga
a101e9a0c8 Add "gap" support to .cwmrc. The options put in here make gaps on the edge
of the screen where an application won't be {,vert}maximized over. used for
placing a statusbar or something like xclock.

Patch from Edd Barrett, with input from myself and okan. Thanks!

ok okan@.
2008-04-15 18:46:58 +00:00
okan
36cf099f9d - add vi keybindings to search
- allow for ctrl-h as well

discussion with and ok oga@
2008-04-15 18:33:13 +00:00
okan
e588092d97 malloc -> calloc
suggested by and ok oga@
2008-04-15 18:22:08 +00:00
matthieu
766b9c6928 regen 2008-04-12 17:57:53 +00:00
matthieu
fd01a78b07 mkfontscale 1.0.4 2008-04-12 17:52:43 +00:00
matthieu
58b18c30eb regen 2008-04-12 17:51:44 +00:00
matthieu
b8c22531e6 mkfontdir 1.0.4 2008-04-12 17:49:58 +00:00
matthieu
ac0cfb4ed8 updates 2008-04-12 14:59:04 +00:00
matthieu
348bddcecc The v4l driver is a linux-only driver. Bye. 2008-04-12 14:43:19 +00:00