Commit Graph

  • 08ae5aeca5 Merge branch 'linux' of https://github.com/leahneukirchen/cwm into patched patched yosh 2023-04-15 13:53:21 -0400
  • cc11b498c7 magnet patch linux yosh 2023-01-15 23:34:18 -0500
  • 080591fb08 fair layout patch update yosh 2023-01-08 14:59:54 -0500
  • 1a709b1e34 warp on move to group patch yosh 2023-01-06 20:47:31 -0600
  • 27f167782b update README yosh 2023-01-05 12:51:16 -0600
  • 947657dacf add patch files yosh 2023-01-05 12:51:08 -0600
  • 73cef0ffb0 cvsimport op 2023-03-22 08:27:36 +0000
  • 9eb763ab87 cwm: fix a semi-transparency border issue with some applications op 2023-03-22 08:27:36 +0000
  • ddc8ef736d magnet patch yosh 2023-01-15 23:35:39 -0500
  • 5b5babb21b fix fair layout width/height yosh 2023-01-08 15:02:49 -0500
  • d3f660dbd7 warp on move to group patch yosh 2023-01-06 20:49:54 -0600
  • f33922312b update README yosh 2023-01-05 12:46:01 -0600
  • cee2b7fc79 warp on close patch yosh 2023-01-05 12:03:00 -0600
  • f97d6ade0c fair layout patch yosh 2023-01-05 12:02:36 -0600
  • 65b3be249a force tiling patch yosh 2023-01-05 12:01:25 -0600
  • 209cca2b86 roman numeral patch yosh 2023-01-05 11:59:51 -0600
  • 481894147a cvsimport okan 2022-10-15 16:06:07 +0000
  • 4a6128d5e4 Fix overlapping menu items as reported by kn@ and probably others at some point; with op@ and Walter Alejandro Iglesias helping along the way. Consistently use font ascent+descent instead of an arbitrary font height+1 for individual menu item rectangles and placement. okan 2022-10-15 16:06:07 +0000
  • c55191fdc5 README: update Leah Neukirchen 2022-04-30 17:11:23 +0200
  • 7af3a7b8b6 cvsimport okan 2022-02-27 14:59:55 +0000
  • 4e73ce533c cycling fix: when no client is active, warp pointer to last active; from Walter Alejandro Iglesias. okan 2022-02-27 14:59:55 +0000
  • 496bcc879d whitespace okan 2022-02-26 15:19:18 +0000
  • 5e5221d82d Fix spelling of some unused MWM hints; from Sean C. Farley. okan 2022-02-26 15:03:42 +0000
  • 7c22b36a23 Add group-last command that shows only the previously active group; ok okan op 2022-01-27 18:45:10 +0000
  • 81a08ddb89 Allow bare numbers for key and mouse bindings; taken from similar support in other parse.y's; from Leon Fischer <lfischer@airmail.cc>. okan 2021-12-24 16:00:47 +0000
  • 35b0da9202 Makefile: use implicit rule for yacc Leah Neukirchen 2021-11-30 16:43:16 +0100
  • a9eeb04606 sync parse.y changes from base; ok naddy@ okan 2021-11-22 00:51:54 +0000
  • 055b84f4d4 Do not attempt to grab keys without a keycode; this incidentally allows XF86 keys support. okan 2021-11-19 19:13:14 +0000
  • ce65ff30c7 README: update IRC channel Leah Neukirchen 2021-05-21 10:12:43 +0200
  • f24dd47517 cvsimport kn 2021-04-22 10:02:55 +0000
  • d46f34f01e Keep pointer within window on maximize/fullscreen toggle kn 2021-04-22 10:02:55 +0000
  • 9fb725f417 README: update Leah Neukirchen 2020-05-22 21:40:11 +0200
  • 3a570bb679 cvsimport Leah Neukirchen 2020-05-14 23:39:56 +0200
  • 91c05f9403 Fixed memory leak in xu_get_strprop. tobias 2020-04-25 20:07:28 +0000
  • 5fde2a2465 use PKG_CONFIG for cross compilation in gentoo A. Tammy 2020-04-20 22:04:39 -0400
  • 3ebe04ee8e Prevent out of boundary write with configuration files in which too many quoted arguments are stored for other window managers. tobias 2020-04-16 17:12:49 +0000
  • 6407eb9bc1 Allow configuring a percentage window size of the master window during htile/vtile actions. From Uwe Werler, with a few manpage tweaks. okan 2020-04-16 13:32:35 +0000
  • 6afdd483c7 zap stray tabs okan 2020-03-24 14:48:29 +0000
  • 6c20772841 Instead of using _NET_ACTIVE_WINDOW on restart, use the pointer location to determine what client to set active. Reduces a round trip for every window. okan 2020-03-24 14:47:29 +0000
  • 0a7d8cc5c4 Add support for SIGINT/SIGTERM. okan 2020-03-23 20:14:27 +0000
  • 6c7b8261df Simplify conditional construct. tim 2020-03-20 18:50:08 +0000
  • 49f839e194 Trim event_mask to those that the root window actually needs. okan 2020-03-20 15:16:31 +0000
  • 207b71ef1c No need to lookup current client early; move to right before it is needed. okan 2020-03-20 12:13:20 +0000
  • 3b9b98c024 Recommit 1.259, but now with TAILQ_FOREACH_SAFE. tim 2020-03-16 17:50:44 +0000
  • b9213d0a02 Revert previous. Causes a crash as reported by Tom Murphy. tim 2020-03-14 16:11:09 +0000
  • 146fa08e4d Simplify list markup. tim 2020-03-13 20:50:07 +0000
  • d8c7d87737 Plug two memory leaks. Also get rid of a variable that is no longer necessary. tim 2020-03-13 20:49:13 +0000
  • 3d1a8028c2 Remove ColormaskChange from event-mask since there's no event handler. okan 2020-02-28 13:38:35 +0000
  • 96275a835d Unrelated style fixes, consistency changes and sorting, appropriate dosage/removal of wrappers, simplification of name queue, client cycle joins other kb/mb bound functions. okan 2020-02-27 14:56:39 +0000
  • 54d95c0610 cvsimport okan 2020-02-07 18:53:41 +0000
  • 450ab06ab7 parse.y: use "queue.h" Leah Neukirchen 2020-02-10 14:41:00 +0100
  • 7a88b2bdb2 Allow the 'empty' group clients to be window-{h,v}tile'd. okan 2020-02-07 18:53:41 +0000
  • d3410dd10d Map ('5') and allow mod5mask (altgr) as a modifier. okan 2020-02-03 16:38:02 +0000
  • 83de84b7f8 add, then use, xvasprintf, checking for appropriate return. okan 2020-01-22 19:58:35 +0000
  • 2fc191f978 Ensure the pointer stays within client bounds after a window 'snap' (to edge). okan 2020-01-21 15:50:03 +0000
  • 669e3406ec README: update Leah Neukirchen 2020-01-04 21:45:17 +0100
  • f2a2839cec Makefile: use gpg2 Leah Neukirchen 2020-01-04 21:45:05 +0100
  • 4154b9b194 cvsimport okan 2019-08-13 18:45:38 +0000
  • 781af9c998 Because cwm warps the pointer during a client move (to stay within the client), there's a window of time where an expose or enternotify event will get generated for a lower client; use a hammer and drain events after keyboard move/resize, until such a time that cwm doesn't warp the pointer. Behavior noticed by kn. okan 2019-08-13 18:45:38 +0000
  • 6131e36f8a Fix regression from r1.107 (lost a return); kettenis@ pointed out the high potential for a use-after-free (true!) where kn@ ran into the regression using an app that actually exercised the XGrabPointer() failure path. okan 2019-08-12 00:52:36 +0000
  • fdb841c3b0 Add application section kn 2019-07-09 21:38:44 +0000
  • 40000724cc command uses execvp(3) not execve(2) kn 2019-07-02 23:37:47 +0000
  • 25b699b582 Plug a memory leak in log_debug(); OK okan@ tim 2019-04-29 19:03:20 +0000
  • 3f1caab46a Handle _NET_WM_NAME changes. tim 2019-04-29 19:02:21 +0000
  • 85d88f3304 cvsimport okan 2019-03-11 15:25:46 +0000
  • 9a7528f5b9 Check the atom type on propertynotify before iterating. okan 2019-03-11 15:25:46 +0000
  • e55c0d48fa use screen_find() for xrandr crtc changes okan 2019-03-10 22:53:11 +0000
  • 5bc2098c6f Find the managed screen from the parent window for client_current(). okan 2019-03-10 20:38:28 +0000
  • 5071baa2aa Print window id in hex; while here, remove unnecessary newline. okan 2019-03-08 20:33:30 +0000
  • 4470a247c8 Similar to keypress event, fetch the screen from the event root window in the buttonpress handler; bail if we don't manage the screen. Allows us to find the current client based on the screen/event root. okan 2019-03-08 17:40:43 +0000
  • eab4b7e4b5 extend verbose logging for key/button events okan 2019-03-08 15:04:39 +0000
  • bf43b62414 [keypress event] turns out we've been checking the wrong window for a matching client thus always falling back to client_current(); while the current client is problaby right in most cases, use event's subwindow (not window) to find the client. Bail early if this event came to us from a screen we don't manage. This is result of us grabing all keybindings off the root window instead of selectively. okan 2019-03-08 14:48:02 +0000
  • 2a3c2b5231 add parans for readibility okan 2019-03-08 13:17:26 +0000
  • 7c45b87622 Teach client_current() to use a screen to find the current client instead of iterating over all (fallback if no screen provided for now). Initially convert trivial uses of client_current(). okan 2019-03-07 14:28:17 +0000
  • 01be5b4e4a check cc->gc directly okan 2019-03-07 13:24:44 +0000
  • 823566a653 zip extra lines okan 2019-03-07 13:24:10 +0000
  • aa79351d2e gc clientq inside groups, instead use the better maintained one per-screen okan 2019-03-07 13:14:41 +0000
  • b26202724a shuffle deck chairs: rename group actions to match intent for clarity okan 2019-03-07 12:54:21 +0000
  • 9efa6c8c85 same thing as screen_find() okan 2019-03-06 13:32:19 +0000
  • 0bda8f7606 Separate out the menu window from the client resize/move geom window; in each case, create and destroy on-demand. Isolate more menu specific code. okan 2019-03-04 19:28:17 +0000
  • 9d5b0e5d22 fix a few misplaced (and misnamed) ewmh root window functions okan 2019-03-04 14:48:59 +0000
  • fda68a40de _NET_WORKAREA needs ngroups, so screen_update_geometry() needs to come after conf_group(). okan 2019-03-04 14:36:02 +0000
  • 0c0551b8bf simplify xftcolor config okan 2019-03-04 13:33:39 +0000
  • 9d25218458 Tie group number and name together during config. okan 2019-03-01 14:32:01 +0000
  • 412b0c9ef4 README: update links Leah Neukirchen 2019-03-01 12:29:38 +0100
  • ae231f67d0 Move the group index (desktop number) check to the only 2 callers that require checking due to ewmh. okan 2019-02-28 23:26:12 +0000
  • 880b5cda3f Ensure we don't action on the last group when the requested one is not found. okan 2019-02-28 23:20:52 +0000
  • 8cd6d1154c Selectively hide and show clients based on state; merge client_unhide() and client_show(). okan 2019-02-28 13:11:53 +0000
  • f4286ad453 cvsimport Leah Neukirchen 2019-02-25 19:45:12 +0100
  • cd4be1c17a Add a configtest flag (-n). okan 2019-02-25 18:07:48 +0000
  • a5ba9aa9da Add 'group-close-[n]' action to close all windows within specified group. okan 2019-02-25 16:40:49 +0000
  • 43cd19378e simplify screen 'area' usage for initial client placement okan 2019-02-23 19:17:17 +0000
  • 953cf1ce89 restore order from before r1.248 (vtile/vtile containment changes). okan 2019-02-22 20:52:13 +0000
  • 535cf541c8 Rename internal functions to delinate between client remove, delete and xproto delete; 'window-close' is now the proper action, but 'window-delete' as an alias will remain until more interesting changes require breaking configs. okan 2019-02-22 19:40:32 +0000
  • 044ef5a8cd Limit vtile/htile actions to clients fully within the screen of master client. okan 2019-02-22 14:39:18 +0000
  • c307e37dcb fix missing includes okan 2019-02-13 15:43:24 +0000
  • 544b4da339 cvsimport okan 2018-11-14 19:22:51 +0000
  • 695eb1d8e5 Stop asking for events (NoEventMask) from menu window once done with the menu (we don't destroy it, only unmap). okan 2018-11-14 19:22:51 +0000
  • 194589eb6b Allow 'transientfor' clients to inherit group and bwidth either during init or via property notify events. Previously only the flags were set but nothing was in the path to apply said flags and/or bwidth. Required slight of re-orgnaization of client_init. okan 2018-11-13 17:37:13 +0000
  • 268deed916 merge from base, from sashan@: okan 2018-11-09 16:00:54 +0000