aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* merge kbd and mouse grouptoggleokan2015-05-21-17/+11
|
* fill in mwm definesokan2015-05-20-7/+23
|
* Fix autogroup so name,class doesn't need to be quoted.kspillner2015-05-17-1/+12
| | | | ok okan@ on an older version of this diff
* Make window name and window class separate parameters to conf_autogroup.kspillner2015-05-17-10/+20
| | | | | | No functional change, but will be used shortly. ok okan@
* plug a leakokan2015-03-29-1/+2
|
* Introduce a xreallocarray and convert a few xcalloc instances that dookan2015-03-28-9/+22
| | | | not require zero'ing.
* Reshuffle and slightly simplify menu_complete_path(), removing anokan2015-03-28-10/+6
| | | | allocation, for tab-completion; checked by Alexander Polakov as well.
* plug a leakokan2015-03-28-1/+2
|
* Simplify key/mb binding moving argtype into flags and dropping anotherokan2015-03-26-15/+11
| | | | | variable; removes the need to zero out struct binding, leaving a simple malloc.
* simplify error messages; discussed with doug@okan2015-02-14-7/+6
|
* calloc -> mallocokan2015-01-24-2/+2
|
* use malloc over calloc hereokan2015-01-23-2/+2
|
* First restore net_wm_state(ewmh), then wm_state(iccc); prevents clientsokan2015-01-23-7/+6
| | | | | | | | from re-hiding on restart due to flag toggling (note that this is ripe for re-vamping). Behavior only observed on restarts. Problem found by, and initial patch from, Henri Kemppainen (thanks!), though ever so slightly different one applied.
* Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAXokan2015-01-19-35/+48
| | | | | | and HOST_NAME_MAX+1, respectively. ok doug@
* Catch up with src parse.y changes by jsg@:okan2015-01-17-1/+4
| | | | | | | | Don't allow embedded nul characters in strings. Fixes a pfctl crash with an anchor name containing an embedded nul found with the afl fuzzer. pfctl parse.y patch from and ok deraadt@
* Add gcc format attributes for yyerror(); fix a few yyerror() calls.okan2015-01-16-7/+9
| | | | Adapted from src parse.y changes by doug@. OK doug@
* no need for calloc(1,.. here, malloc is fine since we initializeokan2014-10-08-2/+3
|
* make group_init work like other *_init'sokan2014-10-08-20/+21
|
* these have nothing to do with 'sticky', but rather group membership; rename.okan2014-09-27-17/+14
|
* Pass just the group to group_setactive instead of the screen and anokan2014-09-27-13/+9
| | | | index which then needed to be found in a queue.
* Update _NET_CURRENT_DESKTOP with the screen's group_active->num.okan2014-09-23-9/+11
|
* Move stuff that doesn't belong in group_init; while here, explicitlyokan2014-09-23-18/+18
| | | | initialize hideall and cycling.
* Move motion time check to the top of each MotionNotify block (andokan2014-09-18-17/+16
| | | | | | eliminate from ButtonRelease); further limits the amount of work done outside the threshold, notably mousefunc_sweep_calc, screen_find_xinerama and client_snapcalc.
* these client actions are just toggles; less confusing with better namesokan2014-09-17-56/+58
|
* ewmh states _NET_WM_STATE_STICKY should not alter positionokan2014-09-17-9/+9
|
* Use a similarly named check as sticky for hidden check in a group.okan2014-09-17-15/+11
|
* don't toggle _WM_STATE_HIDDEN here yetokan2014-09-17-3/+3
|
* Implement EWMH _NET_WM_STATE_HIDDEN.okan2014-09-17-9/+31
|
* Introduce a check to see if a group holds only 'sticky' clients and useokan2014-09-17-6/+19
| | | | | | | | this check to decide if a group is virtually empty. Rationale: if a group contains *only* 'sticky' clients, it should be skipped while cycling through groups. Apply similar logic to the group menu. Based on an idea from phessler@, who also tested another version.
* use similiar style for client flagsokan2014-09-15-11/+11
|
* Remove incorrect cast in kbfunc_exec. In kbfunc_ssh, reverse logic onokan2014-09-11-5/+5
| | | | truncation check so it's obvious.
* fold in 'active' into 'flags'okan2014-09-10-8/+8
|
* move the check for an empty queue up during cycleokan2014-09-08-4/+2
|
* name the group client queue appropriately, like other queuesokan2014-09-08-21/+21
|
* more style nits and wrappingokan2014-09-08-5/+7
|
* since mruq has been folded in, rename mru-named functionsokan2014-09-08-7/+7
|
* Remove duplicate client queue (mruq); instead, remove and take theokan2014-09-08-35/+32
| | | | | | global Clientq and place it inside screen_ctx since every client belongs to a screen, then use the same per screen clientq to track stacking order (the sole reason for mruq).
* Now that a group knows its screen, only pass down the group_ctx.okan2014-09-08-22/+22
|
* Add screen_ctx to group_ctx, and populate on init.okan2014-09-07-2/+4
|
* more style nitsokan2014-09-07-75/+75
|
* screen_fromroot -> screen_findokan2014-09-07-12/+12
|
* Get rid of a redundant array of groups per screen; we already have aokan2014-09-07-11/+24
| | | | link to the group queue for each screen.
* Few style nits; extend 'path' to MAXPATHLEN.okan2014-09-06-11/+14
|
* generic sighandlerokan2014-09-06-11/+14
|
* style nitokan2014-09-06-3/+3
|
* Move termpath and lockpath into cmdq; side effect is that 'lock' andokan2014-09-06-27/+30
| | | | 'term' now show up in the application menu.
* Rework group names: stash the group name inside the group_ctx as opposedokan2014-09-06-69/+46
| | | | | | to having to manage an array outside in screen_ctx for group names and shortcuts. Simplifies (and moves bits for) reading, and constructing data for, EWMH's _NET_DESKTOP_NAMES.
* bring menu bits closer togetherokan2014-09-02-4/+3
|
* add explicit paran and drop some empty lines bringing like functions closerokan2014-09-01-8/+4
|
* Merge group_menu into mousefunc_menu_group.okan2014-09-01-41/+34
|