summaryrefslogtreecommitdiff
path: root/app/cwm
AgeCommit message (Collapse)Author
2019-03-08extend verbose logging for key/button eventsOkan Demirmen
2019-03-08[keypress event] turns out we've been checking the wrong window for a matchingOkan Demirmen
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.
2019-03-08add parans for readibilityOkan Demirmen
2019-03-07Teach client_current() to use a screen to find the current client instead ofOkan Demirmen
iterating over all (fallback if no screen provided for now). Initially convert trivial uses of client_current().
2019-03-07check cc->gc directlyOkan Demirmen
2019-03-07zip extra linesOkan Demirmen
2019-03-07gc clientq inside groups, instead use the better maintained one per-screenOkan Demirmen
2019-03-07shuffle deck chairs: rename group actions to match intent for clarityOkan Demirmen
2019-03-06same thing as screen_find()Okan Demirmen
2019-03-04Separate out the menu window from the client resize/move geom window; in eachOkan Demirmen
case, create and destroy on-demand. Isolate more menu specific code.
2019-03-04fix a few misplaced (and misnamed) ewmh root window functionsOkan Demirmen
2019-03-04_NET_WORKAREA needs ngroups, so screen_update_geometry() needs to come afterOkan Demirmen
conf_group().
2019-03-04simplify xftcolor configOkan Demirmen
2019-03-01Tie group number and name together during config.Okan Demirmen
2019-02-28Move the group index (desktop number) check to the only 2 callers that requireOkan Demirmen
checking due to ewmh.
2019-02-28Ensure we don't action on the last group when the requested one is not found.Okan Demirmen
2019-02-28Selectively hide and show clients based on state; merge client_unhide() andOkan Demirmen
client_show().
2019-02-25Add a configtest flag (-n).Okan Demirmen
based on a diff from Sascha Paunovic.
2019-02-25Add 'group-close-[n]' action to close all windows within specified group.Okan Demirmen
heavily based on a diff from Nam Nguyen.
2019-02-23simplify screen 'area' usage for initial client placementOkan Demirmen
2019-02-22restore order from before r1.248 (vtile/vtile containment changes).Okan Demirmen
2019-02-22Rename internal functions to delinate between client remove, delete and xprotoOkan Demirmen
delete; 'window-close' is now the proper action, but 'window-delete' as an alias will remain until more interesting changes require breaking configs.
2019-02-22Limit vtile/htile actions to clients fully within the screen of master client.Okan Demirmen
from Charles A Daniels.
2019-02-13fix missing includesOkan Demirmen
2018-11-14Stop asking for events (NoEventMask) from menu window once done withOkan Demirmen
the menu (we don't destroy it, only unmap).
2018-11-13Allow 'transientfor' clients to inherit group and bwidth either during init orOkan Demirmen
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.
2018-11-09merge from base, from sashan@:Okan Demirmen
> - odd condition/test in PF lexer > (and other lexers too) > > This commit rectifies earlier change: > > in the lex... even inside quotes, a \ followed by space or tab should > expand to space or tab, and a \ followed by newline should be ignored > (as a line continuation). compatible with the needs of hoststated > (which has the most strict quoted string requirements), and ifstated > (where one commonly does line continuations in strings). > > OK deraadt@, OK millert@
2018-11-08Use the original client border width to adjust initial placement of clientsOkan Demirmen
containing {P,US}Position requests where they are explicitly set to 'ignore' in cwmrc(5); clients are unaware that their border will be altered (removed in this case) when calcuating position and thus end up a factor of their original border width off once mapped by cwm(1). cwm(1) will essentially shift the client to the edge if the original request's position and border match. Window offset noticed by at least Andre Stoebe via bugs@, and others since (and likely before). Thanks!
2018-07-16Remove unused prototype; from Ross L Richardson.Okan Demirmen
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.