summaryrefslogtreecommitdiff
path: root/app/cwm
AgeCommit message (Collapse)Author
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.
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