Commit Graph

106 Commits

Author SHA1 Message Date
Michael Weber
01625f7689 Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux 2013-11-18 17:02:27 +01:00
okan
0c99788f66 cvsimport 2013-10-25 19:46:16 +00:00
okan
a88b8c1363 a few err->errx since we don't have error messages here; from Tiago Cunha 2013-10-17 13:59:10 +00:00
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
93bfc4a5c1 cvsimport 2013-07-10 14:15:58 +00:00
okan
1f244fe29c move kbfunc and mousefunc closer together 2013-07-08 18:19:22 +00:00
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
okan
112f616d1d swap x/y calculations in kbd move/resize to match those in the respective mouse functions 2013-05-11 22:03:17 +00:00
Michael Weber
ba5397474d use local var from 287a5b2a 2013-05-08 11:15:30 +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
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
28b54db221 consistency 2013-04-08 13:02:31 +00:00
okan
9c6226faa8 cvsimport 2013-01-13 13:55:12 +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
104c7d5de3 cvsimport 2013-01-06 01:01:26 +00:00
okan
6d123cd96d rename {h,v}max functions for consistency; from Jan Stary 2013-01-04 16:30:03 +00:00
okan
c139df129c pass the screen workarea, as opposed to viewarea, allowing client
snapping to honor gap.
2013-01-02 21:41:14 +00:00
okan
2ac65bd288 re-work client_snapcalc() so it takes client and edge dimensions with
snapdist; allows for simplier snap calculations.

required for an upcoming diff for honoring gap.
2013-01-02 21:37:21 +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
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
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
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
76b0874b4c get rid of the xfree() wrapper around free(); from Tiago Cunha. 2012-11-07 20:34:39 +00:00
okan
438c0332a1 missing headers; from Thordur Bjornsson. 2012-11-07 14:49:46 +00:00
okan
4b84287d19 tab completion support for menus; from Alexander Polakov.
ok sthen@ on an older incarnation
2012-11-07 14:39:44 +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
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
Michael Weber
a10e815395 fix snap function (xmax/ymax -> struct geom) 2012-09-19 10:13:13 +02:00
Michael Weber
52cfbac6dc Merge branch 'linux' of https://github.com/chneukirchen/cwm into linux 2012-09-19 09:42:44 +02:00
okan
a2d0cbcf97 cvsimport 2012-09-12 15:09:33 +00:00
okan
86524e21dd extend client_resize so that it can know when to reset max flags and
bwidth; this allows a client to be resized from a max state, which now
gets treated like a non-max'd client.  based on a diff that does part of
this in a different way from Alexander Polakov.
2012-09-09 19:47:47 +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
okan
1545eb0837 cvsimport 2012-07-18 21:53:22 +00:00
okan
0e8815dfb0 re-use geom struct in client_ctx (saved)geometry. 2012-07-13 17:01:04 +00:00
okan
186a78ff1e convert xmax/ymax uses to view geometry. 2012-07-13 15:21:35 +00:00
Michael Weber
9b6808dc5c magentic and screen bound grow/shrink 2012-07-06 00:49:56 +02:00
okan
287a5b2aad assign and use screen ctx where appropriate and consistently. 2012-07-04 23:42:03 +00:00
okan
3681b26914 use the screen ctx since we already have it assigned. 2012-07-04 18:07:12 +00:00
Michael Weber
d61e5289bd add window grow/shrink, add snap grid 2012-06-27 23:52:10 +02:00
okan
b1d81b7eb6 cvsimport 2011-09-08 12:35:33 +00:00
okan
0dcf7efb8e restore mouse move via the keyboard, noticed by todd@. while the check
for cc was wrong due to the fact that cc->sc is always filled in during
the event, we don't even need it - just operate on the focused screen's
root window regardless.

ok todd@ oga@
2011-08-29 09:09:45 +00:00
Christian Neukirchen
513c35dca9 cvsimport 2011-08-04 20:53:37 +02: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