summaryrefslogtreecommitdiff
path: root/app/cwm
AgeCommit message (Collapse)Author
2018-02-19Do not print any parse errors when ~/.cwmrc is missing. Regression introduced inanton
revision 1.109 of calmwm.c. ok okan@
2018-02-13Store the screen's visual type and colormap.Okan Demirmen
2018-02-13Consolidate region 'view' and 'area'.Okan Demirmen
2018-02-09limit scope of screen_apply_gap()Okan Demirmen
2018-02-09Clean up conf_file/homedir and conf_init() bits.Okan Demirmen
2018-02-06Use screen's saved view instead of re-querying the server.Okan Demirmen
2018-02-04Slightly expand and expose verbose debugging.Okan Demirmen
2018-02-02add debugging for x eventsOkan Demirmen
2018-02-02Add a simple debug logging mechanism.Okan Demirmen
2018-02-02Simplification; use asprintf where appropriate now.Okan Demirmen
2018-02-01Use func attributes where appropriate.Okan Demirmen
2018-01-23Fix wins comparison declaration since it's unsigned from XQueryTree().Okan Demirmen
2018-01-23Generate name_to_func[] in a clean and readable fashion.Okan Demirmen
2018-01-23Shrink tier[] by one after removing matchname in r1.55.Okan Demirmen
2018-01-23If the requested group number is invalid, bail but don't kill cwm.Okan Demirmen
2018-01-08Quick fix: exit after a failed execvp in u_spawn instead; previously we did inOkan Demirmen
u_exec, but the introduction of re-exec'ing the previous invocation of cwm if 'exec_wm' failed missed the 'exec' failing path. Will likely split out as a proper fix. Odd behaviour reported by Ve Telko.
2018-01-02Only exec the fallback when in CWM_EXEC_WM state.Okan Demirmen
Broken quit noticed by Ve Telko.
2017-12-30Typo, from Julien Steinhauser.Okan Demirmen
2017-12-29If the replacement window manager fails to start, restart the fallback (theOkan Demirmen
original invocation of cwm).
2017-12-29Convert menu-exec-wm from an abritrary exec menu, into a config-based menu fromOkan Demirmen
which one may configure (wm <name> <path_and_args>) (and choose) specific window managers to replace the running one. 'wm cwm cwm' is included by default. No objections and seems sensible to sthen.
2017-12-29As done for buttonrelease, work specific un-cycling and un-highlighting actionsOkan Demirmen
into the keyrelease event, only performing what's actually needed for each; should result in much fewer events against keyreleases. No intended behaviour change. Additionally, like we do for group membership, grab the keyboard only when required for cycling.
2017-12-29Merge group_toggle_membership_leave into the buttonrelease event and only doOkan Demirmen
border work for a group/ungroup action.
2017-12-29add helper function client_show to bring together like actions for unhide/raiseOkan Demirmen
2017-12-27Add support for re-exec'ing with SIGHUP; equivalent to the already built-inOkan Demirmen
'restart' function.
2017-12-27Use poll and XNextEvent to replace XNextEvent blocking inside the x11 eventOkan Demirmen
handler.
2017-12-22zap stray that snuck inOkan Demirmen
2017-12-22Return the connection number for the display.Okan Demirmen
2017-12-22Fix a few comments and while here, wrap some long lines.Okan Demirmen
2017-12-19Use a variable to keep track of flags for menu_filter().Okan Demirmen
2017-12-19Add support for _NET_WM_STATE_SKIP_PAGER and _NET_WM_STATE_SKIP_TASKBAR; eerilyOkan Demirmen
close to cwm's 'ignore'. Roughly based on an initial diff from Walter Alejandro Iglesias, but with support for both Atoms and without cwm-based bindings.
2017-12-15remove duplicate ExposureMaskOkan Demirmen
2017-12-13move variable declarations up, to match everything elseOkan Demirmen
2017-12-12clean up after previous (noprompt removal)Okan Demirmen
2017-12-11Unconditionally show prompt on menus, regardless of invocation.Okan Demirmen
2017-12-07Original idea from Dimitris Papastamos to move windows to corners a while ago;Okan Demirmen
re-proposed by Julien Steinhauser with an updated diff. Apparently this was in the original calmnwm. However, expand the original idea and let clients 'snap' to edges instead, neatly allowing key bindings that snap to adjacent edges (i.e. corners) as well. No default bindings assigned.
2017-12-07give command and group menus their own match callbacksOkan Demirmen
2017-12-07stash dir into conf since it'll be of useOkan Demirmen
2017-12-07organize this a bit betterOkan Demirmen
2017-12-07spacingOkan Demirmen
2017-11-30Revert r1.109 (Switch to XWindowEvent() pulling out events that match the maskOkan Demirmen
*and* window.) of mousefunc.c. When a client destroys itself while we are moving or resizing it, XWindowEvent() blocks. Found the hard way by Anton Lazarov, and Lea°hNeukirchen found the right bit to revert - thanks! Reverting since the reason to switch from XMaskEvent was unclear.
2017-09-06Case matters for menu matching on executables; from ben@lloyd.im.Okan Demirmen
2017-07-21Use the key names from keysymdef.h in the default key bindings list forOkan Demirmen
clarification. from Michael Reed.
2017-07-14remove extra parenthesesOkan Demirmen
2017-07-14Pull over the remaining re-implemented window move/resize functions and createOkan Demirmen
a wrapper so that the key and mouse based move/resize callbacks can be unified. This has already been done with other window operations and menus.
2017-07-12rename one function, matching others, to help upcoming changeOkan Demirmen
2017-07-10Replace fgetln(3) with POSIX getline(3); inspired by brynet and Ingo.Okan Demirmen
feedback and ok brynet@
2017-07-06fix a few WARNINGS (new sentence, new line and extraneous Pp macro) found withOkan Demirmen
mandoc -Tlint
2017-07-06from src, by espie@:Okan Demirmen
no need to generate y.tab.h if nothing uses it, set YFLAGS to nothing
2017-05-09drop obsolete commentOkan Demirmen
2017-05-09Alter callbacks to take a struct instead of a growing number of arguments;Okan Demirmen
greatly simplifies upcoming work.