Commit Graph

649 Commits

Author SHA1 Message Date
okan
c42043ede7 cvsimport 2012-10-29 19:46:03 +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
56358be755 clarify autogroup option; based on diffs from kspillner@acm.org with
feedback from jmc
2012-10-28 20:13:02 +00:00
okan
742bcec522 comment what this whole bit does, not just part of it. 2012-10-23 16:13:59 +00:00
okan
710347df1b add a height to struct menu and use it in the most obvious of places. 2012-10-23 16:08:59 +00:00
okan
637c52abf8 treat menu width the same as the height is treated when deciding its
max size and location; partially from a diff from Alexander Polakov.
2012-10-23 15:50:15 +00:00
okan
c21d56e5a1 Stop drawing when menu doesn't fit inside the screen; picked from a
larger diff from Alexander Polakov.
2012-10-23 15:32:38 +00:00
Michael Weber
ff150c8cab Merge branch 'linux' of github.com:xmw/cwm into linux 2012-10-06 14:11:43 +02: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
Michael Weber
8e49590e9d Merge branch 'linux' of https://github.com/chneukirchen/cwm into linux 2012-09-19 09:30:13 +02:00
okan
a2d0cbcf97 cvsimport 2012-09-12 15:09:33 +00:00
okan
871fdf5671 revert previous for now until a way to test more than a few encodings is found 2012-09-12 15:09:33 +00:00
okan
637edf38d5 be explicit in which key masks we allow during keypress and buttonpress
events; from Alexander Polakov - makes non-us layout reliable.
2012-09-10 13:28:04 +00:00
okan
3a45879d76 replace with xu_getprop wrapper used everywhere else. 2012-09-09 20:52:57 +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
okan
b18e365cb3 cvsimport 2012-08-07 14:05:49 +00:00
okan
7071261bde support multibyte input to menu code; from Alexander Polakov with a tiny tweak. 2012-08-07 14:05:49 +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
1545eb0837 cvsimport 2012-07-18 21:53:22 +00:00
okan
013497c79c Further simplify Xinerama init and re-init on XRR events.
While testing for Xinerama during setup was done display-wide, each time
XineramaQueryScreens() is called either in start-up or due to an XRR
event, the library re-tests for the Xinerama extension anyway before
moving on; so the initial test is redundant and allows another global to
go away with one other change: always fill in sc->xinerama (and _no),
regardless of the success of malloc in XineramaQueryScreens(), and use
it to see if Xinerama dimensions exist when asked by client and/or menu
code.
2012-07-18 21:53:22 +00:00
Michael Weber
b353fae984 fix cwmrc.5 according to group.c:group_make_autogroup 2012-07-16 22:27:10 +02:00
okan
3f956098d9 unify various max routines to match client placement and partially menu ones
when calculating screen dimensions.
2012-07-16 01:53:14 +00:00
okan
57af364a21 check value 2012-07-16 01:42:00 +00:00
okan
e42d1c7f01 move the HasXinerama check into screen_find_xinerama and simplify logic;
moves closer to logic in menu code.
2012-07-16 01:36:30 +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
okan
cc08aef0df introduce screen "view" area and "work" area (gap applied) to simplify
various blocks that require understanding the screen geometry.
2012-07-13 14:18:04 +00:00
okan
2450e309ea fix atom for setting WM_STATE. 2012-07-08 02:55:01 +00:00
okan
6faef40c55 fix atom for retrieving WM_STATE between re-exec's. 2012-07-08 02:50:41 +00:00
okan
c8a17ef536 remove a redundant assignment and another one up. 2012-07-08 01:00:24 +00:00
okan
cb893d0aa9 querying for Xinerama should be done per display, not per screen, so
move chuck to display init; allows some shuffling to occur limiting
screen_init_xinerama()'s scope while keeping order intact.
2012-07-06 14:18:00 +00:00
dcoppa
315f25f7ab Add a couple examples of keybindings using keysyms, as discussed
with okan@ and sthen@.

OK okan@, sthen@
2012-07-06 08:41:29 +00:00
Michael Weber
9b6808dc5c magentic and screen bound grow/shrink 2012-07-06 00:49:56 +02:00
okan
1124ee5cc1 the display's width and height are updated after an XRandR event so we
don't need to pass down the new values to screen_update_geometry(); so
just read the width/height values directly for both uses of
screen_update_geometry().  prep for further changes in this area.
2012-07-05 17:35:13 +00: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
okan
8c7964468f fix missing atom (WM_PROTOCOLS) wrt new style handing; without this, the
window manager didn't know if a client supported CLIENT_PROTO_DELETE and
thus used a hammer, XKillClient.

behaviour reported by Tim van der Molen.
2012-07-04 18:00:13 +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
Michael Weber
ac615a5407 use header definition 2012-06-28 08:13:31 +02:00
Michael Weber
d61e5289bd add window grow/shrink, add snap grid 2012-06-27 23:52:10 +02:00
Michael Weber
961f21a790 improve pkg-config call, respect CFLAGs 2012-06-27 23:19:59 +02:00
Christian Neukirchen
8f587e6c80 cvsimport 2012-05-20 15:27:16 +02:00
okan
956c47dbeb get rid of more stray lines/spaces 2012-05-16 21:57:21 +00:00