Commit Graph

1501 Commits

Author SHA1 Message Date
todd
d438d44314 sync 2008-07-24 21:30:17 +00:00
matthieu
3896c42ba0 updates 2008-07-24 08:10:53 +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
brad
8a571d626f Bump MESA_TINY (2 -> 3) after the last update of Mesa to 7.0.3
so that the pkgconfig files have the correct version.

ok okan@
2008-07-16 20:24:39 +00:00
okan
4c22c74258 add cwm to exec/restart menu
ok matthieu@ oga@
2008-07-16 12:43:05 +00:00
todd
f67c79ebd3 sync 2008-07-16 02:10:09 +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
oga
57c2dfd640 build xf86-video-mach64 and xf86-video-r128 on the same platforms that build
the ati driver.

ok matthieu@.
2008-07-12 15:50:48 +00:00
oga
419d6def7c regen 2008-07-12 15:49:40 +00:00
oga
9a4cbe1011 Add a Makefile.bsd-wrapper 2008-07-12 15:46:47 +00:00
oga
d0a64525c5 Import xf86-video-mach64, version 6.8.0. In the correct directory.
ok matthieu@.
2008-07-12 15:43:10 +00:00
oga
ddbebe79b7 regen 2008-07-12 15:40:46 +00:00
oga
a0290f58f9 Add a Makefile.bsd-wrapper 2008-07-12 15:37:58 +00:00
oga
d5e8eba017 Import xf86-video-r128, version 6.8.0. In the right place this time.
ok matthieu.
2008-07-12 15:35:29 +00:00
oga
a1f9babf7c Add back Changelog. 2008-07-12 15:20:00 +00:00
oga
a153da3d23 Long awaited update of xf86-video-ati to 6.9.0.
the rage128 and mach64 drivers were split out of this driver just after
the 6.8.0 release, these drivers will be commited separately.

MergedFb mode is gone, so please use xrandr if you used to use it.

ok matthieu@.
2008-07-12 15:18:32 +00:00
matthieu
a04c7e7642 add openchrome and mark via obsolete 2008-07-12 13:03:55 +00:00
matthieu
1dd309dcb0 use the openchrome driver for via chipsets. 2008-07-12 13:02:55 +00:00
matthieu
c49b33a011 Disconnect the old 'via' driver and connect the 'openchrome driver. 2008-07-12 13:01:20 +00:00
matthieu
284d5c8737 regen 2008-07-12 12:59:51 +00:00
matthieu
3ba3d6c1a4 Unbreak man page build. 2008-07-12 12:59:16 +00:00
matthieu
33561a4d5e Add a Makefile.bsd-wrapper. 2008-07-12 12:54:02 +00:00
matthieu
5c2645de3e Let it compile. From bernd@ 2008-07-12 12:53:22 +00:00
matthieu
63215a6123 Import the openchrome video driver, version 0.2.902. Discussed with
bernd@ and oga@. Tested by many in snaphots.
2008-07-12 12:48:04 +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
okan
de181a1c1f we already have ymax, so use it instead of asking X for it again.
ok oga@
2008-07-11 14:23:30 +00:00
okan
cfb9c394cb spacing, declaration lineup to be consistent throughout cwm,
readability, and a bit of knf.

ok oga@
2008-07-11 14:21:28 +00:00
todd
c727b6dd04 puffy 4.4 2008-07-02 02:29:59 +00:00
okan
9280b8fb5b only cycle through visible *and* non-ignored windows.
ok oga@
2008-06-30 17:52:37 +00:00
naddy
9addb0ec70 sync locale directories with latest libX11; ok matthieu@ 2008-06-30 15:25:57 +00:00
matthieu
5cf59f3e2e update 2008-06-29 20:15:47 +00:00
matthieu
8afab56174 update to xf86-video-intel 2.3.2. Tested among others by okan@. 2008-06-29 20:13:42 +00:00
oga
ff24dcbd56 Allow a mouse binding to hide a window, and add a default keybinding for CMS-M3,
so it's hard to press by accident, but there if you need it.

requested (in a way) and tested by johan and todd.
2008-06-25 22:44:42 +00:00
oga
553a7ea586 Support mod4 (windows key) in mouse bindings too. 2008-06-25 22:40:27 +00:00
oga
ff29a8e71a Support shift in mouse bindings. There's really no reason not to.
tested by johan@ and todd@.
2008-06-25 22:38:36 +00:00
oga
5c700f8601 Actually grab the correct mouse buttons for a window, instead of doing the
old hardcoded ones (which now can be wrong).

tested by todd@ and johan@.
2008-06-25 22:37:29 +00:00
oga
7d5d330707 Sort flags.
From Pierre Riteau, thanks!

ok okan@.
2008-06-25 01:09:09 +00:00