aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c (unfollow)
Commit message (Collapse)AuthorLines
2015-11-10Start cleaning up name vs function differences; replace magic numbers.okan-101/+123
2015-09-16On execwm, we should properly release resources before exec'ing into aokan-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-24Implement _NET_CLIENT_LIST_STACKING (from Thomas Admin), butokan-1/+2
bottom-to-top order, as per spec (notified Thomas as well).
2015-08-24Sort _NET_WM_STATE Atoms like the spec.okan-2/+2
2015-08-21Fix whitespace.okan-27/+27
2015-08-21Add client freeze extension to _NET_WM_STATE Atom, allowing flag tookan-1/+2
persist. As usual with new Atoms, requires X restart.
2015-08-21Leave command list order from .cwmrc alone; remove sort.okan-9/+2
2015-08-20Alter 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-12introduce 'groupsearch' for group menu search; matches on either groupokan-1/+2
number/shortcut and/or name.
2015-07-01styleokan-3/+3
2015-06-30keep cmdq sortedokan-2/+10
2015-06-30style and spacing nitsokan-4/+4
2015-05-21merge kbd and mouse grouptoggleokan-3/+3
2015-05-17Make 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-26Simplify key/mb binding moving argtype into flags and dropping anotherokan-13/+9
variable; removes the need to zero out struct binding, leaving a simple malloc.
2015-01-24calloc -> mallocokan-2/+2
2015-01-23use malloc over calloc hereokan-2/+2
2015-01-19Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAXokan-2/+3
and HOST_NAME_MAX+1, respectively. ok doug@
2014-09-17these client actions are just toggles; less confusing with better namesokan-7/+7
2014-09-17Implement EWMH _NET_WM_STATE_HIDDEN.okan-1/+2
2014-09-07more style nitsokan-11/+11
2014-09-06Move termpath and lockpath into cmdq; side effect is that 'lock' andokan-20/+12
'term' now show up in the application menu.
2014-08-25Implement _NET_WM_STATE_STICKY, bound to CM-s by default; allows anyokan-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-24Continue effort to bring keyboard and mouse functions together; mergeokan-31/+21
name_to_kbfunc and name_to_mousefunc.
2014-08-20Purely mechanical; unify 'num', 'no' and 'shortcut'.okan-3/+3
2014-08-19Remove unnecessary memset since reload was replaced with restart;okan-3/+1
from Kent Spillner.
2014-04-21plug memleak (currently unused func); from Tiago Cunhaokan-1/+2
2014-02-02No need to store screen colormap and visual; rather just use the Xokan-7/+8
macros in the one place they are needed.
2014-02-02The menu already limits entries with MENU_MAXENTRY, so don't botherokan-6/+6
holding a command name limit as well.
2014-01-30Switch ignoreq to winname struct since it's basically the same thing;okan-19/+14
removes limit on name matching.
2014-01-30use the same autogroupwin variable as everywhere elseokan-7/+7
2014-01-30Remove duplicate mouse functions and instead use the kbfunc ones. Nookan-6/+6
user visable changes at this point, but they'll merge at an appropriate time.
2014-01-29Minimize trivial differences between a few kb and mb functions.okan-2/+2
2014-01-29Merge keybinding and mousebinding queues into using the same mergedokan-24/+23
struct, binding; they were essentially the same accept for what was 'pressed', keysym or button.
2014-01-29Much like we do for keyboard and mouse bindings, remove duplicates forokan-1/+16
command name - last match.
2014-01-29Check command name/path for truncation and provide user feedback duringokan-14/+24
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.
2014-01-28Check ignore windowname for truncation and provide user feedback duringokan-3/+5
config parse; based on a discussion with Tiago Cunha.
2014-01-23no need to quote within warningokan-3/+3
2014-01-22Somewhat streamline event loop/restart/quit handling; most notableokan-3/+3
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.
2014-01-21Sprinkle a few more const; from Tiago Cunha.okan-12/+12
2014-01-20merge KBFLAG_NEEDCLIENT and MOUSEBIND_CTX_*; brings kbfunc and mousefuncokan-69/+54
bits even closer.
2014-01-20Use argument to pass down flags for mousefunc cyclegroup; removesokan-4/+5
rcyclegroup wrapper need - now similar to kbfunc.
2014-01-20constify and rename some confusing variables around cmdq.okan-10/+10
2014-01-20 - remove redundant range check for buttons in conf_bind_mouse.okan-62/+52
- 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.
2014-01-03use consistent typesokan-9/+9
2014-01-02bring mousefunc closer to kbfuncokan-15/+18
2013-12-17replace with memsetokan-2/+2
2013-12-16Implement support for EWMH's _NET_WM_STATE_FULLSCREEN hint.okan-2/+5
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@
2013-12-13Add support for XUrgency and matching _NET_WM_STATE_DEMANDS_ATTENTIONokan-1/+3
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.
2013-11-27like gap, make snapdist per screenokan-1/+2