Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Normalize bind function names, based on a few categories: window, group, menu | okan | 2016-12-01 | 1 | -162/+200 |
| | | | | | | | | 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 more | okan | 2016-11-15 | 1 | -2/+2 |
| | | | | naturally. | ||||
* | Add a wrapper based upon xevent handlers around client move/resize for key and | okan | 2016-11-15 | 1 | -2/+2 |
| | | | | mouse bindings. | ||||
* | Define callbacks, then default bindings. | okan | 2016-11-14 | 1 | -78/+80 |
| | |||||
* | Reorganize for upcoming changes. | okan | 2016-11-14 | 1 | -286/+255 |
| | |||||
* | Remove the (8) default bindings for pointer move since they conflict with | okan | 2016-11-14 | 1 | -8/+0 |
| | | | | | | | 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. | okan | 2016-10-24 | 1 | -4/+4 |
| | |||||
* | Sprinkle __func__ in appropriate error messages. | okan | 2016-10-24 | 1 | -2/+2 |
| | |||||
* | Refactor callbacks to take a void * so as to not try and generalize into | okan | 2016-10-18 | 1 | -160/+146 |
| | | | | | | | | 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 do | okan | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Add an argument to the callbacks to pass the xevent context, button or | okan | 2016-10-06 | 1 | -11/+6 |
| | | | | | | | 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. | okan | 2016-10-05 | 1 | -0/+1 |
| | |||||
* | Stash wmname into conf. | okan | 2016-10-05 | 1 | -0/+2 |
| | |||||
* | Calculate client nameqlen in client_setname(), the only place it's | okan | 2016-10-04 | 1 | -0/+1 |
| | | | | needed/used. | ||||
* | Turn CALMWM_NGROUPS define into variable, ngroups. | okan | 2016-10-04 | 1 | -0/+1 |
| | |||||
* | Start simplifying menu code; and in turn, remove a cursor no longer | okan | 2016-10-03 | 1 | -3/+2 |
| | | | | needed. | ||||
* | Defaults are split between defines and conf_init(); normalize these, as | okan | 2016-10-03 | 1 | -4/+5 |
| | | | | well as give 'sticky' groups its own variable. | ||||
* | Use instinsic X11 functions for key/btn/ptr grab/ungrab/regrab requests; | okan | 2016-09-30 | 1 | -6/+26 |
| | | | | | 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. | okan | 2016-09-29 | 1 | -3/+3 |
| | |||||
* | Continue merging kb and mouse functions: fold | okan | 2016-09-22 | 1 | -3/+6 |
| | | | | | | 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 the | okan | 2016-09-12 | 1 | -2/+2 |
| | | | | | 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. | matthieu | 2016-08-13 | 1 | -1/+1 |
| | |||||
* | conf_screen: report the fontname that can't be opened in case of failure. | matthieu | 2016-08-13 | 1 | -1/+1 |
| | | | | ok dcoppa@ | ||||
* | Fix a typo from r1.201; fixes window_grouptoggle binding. | okan | 2015-11-17 | 1 | -1/+1 |
| | |||||
* | more client vs screen context differences | okan | 2015-11-12 | 1 | -22/+22 |
| | |||||
* | Move kb pointer movement out of the kbfunc_client_moveresize since it's | okan | 2015-11-12 | 1 | -48/+48 |
| | | | | | | | | 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. | okan | 2015-11-10 | 1 | -100/+122 |
| | |||||
* | On execwm, we should properly release resources before exec'ing into a | okan | 2015-09-16 | 1 | -1/+1 |
| | | | | | | | 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), but | okan | 2015-08-24 | 1 | -0/+1 |
| | | | | bottom-to-top order, as per spec (notified Thomas as well). | ||||
* | Sort _NET_WM_STATE Atoms like the spec. | okan | 2015-08-24 | 1 | -1/+1 |
| | |||||
* | Fix whitespace. | okan | 2015-08-21 | 1 | -26/+26 |
| | |||||
* | Add client freeze extension to _NET_WM_STATE Atom, allowing flag to | okan | 2015-08-21 | 1 | -0/+1 |
| | | | | persist. As usual with new Atoms, requires X restart. | ||||
* | Leave command list order from .cwmrc alone; remove sort. | okan | 2015-08-21 | 1 | -8/+1 |
| | |||||
* | Alter big move and resize bindings to match what's in cwm(1); | okan | 2015-08-20 | 1 | -8/+8 |
| | | | | | | | 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 group | okan | 2015-07-12 | 1 | -0/+1 |
| | | | | number/shortcut and/or name. | ||||
* | style | okan | 2015-07-01 | 1 | -2/+2 |
| | |||||
* | keep cmdq sorted | okan | 2015-06-30 | 1 | -1/+9 |
| | |||||
* | style and spacing nits | okan | 2015-06-30 | 1 | -3/+3 |
| | |||||
* | merge kbd and mouse grouptoggle | okan | 2015-05-21 | 1 | -2/+2 |
| | |||||
* | Make window name and window class separate parameters to conf_autogroup. | kspillner | 2015-05-17 | 1 | -5/+14 |
| | | | | | | No functional change, but will be used shortly. ok okan@ | ||||
* | Simplify key/mb binding moving argtype into flags and dropping another | okan | 2015-03-26 | 1 | -12/+8 |
| | | | | | variable; removes the need to zero out struct binding, leaving a simple malloc. | ||||
* | calloc -> malloc | okan | 2015-01-24 | 1 | -1/+1 |
| | |||||
* | use malloc over calloc here | okan | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX | okan | 2015-01-19 | 1 | -1/+2 |
| | | | | | | and HOST_NAME_MAX+1, respectively. ok doug@ | ||||
* | these client actions are just toggles; less confusing with better names | okan | 2014-09-17 | 1 | -6/+6 |
| | |||||
* | Implement EWMH _NET_WM_STATE_HIDDEN. | okan | 2014-09-17 | 1 | -0/+1 |
| | |||||
* | more style nits | okan | 2014-09-07 | 1 | -10/+10 |
| | |||||
* | Move termpath and lockpath into cmdq; side effect is that 'lock' and | okan | 2014-09-06 | 1 | -19/+11 |
| | | | | 'term' now show up in the application menu. | ||||
* | Implement _NET_WM_STATE_STICKY, bound to CM-s by default; allows any | okan | 2014-08-25 | 1 | -0/+3 |
| | | | | | | | client to 'stick' to all desktops (ewmh speak) or groups - this currently has the same affect as setting a client's group to 'nogroup', with the exception that the client can also be in a group, so when un-sticking, the client will go back to its original group/desktop. | ||||
* | Continue effort to bring keyboard and mouse functions together; merge | okan | 2014-08-24 | 1 | -30/+20 |
| | | | | name_to_kbfunc and name_to_mousefunc. |