Commit message (Collapse) | Author | Lines | ||
---|---|---|---|---|
2016-10-18 | Refactor callbacks to take a void * so as to not try and generalize into | okan | -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. | ||||
2016-10-06 | Rename 2 kbfunc to match closer to what they do | okan | -4/+4 | |
2016-10-06 | Add an argument to the callbacks to pass the xevent context, button or | okan | -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. | ||||
2016-10-05 | Add CM-a for 'nogroup' (CM-0 stays for now); update manpage to reflect. | okan | -1/+2 | |
2016-10-05 | Stash wmname into conf. | okan | -1/+3 | |
2016-10-04 | Calculate client nameqlen in client_setname(), the only place it's | okan | -1/+2 | |
needed/used. | ||||
2016-10-04 | Turn CALMWM_NGROUPS define into variable, ngroups. | okan | -1/+2 | |
2016-10-03 | Start simplifying menu code; and in turn, remove a cursor no longer | okan | -4/+3 | |
needed. | ||||
2016-10-03 | Defaults are split between defines and conf_init(); normalize these, as | okan | -5/+6 | |
well as give 'sticky' groups its own variable. | ||||
2016-09-30 | Use instinsic X11 functions for key/btn/ptr grab/ungrab/regrab requests; | okan | -7/+27 | |
the one line wrappers provided no value and limited altering calls where needed; additionally, most of them had but one caller. | ||||
2016-09-29 | Mechanical change: move screen menu bits to their own struct. | okan | -4/+4 | |
2016-09-22 | Continue merging kb and mouse functions: fold | okan | -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. | ||||
2016-09-12 | change 'sticky' to 'stick' to toggle client stickiness (seems the | okan | -3/+3 | |
default binding worked for everyone for a long time!); conflict with group sticky found by Ali Farzanrad - thanks! | ||||
2016-08-13 | add a column to previous commit for consitency. | matthieu | -2/+2 | |
2016-08-13 | conf_screen: report the fontname that can't be opened in case of failure. | matthieu | -2/+2 | |
ok dcoppa@ | ||||
2015-11-17 | Fix a typo from r1.201; fixes window_grouptoggle binding. | okan | -2/+2 | |
2015-11-12 | more client vs screen context differences | okan | -23/+23 | |
2015-11-12 | Move kb pointer movement out of the kbfunc_client_moveresize since it's | okan | -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. | ||||
2015-11-10 | Start cleaning up name vs function differences; replace magic numbers. | okan | -101/+123 | |
2015-09-16 | On execwm, we should properly release resources before exec'ing into a | okan | -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. | ||||
2015-08-24 | Implement _NET_CLIENT_LIST_STACKING (from Thomas Admin), but | okan | -1/+2 | |
bottom-to-top order, as per spec (notified Thomas as well). | ||||
2015-08-24 | Sort _NET_WM_STATE Atoms like the spec. | okan | -2/+2 | |
2015-08-21 | Fix whitespace. | okan | -27/+27 | |
2015-08-21 | Add client freeze extension to _NET_WM_STATE Atom, allowing flag to | okan | -1/+2 | |
persist. As usual with new Atoms, requires X restart. | ||||
2015-08-21 | Leave command list order from .cwmrc alone; remove sort. | okan | -9/+2 | |
2015-08-20 | Alter big move and resize bindings to match what's in cwm(1); | okan | -9/+9 | |
functionally the same, but re-binding should be based on default bindings. Matches other similiar bindings. Discovered by a portable user. | ||||
2015-07-12 | introduce 'groupsearch' for group menu search; matches on either group | okan | -1/+2 | |
number/shortcut and/or name. | ||||
2015-07-01 | style | okan | -3/+3 | |
2015-06-30 | keep cmdq sorted | okan | -2/+10 | |
2015-06-30 | style and spacing nits | okan | -4/+4 | |
2015-05-21 | merge kbd and mouse grouptoggle | okan | -3/+3 | |
2015-05-17 | Make window name and window class separate parameters to conf_autogroup. | kspillner | -6/+15 | |
No functional change, but will be used shortly. ok okan@ | ||||
2015-03-26 | Simplify key/mb binding moving argtype into flags and dropping another | okan | -13/+9 | |
variable; removes the need to zero out struct binding, leaving a simple malloc. | ||||
2015-01-24 | calloc -> malloc | okan | -2/+2 | |
2015-01-23 | use malloc over calloc here | okan | -2/+2 | |
2015-01-19 | Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX | okan | -2/+3 | |
and HOST_NAME_MAX+1, respectively. ok doug@ | ||||
2014-09-17 | these client actions are just toggles; less confusing with better names | okan | -7/+7 | |
2014-09-17 | Implement EWMH _NET_WM_STATE_HIDDEN. | okan | -1/+2 | |
2014-09-07 | more style nits | okan | -11/+11 | |
2014-09-06 | Move termpath and lockpath into cmdq; side effect is that 'lock' and | okan | -20/+12 | |
'term' now show up in the application menu. | ||||
2014-08-25 | Implement _NET_WM_STATE_STICKY, bound to CM-s by default; allows any | okan | -1/+4 | |
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. | ||||
2014-08-24 | Continue effort to bring keyboard and mouse functions together; merge | okan | -31/+21 | |
name_to_kbfunc and name_to_mousefunc. | ||||
2014-08-20 | Purely mechanical; unify 'num', 'no' and 'shortcut'. | okan | -3/+3 | |
2014-08-19 | Remove unnecessary memset since reload was replaced with restart; | okan | -3/+1 | |
from Kent Spillner. | ||||
2014-04-21 | plug memleak (currently unused func); from Tiago Cunha | okan | -1/+2 | |
2014-02-02 | No need to store screen colormap and visual; rather just use the X | okan | -7/+8 | |
macros in the one place they are needed. | ||||
2014-02-02 | The menu already limits entries with MENU_MAXENTRY, so don't bother | okan | -6/+6 | |
holding a command name limit as well. | ||||
2014-01-30 | Switch ignoreq to winname struct since it's basically the same thing; | okan | -19/+14 | |
removes limit on name matching. | ||||
2014-01-30 | use the same autogroupwin variable as everywhere else | okan | -7/+7 | |
2014-01-30 | Remove duplicate mouse functions and instead use the kbfunc ones. No | okan | -6/+6 | |
user visable changes at this point, but they'll merge at an appropriate time. |