aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c (follow)
Commit message (Collapse)AuthorAgeLines
* use the correct typeokan2016-12-02-2/+2
|
* Change 'menu-window' to display all windows; then add 'menu-window-hidden' forokan2016-12-01-2/+5
| | | | | | | | the previous behaviour of 'menu-window'. 'menu-window' becomes the default binding; use 'bind-mouse "1" menu-window-hidden' to restore old behaviour for those who prefer. OK sthen@ (long long time ago on a different version)
* Normalize bind function names, based on a few categories: window, group, menuokan2016-12-01-163/+201
| | | | | | | | and pointer. Replace 'bind' and 'mousebind' options with 'bind-key' and 'bind-mouse', respectively, replace special 'unmap' keyword with 'unbind-key' and 'unbind-mouse', and additionally allow unbinding all with 'all' keyword.
* revert previous; upcoming changes will hopefully deal with these moreokan2016-11-15-3/+3
| | | | naturally.
* Add a wrapper based upon xevent handlers around client move/resize for key andokan2016-11-15-3/+3
| | | | mouse bindings.
* Define callbacks, then default bindings.okan2016-11-14-79/+81
|
* Reorganize for upcoming changes.okan2016-11-14-287/+256
|
* Remove the (8) default bindings for pointer move since they conflict withokan2016-11-14-9/+1
| | | | | | | default bindings for emacs, which wins; the feature remains and can be bound to whatever users wish with cwmrc(5). from mpi@
* Make it clear these are flags.okan2016-10-24-5/+5
|
* Sprinkle __func__ in appropriate error messages.okan2016-10-24-3/+3
|
* Refactor callbacks to take a void * so as to not try and generalize intookan2016-10-18-161/+147
| | | | | | | | client_ctx in keypress and buttonpress event handlers; pass appropriate *ctx's based on context. While here, limit some globals, replace defines with appropriate variables and fix some naming.
* Rename 2 kbfunc to match closer to what they dookan2016-10-06-4/+4
|
* Add an argument to the callbacks to pass the xevent context, button orokan2016-10-06-12/+7
| | | | | | | key press. This allows to remove a few hacks to duplicate functions only for behaviour changes; now differing behaviours are pushed down to the callback. Also will allow for previously unavailable actions to be bind-able down the road.
* Add CM-a for 'nogroup' (CM-0 stays for now); update manpage to reflect.okan2016-10-05-1/+2
|
* Stash wmname into conf.okan2016-10-05-1/+3
|
* Calculate client nameqlen in client_setname(), the only place it'sokan2016-10-04-1/+2
| | | | needed/used.
* Turn CALMWM_NGROUPS define into variable, ngroups.okan2016-10-04-1/+2
|
* Start simplifying menu code; and in turn, remove a cursor no longerokan2016-10-03-4/+3
| | | | needed.
* Defaults are split between defines and conf_init(); normalize these, asokan2016-10-03-5/+6
| | | | well as give 'sticky' groups its own variable.
* Use instinsic X11 functions for key/btn/ptr grab/ungrab/regrab requests;okan2016-09-30-7/+27
| | | | | the one line wrappers provided no value and limited altering calls where needed; additionally, most of them had but one caller.
* Mechanical change: move screen menu bits to their own struct.okan2016-09-29-4/+4
|
* Continue merging kb and mouse functions: foldokan2016-09-22-4/+7
| | | | | | mousefunc_menu_{client,cmd,group} into the respective kbfunc_menu_{client,cmd,group} functions; simply pass a flag down from config denoting mouse action behaviour.
* change 'sticky' to 'stick' to toggle client stickiness (seems theokan2016-09-12-3/+3
| | | | | default binding worked for everyone for a long time!); conflict with group sticky found by Ali Farzanrad - thanks!
* add a column to previous commit for consitency.matthieu2016-08-13-2/+2
|
* conf_screen: report the fontname that can't be opened in case of failure.matthieu2016-08-13-2/+2
| | | | ok dcoppa@
* Fix a typo from r1.201; fixes window_grouptoggle binding.okan2015-11-17-2/+2
|
* more client vs screen context differencesokan2015-11-12-23/+23
|
* Move kb pointer movement out of the kbfunc_client_moveresize since it'sokan2015-11-12-49/+49
| | | | | | | | got nothing to do with clients, thus doing flags work causes lots of waste and almost useless jumpy pointer movements; while here, split out move and resize since they share almost no code, just like mouse client move/resize; factor out amount and factor. Still wonder why this is here, but it works now.
* Start cleaning up name vs function differences; replace magic numbers.okan2015-11-10-101/+123
|
* On execwm, we should properly release resources before exec'ing into aokan2015-09-16-2/+2
| | | | | | | new window manager; so allow CWM_EXEC_WM to assign new wm to wm_argv and pass through cwm_status (now EXECWM) so that x_teardown() gets called before exec'ing the new window manager. Removes the need for a separate x_restart() now, using new wm_argv; and consolidates errno for execvp.
* Implement _NET_CLIENT_LIST_STACKING (from Thomas Admin), butokan2015-08-24-1/+2
| | | | bottom-to-top order, as per spec (notified Thomas as well).
* Sort _NET_WM_STATE Atoms like the spec.okan2015-08-24-2/+2
|
* Fix whitespace.okan2015-08-21-27/+27
|
* Add client freeze extension to _NET_WM_STATE Atom, allowing flag tookan2015-08-21-1/+2
| | | | persist. As usual with new Atoms, requires X restart.
* Leave command list order from .cwmrc alone; remove sort.okan2015-08-21-9/+2
|
* Alter big move and resize bindings to match what's in cwm(1);okan2015-08-20-9/+9
| | | | | | | functionally the same, but re-binding should be based on default bindings. Matches other similiar bindings. Discovered by a portable user.
* introduce 'groupsearch' for group menu search; matches on either groupokan2015-07-12-1/+2
| | | | number/shortcut and/or name.
* styleokan2015-07-01-3/+3
|
* keep cmdq sortedokan2015-06-30-2/+10
|
* style and spacing nitsokan2015-06-30-4/+4
|
* merge kbd and mouse grouptoggleokan2015-05-21-3/+3
|
* Make window name and window class separate parameters to conf_autogroup.kspillner2015-05-17-6/+15
| | | | | | No functional change, but will be used shortly. ok okan@
* Simplify key/mb binding moving argtype into flags and dropping anotherokan2015-03-26-13/+9
| | | | | variable; removes the need to zero out struct binding, leaving a simple malloc.
* calloc -> mallocokan2015-01-24-2/+2
|
* use malloc over calloc hereokan2015-01-23-2/+2
|
* Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAXokan2015-01-19-2/+3
| | | | | | and HOST_NAME_MAX+1, respectively. ok doug@
* these client actions are just toggles; less confusing with better namesokan2014-09-17-7/+7
|
* Implement EWMH _NET_WM_STATE_HIDDEN.okan2014-09-17-1/+2
|
* more style nitsokan2014-09-07-11/+11
|
* Move termpath and lockpath into cmdq; side effect is that 'lock' andokan2014-09-06-20/+12
| | | | 'term' now show up in the application menu.