Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Purely mechanical; unify 'num', 'no' and 'shortcut'. | okan | 2014-08-20 | 1 | -2/+2 | |
| | ||||||
* | Remove unnecessary memset since reload was replaced with restart; | okan | 2014-08-19 | 1 | -2/+0 | |
| | | | | from Kent Spillner. | |||||
* | plug memleak (currently unused func); from Tiago Cunha | okan | 2014-04-21 | 1 | -0/+1 | |
| | ||||||
* | No need to store screen colormap and visual; rather just use the X | okan | 2014-02-02 | 1 | -6/+7 | |
| | | | | macros in the one place they are needed. | |||||
* | The menu already limits entries with MENU_MAXENTRY, so don't bother | okan | 2014-02-02 | 1 | -5/+5 | |
| | | | | holding a command name limit as well. | |||||
* | Switch ignoreq to winname struct since it's basically the same thing; | okan | 2014-01-30 | 1 | -18/+13 | |
| | | | | removes limit on name matching. | |||||
* | use the same autogroupwin variable as everywhere else | okan | 2014-01-30 | 1 | -11/+11 | |
| | ||||||
* | Minimize trivial differences between a few kb and mb functions. | okan | 2014-01-29 | 1 | -1/+1 | |
| | ||||||
* | Merge keybinding and mousebinding queues into using the same merged | okan | 2014-01-29 | 1 | -23/+22 | |
| | | | | | struct, binding; they were essentially the same accept for what was 'pressed', keysym or button. | |||||
* | Much like we do for keyboard and mouse bindings, remove duplicates for | okan | 2014-01-29 | 1 | -0/+15 | |
| | | | | command name - last match. | |||||
* | Check command name/path for truncation and provide user feedback during | okan | 2014-01-29 | 1 | -13/+23 | |
| | | | | | | config parse (and use conf_cmd_add to populate defaults); based on a discussion with Tiago Cunha. While this looks ugly, there are likely some other changes here to come. | |||||
* | Check ignore windowname for truncation and provide user feedback during | okan | 2014-01-28 | 1 | -2/+4 | |
| | | | | config parse; based on a discussion with Tiago Cunha. | |||||
* | no need to quote within warning | okan | 2014-01-23 | 1 | -2/+2 | |
| | ||||||
* | Somewhat streamline event loop/restart/quit handling; most notable | okan | 2014-01-22 | 1 | -2/+2 | |
| | | | | | | | | change allows a restart to trigger proper teardown first, even though teardown is not (yet) complete. After some discussion with oga@nicotinebsd.org regarding a more complicated version/idea. | |||||
* | Sprinkle a few more const; from Tiago Cunha. | okan | 2014-01-21 | 1 | -11/+11 | |
| | ||||||
* | merge KBFLAG_NEEDCLIENT and MOUSEBIND_CTX_*; brings kbfunc and mousefunc | okan | 2014-01-20 | 1 | -68/+53 | |
| | | | | bits even closer. | |||||
* | Use argument to pass down flags for mousefunc cyclegroup; removes | okan | 2014-01-20 | 1 | -3/+4 | |
| | | | | rcyclegroup wrapper need - now similar to kbfunc. | |||||
* | constify and rename some confusing variables around cmdq. | okan | 2014-01-20 | 1 | -9/+9 | |
| | ||||||
* | - remove redundant range check for buttons in conf_bind_mouse. | okan | 2014-01-20 | 1 | -61/+51 | |
| | | | | | | | | | - make conf_bind_kbd return error on non-matches to match what conf_bind_mouse does. - rename some variables while here for clarity. - constify bind and cmd. from Tiago Cunha. | |||||
* | use consistent types | okan | 2014-01-03 | 1 | -8/+8 | |
| | ||||||
* | bring mousefunc closer to kbfunc | okan | 2014-01-02 | 1 | -14/+17 | |
| | ||||||
* | replace with memset | okan | 2013-12-17 | 1 | -1/+1 | |
| | ||||||
* | Implement support for EWMH's _NET_WM_STATE_FULLSCREEN hint. | okan | 2013-12-16 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | Since we already have a form of 'maximize', we need to differentiate between 'maximize' and the new 'fullscreen' mode. The 'maximize' mode will continue to honor gap but now *retains* the border, matching the 'vert/horz maximize' behaviour. The new 'fullscreen' mode supports and follows the _NET_WM_STATE_FULLSCREEN hint, allowing the client perform additional window modifications; in this mode, cwm(1) will *ignore* gap, remove borders and freeze(move/resize) the client. Additionally, 'fullscreen' mode will remember various combinations of previous states. * default keybinding changes: CM-f 'fullscreen', CM-m 'maximize' (re-map as desired). Positive feedback from a few, testing and ok sthen@ | |||||
* | Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTION | okan | 2013-12-13 | 1 | -0/+2 | |
| | | | | | | | ewmh hint; urgencyborder is configurable. The urgency flag will stick, even while on a client in a non-viewable group, until the client receives focus (where the border is reset). Initial diff from Thomas Adam with some changes/enhancements from me. | |||||
* | like gap, make snapdist per screen | okan | 2013-11-27 | 1 | -0/+1 | |
| | ||||||
* | Remove the option to bind a key by keycode with brackets; it never | okan | 2013-11-27 | 1 | -14/+3 | |
| | | | | | | | worked (and no one complained!). While it's fairly easy to fix, users should be using keysym names and not keycodes. Discussed at length months ago with todd@, matthieu@ and Owain. | |||||
* | wrap key ungrab like btn ungrab, for it'll be used again | okan | 2013-10-20 | 1 | -1/+1 | |
| | ||||||
* | Using xu_btn_ungrab() buttons during client_leave doesn't work (error | okan | 2013-10-19 | 1 | -0/+2 | |
| | | | | | | | BadValue) when the modifier is already AnyModifier . Instead alter xu_btn_ungrab() to ungrab AnyButton/AnyModifier and call it only when a client is coming into focus in client_setactive(), instead of iterating over ignore mods - matches how we handle key grabs. | |||||
* | trying parsing a XLFD string first, then by pattern | okan | 2013-10-07 | 1 | -3/+6 | |
| | ||||||
* | don't need the size here | okan | 2013-07-16 | 1 | -1/+1 | |
| | ||||||
* | max -> nitems | okan | 2013-07-16 | 1 | -1/+1 | |
| | ||||||
* | simplify atom handling; allows us to limit to one round-trip to server | okan | 2013-07-15 | 1 | -0/+37 | |
| | | | | for gathering Atoms. | |||||
* | type fixes | okan | 2013-07-10 | 1 | -2/+2 | |
| | ||||||
* | add support for mouse based group {,r}cycle; from Rodrigo Mosconi. not | okan | 2013-07-08 | 1 | -0/+2 | |
| | | | | bound by default. | |||||
* | move kbfunc and mousefunc closer together | okan | 2013-07-08 | 1 | -34/+37 | |
| | ||||||
* | clarify kbd vs mouse functions | okan | 2013-07-08 | 1 | -16/+16 | |
| |