Commit Graph

98 Commits

Author SHA1 Message Date
Michael Weber
37b3b149ed Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux 2013-06-13 11:52:45 +02:00
Christian Neukirchen
5515a365ba cvsimport 2013-05-29 22:41:51 +02:00
Michael Weber
27c011d4ee adapt to renumbered groups 2013-05-08 11:37:11 +02:00
Michael Weber
65158c0386 make autogroup case insensitive 2013-05-08 11:36:39 +02: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
Michael Weber
151ec3286d remove duplicate stdio.h 2013-05-08 10:20:39 +02:00
okan
1db7cc2a18 remove group in client_delete directly. 2013-05-06 16:03:11 +00:00
okan
843f18aaee cvsimport 2013-04-30 21:12:20 +00:00
okan
6e8f1f2955 type fix 2013-04-30 21:10:23 +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
6f185bb03c cvsimport 2013-04-14 16:13:17 +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
62a685d82a reverse logic to make it like the others 2013-04-08 13:05:27 +00:00
okan
28b54db221 consistency 2013-04-08 13:02:31 +00:00
okan
a957ed7c7d cvsimport 2013-04-05 17:36:02 +00:00
okan
670207f79b zap stray whitespace 2013-04-05 17:07:25 +00:00
okan
9c6226faa8 cvsimport 2013-01-13 13:55:12 +00:00
okan
47aa485fa2 put back r1.68 which allows an empty group to be sticky; behavior
change noticed by Thomas Pfaff and diagnosis why we need to
group_setactive in this case by Alexander Polakov.  replace XXX with
a useful comment.
2013-01-13 13:55:12 +00:00
okan
62acbee4b3 set the initial group to '1', missed by recent off-by-one group
numbering re-work; discovered the hard way by sthen@.

ok sthen@
2013-01-10 15:28:11 +00:00
okan
104c7d5de3 cvsimport 2013-01-06 01:01:26 +00:00
okan
afb3648440 after we toggle a group hidden, it makes no sense to set it as active
(in sticky or non-stick mode), regardless of existing clients assigned
to that group; oga marked this bit XXX in -r1.34 for it didn't seem make
sense then either.

pulled from a diff from from Alexander Polakov.
2013-01-01 14:50:01 +00:00
okan
0957fbbee2 make num of groups no longer off-by-one; from Alexander Polakov
note that a re-exec of cwm will not rewrite the group number atom of
*existing* clients, so they will remain off-by-one until each client has
its atom updated, or of course a restart of X.
2013-01-01 14:19:56 +00:00
okan
f77166194f cvsimport 2012-12-19 15:21:34 +00:00
okan
82e8ec4245 replace client highlight with a client flag 2012-12-17 17:48:57 +00:00
okan
3a3e0383b2 create and use menuq_clear() helper; from Tiago Cunha 2012-12-17 14:32:39 +00:00
Michael Weber
1fad01ad39 Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux
Conflicts:
	group.c
	xutil.c
2012-11-29 23:29:56 +01:00
okan
560acb43fc specific last match for autogroup; few iterations with Kent Spillner. 2012-11-29 04:25:49 +00:00
Christian Neukirchen
b4315a3fda Use vendored queue.h everywhere 2012-11-26 16:27:22 +01:00
okan
28224ff830 sort 2012-11-09 03:52:02 +00:00
okan
04d4ed7b7e fix some warnings; inspired by a diff from Thordur Bjornsson. 2012-11-08 20:18:19 +00:00
okan
76b0874b4c get rid of the xfree() wrapper around free(); from Tiago Cunha. 2012-11-07 20:34:39 +00:00
Michael Weber
8e49590e9d Merge branch 'linux' of https://github.com/chneukirchen/cwm into linux 2012-09-19 09:30:13 +02:00
okan
3a45879d76 replace with xu_getprop wrapper used everywhere else. 2012-09-09 20:52:57 +00:00
Michael Weber
a3e4c1beb3 Merge branch 'linux' of https://github.com/chneukirchen/cwm into linux
Conflicts:
	group.c
	xutil.c
2012-08-05 23:57:53 +02:00
Michael Weber
8e70a7edc4 debugging output 2012-08-05 23:52:32 +02:00
okan
c8a17ef536 remove a redundant assignment and another one up. 2012-07-08 01:00:24 +00:00
okan
f98e123bfc re-implement atom handing; makes for a normalized and more consistent
separation between cwm and ewmh.  seen by a few.
2012-07-03 13:49:03 +00:00
Michael Weber
95484ae032 fix some signedness warnings 2012-06-29 16:58:04 +02:00
Michael Weber
80e96d3ea9 reset autostart timestamps when windows appear 2012-06-29 11:15:59 +02:00
Michael Weber
a6cae02936 autogroup case insensitive 2012-06-29 10:57:06 +02:00
Michael Weber
b1644aa96b add autostart timestamp to avoid multiple invocations of slow apps (firefox, thunderbird, ...) 2012-06-29 10:38:54 +02:00
Michael Weber
fb7a2fe253 autostart if autogroup empty 2012-06-28 10:26:23 +02:00
okan
956c47dbeb get rid of more stray lines/spaces 2012-05-16 21:57:21 +00:00
okan
b4d582c6ef fix comment 2012-05-16 01:10:11 +00:00
okan
fd9b83a232 check if we're in the group already, else multiple calls to
group_movetogroup() on one client will still increment nhidden if the
group is hidden.

found the hard way by Thomas Jeunet and fix from Alexander Polakov -
thanks to both!

ok oga@
2011-12-29 20:48:38 +00:00
okan
f60f630b81 use xfree instead of free since strings is allocated with xmalloc; from
dhill

ok oga@
2011-10-12 15:43:50 +00:00
okan
ba3dfcf7bd move client to group (movetogroup) and hide client only if group is
already hidden (suggested behavior from Alexander Polakov).

ok sthen oga
2011-09-19 07:23:03 +00:00
okan
b96caa16e6 repair groupcycle (broke after cycle-in-group support added more flags);
found by and fix from Thomas Pfaff.

ok oga@
2011-09-13 08:37:49 +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
c8cd94882d tag and comment cleanup; ok oga@ 2011-05-11 13:53:51 +00:00