Commit Graph

513 Commits

Author SHA1 Message Date
matthieu
7a43c97042 Disable allowFontOps, allowTcapOps and allowWindowOps by default
on OpenBSD.
2009-01-06 20:31:59 +00:00
matthieu
7d6f399c75 xterm 238. includes fix for CVE-2008-2383. 2009-01-06 20:10:20 +00:00
okan
32b6a0bc15 remove "search should ignore the current window" from list, for the
current behavior is better...

ok oga@
2009-01-06 00:41:09 +00:00
okan
4d0c216b55 HasXinerama is an int
ok oga@
2009-01-06 00:19:55 +00:00
okan
f7e5fe5537 remove unused code
ok oga@
2009-01-06 00:18:07 +00:00
matthieu
ea3c465f2e Avoid infinit loop on make clean. Problem found by mglocker@. 2009-01-03 17:55:00 +00:00
matthieu
6cc8d9324a xedit 1.1.2 2009-01-01 15:30:40 +00:00
matthieu
6e75710066 mkfontscale 1.0.6 2009-01-01 15:24:14 +00:00
matthieu
1533e1e5e4 Disable build of deprecated proxymngr and xfindprox applications. 2008-12-23 09:02:50 +00:00
matthieu
696c509e89 Remove obsolete applications (replaced by xinput). 2008-12-23 08:59:21 +00:00
oga
d4dd2359ac Kill obviously dead variable. 2008-12-04 23:55:04 +00:00
oga
15161fba13 Don't ignore sigpipe. Everytime cwm forks it execs anyway (so it
shouldn't get that signal), and this causes problems for our children
since they inherit the ignore.

Pointed out by Jacek Masiulani in pr 6010; thanks!
2008-12-03 23:55:46 +00:00
matthieu
b44ff0aad7 xedit 1.1.1 2008-10-13 20:53:31 +00:00
matthieu
2712cbe1e6 luit 1.0.3 2008-10-13 20:34:11 +00:00
oga
eb02c0fb7a Xinerama and XRandR dual head support for cwm(1). Now we detect the xrandr
reconfiguration events and change our sizes depending on that. We also detect
the xinerama screens for maximize, vertmaximize and initial window placement.

This could be improved by automatically resizing maximized windows when
the screen resolution changes and by moving windows that would be hidden
into visible space. Said changes will come shortly.

Tested by many. matthieu@ didn't oppose.
2008-09-29 23:16:46 +00:00
matthieu
215beda67c xterm 237. tested by krw@ oga@ and others. 2008-09-23 19:08:55 +00:00
oga
f5db6743c6 .Bl needs a matching .El. From Martin Toft a while ago, thanks! 2008-09-22 14:37:12 +00:00
oga
a31ba9ca46 Improve wording of the ``ignore'' directive. From Martin Toft a while
ago, ok okan@ from similar amount of time ago.
2008-09-22 14:35:16 +00:00
oga
9e7ba1fa24 *sigh* Revert the diff that wasn't meant to go in yet.
note to self: When you mean to type cvs commit search.c, don't forget
the filename.
2008-09-22 14:28:04 +00:00
oga
0f0542ace1 Display the current window title not a previous one in the case of
``show all'' in the window search dialogue. Noticed and diff from Tim
van der Molen, thanks!
2008-09-22 14:15:03 +00:00
matthieu
20301d4446 Remove deprecated applications (have been disabled for several month). 2008-09-14 13:18:28 +00:00
matthieu
c274ccee10 build xcompmgr. 2008-09-13 16:36:52 +00:00
matthieu
15769b01aa Patch from X.Org -current: Make usage() report the current version. 2008-09-13 16:22:25 +00:00
matthieu
dd8896a496 Xenocara build infrastructure and regen autotools files. 2008-09-13 16:19:05 +00:00
matthieu
8f60c8493e Import xcompmgr 1.1.4.
It will replace the version in ports now that its license has been
clarified. ok ajacoutot@ balmer@ oga@.
2008-09-13 16:15:43 +00:00
matthieu
f7acc14330 Enable xinput, disable xsetmode & xsetpointer. 2008-09-07 21:09:57 +00:00
matthieu
2ea901fcb3 Xenocara build infrastructure and regen autotools files. 2008-09-07 13:31:56 +00:00
matthieu
4f74aa8fd3 Import xinput 1.3.0. Replaces xsetmode(1)/xsetpointer(1). 2008-09-07 13:28:39 +00:00
canacar
0f1b286a2e Keep the exec menu entries sorted.
Go for it okan@
2008-09-03 04:39:12 +00:00
matthieu
52d6163acf Remove extra semi-colon after conditional. Tested by phessler@. 2008-09-01 19:18:13 +00:00
matthieu
b58642ac9d xwininfo 1.0.4 2008-08-27 19:30:04 +00:00
matthieu
ef0d58967c xwd 1.0.2 2008-08-27 19:24:47 +00:00
matthieu
cf96e1067e xterm-236. Tested by form@ and simon@. 2008-08-25 18:05:56 +00:00
oga
5d526ad59f fix the froggy problem.
Implement a handler for the MappingEvent, meaning that the keymap has changed.
When this happens, ungrab all bindings, update the map, and regrab.

