okan
1dbcc394ae
zap extra space
2013-04-17 13:31:47 +00:00
okan
a899d267fe
add conf_ignore and move group_make_autogroup to conf_autogroup to match.
2013-04-17 13:30:38 +00:00
okan
3a7596968b
add per-group vert/horiz tiling support; introduces 2 new bind commands,
...
'vtile' and 'htile'; from Alexander Polakov.
2013-01-08 15:16:04 +00:00
okan
579f981718
really these are just border colors, so adjust the define
2013-01-04 16:27:58 +00:00
okan
96adffcd9d
spacing
2013-01-04 16:23:51 +00:00
okan
698530155d
get rid of struct color
2013-01-04 16:23:04 +00:00
okan
ccbb1f1529
least intrusive way to plug a memleak when unbinding a duplicate key for
...
kbfunc_cmdexec; from Tiago Cunha
2013-01-01 14:33:52 +00:00
okan
dc1e3a8843
gc unused cmd 'flags' variable
2012-12-19 15:21:34 +00:00
okan
b848a2b236
simplify config file setup; with Tiago Cunha
2012-12-18 00:14:41 +00:00
okan
479e9f769c
put a default known_hosts into conf
2012-12-17 23:54:57 +00:00
okan
75f65f399e
pull user home directory via getenv or getpwuid and stash it so we don't
...
need to do this everytime; with Tiago Cunha
2012-12-17 23:03:41 +00:00
okan
96cd288a2a
knf
2012-12-17 02:53:29 +00:00
okan
6900cd3612
non-trivial menu drawing rewrite, moving to Xft and solving various
...
font/color drawing issues; from Alexander Polakov
2012-12-17 02:28:45 +00:00
okan
fad4798e5b
replace hand rolled font_make() with XftFontOpenName() and merge into
...
font_init().
2012-11-28 14:14:44 +00:00
okan
7b00e3fe76
variable name consistency; from Thomas Pfaff
2012-11-14 21:31:53 +00:00
okan
28224ff830
sort
2012-11-09 03:52:02 +00:00
okan
c9c0a5fdbb
style nit; from Tiago Cunha.
2012-11-07 21:10:32 +00:00
okan
55edbe460d
add comment why we mouse unbind, just like kbd
2012-11-07 21:04:55 +00:00
okan
7f1851b8f6
now that we have FOREACH_SAFE queue macros, use them where appropriate;
...
from Tiago Cunha.
2012-11-07 21:01:48 +00:00
okan
bd25218333
plug a leak when using 'unmap' for kbd/mouse bindings; from Tiago Cunha.
2012-11-07 20:37:55 +00:00
okan
76b0874b4c
get rid of the xfree() wrapper around free(); from Tiago Cunha.
2012-11-07 20:34:39 +00:00
okan
620af2e52d
no longer a reason to carry conf_path in struct conf, so dice.
2012-10-31 22:06:24 +00:00
okan
4fb420514d
replace 'reload' with 'restart', which merely re-exec's cwm using the
...
existing argv; same idea with respect to argv saving as Alexander
Polakov. reload support was half-complete and is getting in the way.
agreed to by many
2012-10-31 19:30:19 +00:00
okan
c256052308
on reload, run each client through conf_client to pick up potential
...
ignore and bwidth changes; also add a hack for existing maximized
windows so they don't inherit a new bwidth.
based on a diff from, and discussion with, Tiago Cunha.
2012-10-29 19:46:03 +00:00
okan
fb4936d0f7
knf, some from a diff from Tiago Cunha.
2012-05-13 15:15:54 +00:00
okan
63b59e44c1
wrap long lines; from Tiago Cunha.
2012-05-10 00:39:47 +00:00
okan
22f366830e
fix spelling I keep getting wrong for some unknown reason; found by and
...
diff from Alexander Polakov.
2011-09-13 09:17:30 +00:00
okan
82d31aec1d
allow configurable menu font color; from Alexander Polakov with a tweak
...
from me.
ok oga@
2011-09-08 12:35:33 +00:00
okan
840323558d
reinit menu on reload; from Alexander Polakov. needed for catching
...
upcoming menu config changes.
ok oga@
2011-09-08 12:00:49 +00:00
okan
325129c6ba
simplify color initialization.
...
ok oga@
2011-09-03 09:25:39 +00:00
okan
142a36a0c0
Add {r,}cycleingroup to cycle through clients belonging to the same
...
group as the active client (as opposed to all unhidden clients); from
Alexander Polakov, with a tiny tweak requested by oga.
ok oga@
2011-09-03 09:20:58 +00:00
okan
b51f8e6a99
"defaultfont" is unclear (and confusing while reading code) when it also
...
applies to the user supplied font, so rename.
ok oga@
2011-09-03 09:17:16 +00:00
okan
a4683b55f8
zap unused macro. ok oga@
2011-08-29 09:10:49 +00:00
okan
2dc8df110c
revert r1.11 of parse.y and create logic in conf_setup instead to deal
...
with the various scenarios of when to attempt a parse of the config,
load defaults, and when to warn and/or exit. triggered by bogus warning
first noticed by sobrado@.
ok oga@
2011-08-22 16:18:05 +00:00
okan
912dd46a7e
Re-draw borders after reloading, not before; from Alexander Polakov.
...
ok oga@
2011-07-26 08:51:24 +00:00
okan
f51f3cb9c2
We are inconsistent when it comes to function returns, so just go all
...
the way with the cwm specific parts.
ok oga@
2011-07-25 15:10:24 +00:00
okan
c585dfbf32
correct spelling; from Alexander Polakov.
2011-07-14 11:39:53 +00:00
okan
bcf90f5f34
warn if we can't parse the config file on start, just like we do on reload.
...
part of a larger diff that was ok oga@
2011-06-25 13:37:05 +00:00
okan
8f1c583361
New option to raise a client via the mouse (unbound by default);
...
opposing action, lower, already exists and bound. Both keyboard
mappings already exist.
'no opinion either way' oga@
2011-06-24 06:09:26 +00:00
okan
34ba6cdbcc
introduce a new config option to snap to the screen edge. 'snapdist'
...
keyword taken from a diff from Sviatoslav Chagaev to do the same thing,
but implemented in a completely way (based on some very old code from
mk@). default set to 0, so no behavior change.
ok oga@ (who would also like to take it further...)
2011-06-24 06:06:24 +00:00
okan
d39f5b9183
more nitems usage.
...
ok oga@
2011-06-24 05:54:30 +00:00
okan
c2a8363dd9
struct XftFont already has height which we can use directly instead of
...
calculating ourselves, so do so.
ok oga@
2011-06-24 05:45:57 +00:00
okan
f6fcd0eb5d
alter a few function returns and prototypes; found by lint.
...
ok oga@
2011-06-24 05:40:09 +00:00
okan
89d8a14b6d
collapse client and group {r,}cycle defines since they are really
...
the same thing.
ok oga@
2011-06-24 05:30:42 +00:00
okan
c8cd94882d
tag and comment cleanup; ok oga@
2011-05-11 13:53:51 +00:00
okan
43450c8fd7
introduce a new 'freeze' flag (CMS-f by default) which may be applied to
...
any window, after which all move/resize requests will be ignored,
essentially freezing the window in place.
there's a possibility to merge this with the 'ignore' concept, pending
on how ignore+freeze should behave (really more ewmh stuff), but punting
for now since ponies are on the line.
requested and tested by thib at k2k11 with ponies, unicorns and rainbows.
'save the unicorns' todd@, ok oga@
2011-05-07 17:15:37 +00:00
okan
2c706e60c7
introduce nitems macro, with the appropriate ifndef.
...
ok oga@
2011-03-22 10:57:31 +00:00
okan
e88bda0df5
- allow per-screen gap; not (yet) user configurable.
...
- teach _NET_WORKAREA about gap.
ok oga@
2010-01-27 03:04:50 +00:00
okan
ccb207a8a8
pull all non-X11 headers from calmwm.h and place them only where they
...
are required.
encourged to go all the way by oga@
2009-12-15 04:10:42 +00:00
okan
b6b7d273d4
merge the 2 common header files; specific includes to be pulled out as
...
separate commits.
ok oga@
2009-12-15 03:24:36 +00:00