Michael Weber
c5fa35ecfd
Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux
...
Conflicts:
calmwm.h
2013-07-27 16:34:12 +02:00
okan
0dec9e849d
cvsimport
2013-07-16 14:30:48 +00:00
okan
ca416b6b82
max -> nitems
2013-07-16 14:04:44 +00:00
okan
93bfc4a5c1
cvsimport
2013-07-10 14:15:58 +00:00
okan
a493734066
clarify kbd vs mouse functions
2013-07-08 16:32:51 +00:00
Michael Weber
37b3b149ed
Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux
2013-06-13 11:52:45 +02:00
sthen
c30653b1c3
cvsimport
2013-06-03 20:33:17 +00:00
sthen
09f3275561
Unlike other parse.y variants, cwm's allowed 'command xx /path/to/xx' without
...
quotes. Reinstate this support lost in recent sync diff and add a comment to
show that it's intentional. ok okan@
2013-06-03 20:33:17 +00:00
Christian Neukirchen
5515a365ba
cvsimport
2013-05-29 22:41:51 +02:00
okan
532f132194
move validation of pointer Button into conf_mousebind so we check
...
validity during the parse phase and not bother adding it to the queue,
instead of each time a client needs to grab (when it's too late);
furthermore, make this a config error, stop parsing and load the
default config.
2013-05-22 16:32:15 +00:00
okan
866f5af9c7
sync with src changes
2013-05-22 13:02:14 +00:00
okan
dac00a232f
- switch border colors to Xft
...
- merge border/menu color structures/functions since they now both use Xft
- switch xu_xorcolor to operating on XftColor instead of just
XRenderColor (basically adding pixel)
- if color name allocation fails, revert back to default (this, along
with font validation should occur during config parse, but we don't
have screens setup yet - likely to change at some point)
2013-05-19 23:09:59 +00:00
Michael Weber
0671d579b7
Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux
...
Conflicts:
calmwm.h
group.c
2013-05-08 10:36:14 +02:00
okan
1a06f09fa0
negative values for borderwith, moveamount, snapdist and gap are
...
configuration errors, so warn and load defaults.
2013-05-06 19:09:19 +00:00
okan
843f18aaee
cvsimport
2013-04-30 21:12:20 +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
Michael Weber
68fd7e0890
Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux
...
Conflicts:
conf.c
group.c
2013-04-08 18:35:33 +02:00
okan
104c7d5de3
cvsimport
2013-01-06 01:01:26 +00:00
okan
579f981718
really these are just border colors, so adjust the define
2013-01-04 16:27:58 +00:00
okan
698530155d
get rid of struct color
2013-01-04 16:23:04 +00:00
okan
f77166194f
cvsimport
2012-12-19 15:21:34 +00:00
okan
dc1e3a8843
gc unused cmd 'flags' variable
2012-12-19 15:21:34 +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
Michael Weber
c44a6dd895
Merge pull request #1 from chneukirchen/linux
...
new upstream stuff
2012-11-05 13:34:03 -08:00
okan
e27f649ae7
cvsimport
2012-11-01 01:10:47 +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
Michael Weber
fb7a2fe253
autostart if autogroup empty
2012-06-28 10:26:23 +02:00
Michael Weber
ac615a5407
use header definition
2012-06-28 08:13:31 +02:00
Christian Neukirchen
0bb88fa567
define YYSTYPE_IS_DECLARED to work with bison 2.3
2012-05-04 17:46:42 +02: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
a262f8e80c
allow menufg/menubg to be configurable; from Alexander Polakov.
...
ok oga@
2011-09-08 12:07:03 +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
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
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
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
2d66003e4b
picked a henning diff from src - original log:
...
fix linecount bug with comments spanning multiple lines
problem reported with the obvious fix for bgpd by Sebastian Benoit
<benoit-lists at fb12.de>, also PR 6432
ok oga@
2010-09-25 20:02:58 +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
oga
b35cbf81d8
Implement _NET_DESKTOP_NAMES, this one was a bit tricky since thespec
...
says that a pager can change the property at any time (most need a
clientmessage). So deal with property updates.
Needed to shuffle some of the other code around since we can't just use
shortcut_to_name[] everywhere now.
ok okan@
2009-12-11 17:51:42 +00:00
okan
58d12134b1
unroll XCALLOC/XMALLOC macros; since we use xcalloc/xmalloc all over the
...
place anyway, this makes things a bit more consistent; from Thomas Pfaff
ok oga@
2009-06-20 00:22:39 +00:00
okan
4d5dc5d9ea
a long time coming - re-work the way we deal with colors: since we're
...
using Xft(3), use it to select the font color as well instead of trying
to build one; properly allocate and free colors at-will, e.g. we now
have configurable colors.
feedback and ok's todd@ and oga@
2009-05-17 23:40:57 +00:00
martynas
17ae65adc5
add 'moveamount' to cwmrc; it sets keyboard movement amount, making
...
it more useful on large screens
manpage tweak & ok jmc@
ok okan@, oga@
2009-02-07 21:07:00 +00:00
okan
7660bf0db0
move conf_clear() and add proto.
...
ok todd@ oga@
2009-01-23 19:00:59 +00:00
oga
e239976078
The default font name is strduped, so don't test for default font name
...
(therefore leaking it) when cleaning up a conf struct.
ok okan@
2009-01-22 18:16:38 +00:00
todd
1b269199c1
borderwidth as a cwmrc(5) keyword, really helps debugging
...
from okan@
ok oga@
2009-01-21 15:04:38 +00:00
oga
d1050afb60
shortcut_to_name should not be defined as static in a header file. Put
...
it in group.c where it it used most, and add an extern definition for
the other users of it.
Found by gcc -Wall. ok okan@
2009-01-11 21:46:48 +00:00
okan
0aca400461
better comparison idiom; found with -Wall
...
ok oga@
2009-01-11 21:33:45 +00:00