Fixes the problem where some keybindings wouldn't work under non us or
uk keymaps (especially the .fr map, it seems). Issue noticed by
ajacoutot@, ratchov@, and a few people on misc. Based on an initial diff
from ratchov@.

ok okan.
2008-07-22 21:01:54 +00:00
oga
cdb45f007b We've been handling grabbing wrong all this time (noticed at c2k8).
add conf_grab() and conf_ungrab, and use them in the keybinding manipulation
functions to {,un}grab the binding for all screens we have defined.

the lovely little ordering problem comes in here, since when we parse
the config initially Screenq is empty, so regrab after we fill the
queue, hopefully later reordering will remove this little need and there
will be much rejoicing.

ok okan.
2008-07-22 20:51:54 +00:00
oga
c462c7e1b6 split x_setup() into two. dpy_init() for setting up the display and
checking the X config, and x_setup to set up the screens.

There's an ordering problem that means that some of this init needs to
come after the config is parsed, the rest should ideally happen before
though. This is a rough split, it will be refined later. Again, needed
for an upcoming change.

ok okan.
2008-07-22 20:42:24 +00:00
oga
893d8d3dd0 Add xu_key_ungrab() and a mirror to xu_key_ungrab(). a couple of changes
that are coming up depend on it.

ok okan.
2008-07-22 20:26:12 +00:00
oga
91dbf08299 Kill screen_init(). it's been stubbed out for a while now. I don't envision it
coming back in it's current form.

ok okan@.
2008-07-22 19:54:57 +00:00
oga
ea5ee72e33 kill another leftover prototype.
ok okan@
2008-07-22 19:52:54 +00:00
matthieu
f4cf1775d9 Formatting fix. From Tim van der Molden. 2008-07-20 06:47:48 +00:00
oga
b4d2f0f926 Put back the initialisation of gc in group_cycle. No cookie for okan.
Reported by Dan Harnett, thanks!
2008-07-18 15:40:52 +00:00
okan
4c22c74258 add cwm to exec/restart menu
ok matthieu@ oga@
2008-07-16 12:43:05 +00:00
okan
45606f7a0d move client_vertmaximize to a more sensible location, purely for readability.
"don't mind at all" oga@
2008-07-15 22:12:09 +00:00
okan
d995c0ea4d save an X call and use what we already have stored.
ok oga@
2008-07-15 22:06:48 +00:00
okan
37abf72424 don't compensate for bwidth twice.
ok oga@
2008-07-15 13:52:02 +00:00
okan
53b397c1a3 Nm makes more sense than Xr, from Pierre Riteau - thanks! 2008-07-11 22:43:44 +00:00
oga
36326e6e7f Change "a window" to "current window" in documentation. it's more correct.
While i'm here: Capital letter and full stop in descriptions in cwmrc.5

"looks good - do it" okan@.
2008-07-11 15:42:29 +00:00
okan
ee7ecdb4de add Xr for cwm(1) 2008-07-11 15:20:04 +00:00
okan
d9407b888b no more hidden (and mysterious) config reloads and allow binding a key
to a config reload; CMS-r by default.

ok oga@
2008-07-11 15:18:29 +00:00
okan
2e276584ab replace snprintf with strlcpy
ok oga@
2008-07-11 14:24:34 +00:00