Commit Graph

  • 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. okan 2013-01-01 14:50:01 +0000
  • ccbb1f1529 least intrusive way to plug a memleak when unbinding a duplicate key for kbfunc_cmdexec; from Tiago Cunha okan 2013-01-01 14:33:52 +0000
  • 6cb334e503 replace emptystring with strdup here as well so we know we are free'ing a malloc'd variable everytime; from Tiago Cunha okan 2013-01-01 14:26:29 +0000
  • 0957fbbee2 make num of groups no longer off-by-one; from Alexander Polakov okan 2013-01-01 14:19:56 +0000
  • f77166194f cvsimport okan 2012-12-19 15:21:34 +0000
  • dc1e3a8843 gc unused cmd 'flags' variable okan 2012-12-19 15:21:34 +0000
  • c565b790ed expand CHILDMASK okan 2012-12-18 18:39:55 +0000
  • 86eaf5e973 use MOUSEMASK since we already have it okan 2012-12-18 18:35:36 +0000
  • 31e9fe4dcd remove unused SEARCHMASK okan 2012-12-18 17:44:18 +0000
  • e5d59c2d7b define LockMask|Mod2Mask; no functional change okan 2012-12-18 17:37:39 +0000
  • b848a2b236 simplify config file setup; with Tiago Cunha okan 2012-12-18 00:14:41 +0000
  • 479e9f769c put a default known_hosts into conf okan 2012-12-17 23:54:57 +0000
  • 75f65f399e pull user home directory via getenv or getpwuid and stash it so we don't need to do this everytime; with Tiago Cunha okan 2012-12-17 23:03:41 +0000
  • fe44d1dfce cmap -> colormap in client_ctx okan 2012-12-17 18:35:26 +0000
  • af13c08108 stash the default screen visual and colormap in screen_ctx okan 2012-12-17 18:34:06 +0000
  • 82e8ec4245 replace client highlight with a client flag okan 2012-12-17 17:48:57 +0000
  • 8e67d1389c make client_mtf static okan 2012-12-17 14:58:46 +0000
  • 3a3e0383b2 create and use menuq_clear() helper; from Tiago Cunha okan 2012-12-17 14:32:39 +0000
  • d651c1cc3b current_client() returns _curcc, so use it where appropriate okan 2012-12-17 14:26:29 +0000
  • 980c6de1ff screen font -> xftfont okan 2012-12-17 14:20:52 +0000
  • 96cd288a2a knf okan 2012-12-17 02:53:29 +0000
  • 6900cd3612 non-trivial menu drawing rewrite, moving to Xft and solving various font/color drawing issues; from Alexander Polakov okan 2012-12-17 02:28:45 +0000
  • 012bd7c7c0 replace xfree with free Michael Weber 2012-11-29 23:31:21 +0100
  • 1fad01ad39 Merge branch 'linux' of git://github.com/chneukirchen/cwm into linux Michael Weber 2012-11-29 23:29:56 +0100
  • a3aaad2c18 zap extra lines okan 2012-11-29 16:50:03 +0000
  • 560acb43fc specific last match for autogroup; few iterations with Kent Spillner. okan 2012-11-29 04:25:49 +0000
  • 7edabe94f2 x_setupscreen -> screen_init; no functional change. okan 2012-11-29 03:54:46 +0000
  • 5947879dfb remove dead extern okan 2012-11-29 03:34:19 +0000
  • 878eb6bf05 cvsimport okan 2012-11-28 14:32:44 +0000
  • 3e151f8c76 add xasprintf() for upcoming changes. okan 2012-11-28 14:32:44 +0000
  • 2b9d921eda ever since the 9wm code bits were removed or replaced, this file has been a no-op, for each source file has a complete license marker (ISC). okan 2012-11-28 14:25:05 +0000
  • fad4798e5b replace hand rolled font_make() with XftFontOpenName() and merge into font_init(). okan 2012-11-28 14:14:44 +0000
  • b4315a3fda Use vendored queue.h everywhere Christian Neukirchen 2012-11-26 16:27:22 +0100
  • 9088b86b14 Vendor OpenBSD queue.h,v 1.36 Christian Neukirchen 2012-11-26 16:26:41 +0100
  • 319d4e179e cvsimport Christian Neukirchen 2012-11-26 16:17:45 +0100
  • 93f64ffc55 add some checks okan 2012-11-16 14:15:48 +0000
  • 7b00e3fe76 variable name consistency; from Thomas Pfaff okan 2012-11-14 21:31:53 +0000
  • 587d623e4a tab-complete buglet fix: once exec_path is completed, allow for subsequent completion; from Alexander Polakov okan 2012-11-14 21:12:24 +0000
  • 28224ff830 sort okan 2012-11-09 03:52:02 +0000
  • 04d4ed7b7e fix some warnings; inspired by a diff from Thordur Bjornsson. okan 2012-11-08 20:18:19 +0000
  • c9c0a5fdbb style nit; from Tiago Cunha. okan 2012-11-07 21:10:32 +0000
  • 55edbe460d add comment why we mouse unbind, just like kbd okan 2012-11-07 21:04:55 +0000
  • 7f1851b8f6 now that we have FOREACH_SAFE queue macros, use them where appropriate; from Tiago Cunha. okan 2012-11-07 21:01:48 +0000
  • bd25218333 plug a leak when using 'unmap' for kbd/mouse bindings; from Tiago Cunha. okan 2012-11-07 20:37:55 +0000
  • 76b0874b4c get rid of the xfree() wrapper around free(); from Tiago Cunha. okan 2012-11-07 20:34:39 +0000
  • dfb6aed82a clarify windowname and windowclass values are pulled from the WM_CLASS property; from Kent Spillner okan 2012-11-07 14:59:07 +0000
  • 94db8ca2ed zap trailing space okan 2012-11-07 14:58:26 +0000
  • 438c0332a1 missing headers; from Thordur Bjornsson. okan 2012-11-07 14:49:46 +0000
  • c53c1af2db spacing okan 2012-11-07 14:40:51 +0000
  • 4b84287d19 tab completion support for menus; from Alexander Polakov. okan 2012-11-07 14:39:44 +0000
  • c44a6dd895 Merge pull request #1 from chneukirchen/linux Michael Weber 2012-11-05 13:34:03 -0800
  • e27f649ae7 cvsimport okan 2012-11-01 01:10:47 +0000
  • dabc05034f try to clarify xprop(1) output, with respect to WM_CLASS, without going overboard; suggested idea by jmc okan 2012-11-01 01:10:47 +0000
  • 620af2e52d no longer a reason to carry conf_path in struct conf, so dice. okan 2012-10-31 22:06:24 +0000
  • 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. okan 2012-10-31 19:30:19 +0000
  • c42043ede7 cvsimport okan 2012-10-29 19:46:03 +0000
  • 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. okan 2012-10-29 19:46:03 +0000
  • 56358be755 clarify autogroup option; based on diffs from kspillner@acm.org with feedback from jmc okan 2012-10-28 20:13:02 +0000
  • 742bcec522 comment what this whole bit does, not just part of it. okan 2012-10-23 16:13:59 +0000
  • 710347df1b add a height to struct menu and use it in the most obvious of places. okan 2012-10-23 16:08:59 +0000
  • 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. okan 2012-10-23 15:50:15 +0000
  • c21d56e5a1 Stop drawing when menu doesn't fit inside the screen; picked from a larger diff from Alexander Polakov. okan 2012-10-23 15:32:38 +0000
  • ff150c8cab Merge branch 'linux' of github.com:xmw/cwm into linux Michael Weber 2012-10-06 14:11:43 +0200
  • a10e815395 fix snap function (xmax/ymax -> struct geom) Michael Weber 2012-09-19 10:13:13 +0200
  • 52cfbac6dc Merge branch 'linux' of https://github.com/chneukirchen/cwm into linux Michael Weber 2012-09-19 09:42:44 +0200
  • 8e49590e9d Merge branch 'linux' of https://github.com/chneukirchen/cwm into linux Michael Weber 2012-09-19 09:30:13 +0200
  • a2d0cbcf97 cvsimport okan 2012-09-12 15:09:33 +0000
  • 871fdf5671 revert previous for now until a way to test more than a few encodings is found okan 2012-09-12 15:09:33 +0000
  • 637edf38d5 be explicit in which key masks we allow during keypress and buttonpress events; from Alexander Polakov - makes non-us layout reliable. okan 2012-09-10 13:28:04 +0000
  • 3a45879d76 replace with xu_getprop wrapper used everywhere else. okan 2012-09-09 20:52:57 +0000
  • 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. okan 2012-09-09 19:47:47 +0000
  • b18e365cb3 cvsimport okan 2012-08-07 14:05:49 +0000
  • 7071261bde support multibyte input to menu code; from Alexander Polakov with a tiny tweak. okan 2012-08-07 14:05:49 +0000
  • a3e4c1beb3 Merge branch 'linux' of https://github.com/chneukirchen/cwm into linux Michael Weber 2012-08-05 23:57:53 +0200
  • 8e70a7edc4 debugging output Michael Weber 2012-08-05 23:52:32 +0200
  • 1545eb0837 cvsimport okan 2012-07-18 21:53:22 +0000
  • 013497c79c Further simplify Xinerama init and re-init on XRR events. OPENBSD_5_2_BASE okan 2012-07-18 21:53:22 +0000
  • b353fae984 fix cwmrc.5 according to group.c:group_make_autogroup Michael Weber 2012-07-16 22:27:10 +0200
  • 3f956098d9 unify various max routines to match client placement and partially menu ones when calculating screen dimensions. okan 2012-07-16 01:53:14 +0000
  • 57af364a21 check value okan 2012-07-16 01:42:00 +0000
  • e42d1c7f01 move the HasXinerama check into screen_find_xinerama and simplify logic; moves closer to logic in menu code. okan 2012-07-16 01:36:30 +0000
  • 0e8815dfb0 re-use geom struct in client_ctx (saved)geometry. okan 2012-07-13 17:01:04 +0000
  • 186a78ff1e convert xmax/ymax uses to view geometry. okan 2012-07-13 15:21:35 +0000
  • cc08aef0df introduce screen "view" area and "work" area (gap applied) to simplify various blocks that require understanding the screen geometry. okan 2012-07-13 14:18:04 +0000
  • 2450e309ea fix atom for setting WM_STATE. okan 2012-07-08 02:55:01 +0000
  • 6faef40c55 fix atom for retrieving WM_STATE between re-exec's. okan 2012-07-08 02:50:41 +0000
  • c8a17ef536 remove a redundant assignment and another one up. okan 2012-07-08 01:00:24 +0000
  • 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. okan 2012-07-06 14:18:00 +0000
  • 315f25f7ab Add a couple examples of keybindings using keysyms, as discussed with okan@ and sthen@. dcoppa 2012-07-06 08:41:29 +0000
  • 9b6808dc5c magentic and screen bound grow/shrink Michael Weber 2012-07-06 00:49:56 +0200
  • 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. okan 2012-07-05 17:35:13 +0000
  • 287a5b2aad assign and use screen ctx where appropriate and consistently. okan 2012-07-04 23:42:03 +0000
  • 3681b26914 use the screen ctx since we already have it assigned. okan 2012-07-04 18:07:12 +0000
  • 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. okan 2012-07-04 18:00:13 +0000
  • f98e123bfc re-implement atom handing; makes for a normalized and more consistent separation between cwm and ewmh. seen by a few. okan 2012-07-03 13:49:03 +0000
  • 95484ae032 fix some signedness warnings Michael Weber 2012-06-29 16:58:04 +0200
  • 80e96d3ea9 reset autostart timestamps when windows appear Michael Weber 2012-06-29 11:15:59 +0200
  • a6cae02936 autogroup case insensitive Michael Weber 2012-06-29 10:57:06 +0200
  • b1644aa96b add autostart timestamp to avoid multiple invocations of slow apps (firefox, thunderbird, ...) Michael Weber 2012-06-29 10:38:54 +0200
  • fb7a2fe253 autostart if autogroup empty Michael Weber 2012-06-28 10:26:23 +0200