Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge kbd and mouse grouptoggle | okan | 2015-05-21 | 4 | -13/+7 |
| | |||||
* | fill in mwm defines | okan | 2015-05-20 | 2 | -5/+21 |
| | |||||
* | Fix autogroup so name,class doesn't need to be quoted. | kspillner | 2015-05-17 | 1 | -0/+11 |
| | | | | ok okan@ on an older version of this diff | ||||
* | Make window name and window class separate parameters to conf_autogroup. | kspillner | 2015-05-17 | 3 | -7/+17 |
| | | | | | | No functional change, but will be used shortly. ok okan@ | ||||
* | plug a leak | okan | 2015-03-29 | 1 | -0/+1 |
| | |||||
* | Introduce a xreallocarray and convert a few xcalloc instances that do | okan | 2015-03-28 | 4 | -5/+18 |
| | | | | not require zero'ing. | ||||
* | Reshuffle and slightly simplify menu_complete_path(), removing an | okan | 2015-03-28 | 1 | -9/+5 |
| | | | | allocation, for tab-completion; checked by Alexander Polakov as well. | ||||
* | plug a leak | okan | 2015-03-28 | 1 | -0/+1 |
| | |||||
* | Simplify key/mb binding moving argtype into flags and dropping another | okan | 2015-03-26 | 2 | -13/+9 |
| | | | | | variable; removes the need to zero out struct binding, leaving a simple malloc. | ||||
* | simplify error messages; discussed with doug@ | okan | 2015-02-14 | 1 | -6/+5 |
| | |||||
* | calloc -> malloc | okan | 2015-01-24 | 1 | -1/+1 |
| | |||||
* | use malloc over calloc here | okan | 2015-01-23 | 1 | -1/+1 |
| | |||||
* | First restore net_wm_state(ewmh), then wm_state(iccc); prevents clients | okan | 2015-01-23 | 1 | -6/+5 |
| | | | | | | | | 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_MAX | okan | 2015-01-19 | 15 | -20/+33 |
| | | | | | | and HOST_NAME_MAX+1, respectively. ok doug@ | ||||
* | Catch up with src parse.y changes by jsg@: | okan | 2015-01-17 | 1 | -0/+3 |
| | | | | | | | | 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. | okan | 2015-01-16 | 1 | -6/+8 |
| | | | | Adapted from src parse.y changes by doug@. OK doug@ | ||||
* | no need for calloc(1,.. here, malloc is fine since we initialize | okan | 2014-10-08 | 1 | -1/+2 |
| | |||||
* | make group_init work like other *_init's | okan | 2014-10-08 | 3 | -17/+18 |
| | |||||
* | these have nothing to do with 'sticky', but rather group membership; rename. | okan | 2014-09-27 | 6 | -11/+8 |
| | |||||
* | Pass just the group to group_setactive instead of the screen and an | okan | 2014-09-27 | 1 | -12/+8 |
| | | | | index which then needed to be found in a queue. | ||||
* | Update _NET_CURRENT_DESKTOP with the screen's group_active->num. | okan | 2014-09-23 | 3 | -6/+8 |
| | |||||
* | Move stuff that doesn't belong in group_init; while here, explicitly | okan | 2014-09-23 | 3 | -15/+15 |
| | | | | initialize hideall and cycling. | ||||
* | Move motion time check to the top of each MotionNotify block (and | okan | 2014-09-18 | 1 | -16/+15 |
| | | | | | | 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 names | okan | 2014-09-17 | 5 | -51/+53 |
| | |||||
* | ewmh states _NET_WM_STATE_STICKY should not alter position | okan | 2014-09-17 | 3 | -6/+6 |
| | |||||
* | Use a similarly named check as sticky for hidden check in a group. | okan | 2014-09-17 | 3 | -12/+8 |
| | |||||
* | don't toggle _WM_STATE_HIDDEN here yet | okan | 2014-09-17 | 1 | -2/+2 |
| | |||||
* | Implement EWMH _NET_WM_STATE_HIDDEN. | okan | 2014-09-17 | 4 | -5/+27 |
| | |||||
* | Introduce a check to see if a group holds only 'sticky' clients and use | okan | 2014-09-17 | 3 | -3/+16 |
| | | | | | | | | 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 flags | okan | 2014-09-15 | 4 | -7/+7 |
| | |||||
* | Remove incorrect cast in kbfunc_exec. In kbfunc_ssh, reverse logic on | okan | 2014-09-11 | 1 | -4/+4 |
| | | | | truncation check so it's obvious. | ||||
* | fold in 'active' into 'flags' | okan | 2014-09-10 | 2 | -6/+6 |
| | |||||
* | move the check for an empty queue up during cycle | okan | 2014-09-08 | 1 | -3/+1 |
| | |||||
* | name the group client queue appropriately, like other queues | okan | 2014-09-08 | 4 | -17/+17 |
| | |||||
* | more style nits and wrapping | okan | 2014-09-08 | 1 | -4/+6 |
| | |||||
* | since mruq has been folded in, rename mru-named functions | okan | 2014-09-08 | 1 | -6/+6 |
| | |||||
* | Remove duplicate client queue (mruq); instead, remove and take the | okan | 2014-09-08 | 7 | -28/+25 |
| | | | | | | 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. | okan | 2014-09-08 | 3 | -19/+19 |
| | |||||
* | Add screen_ctx to group_ctx, and populate on init. | okan | 2014-09-07 | 2 | -0/+2 |
| | |||||
* | more style nits | okan | 2014-09-07 | 8 | -67/+67 |
| | |||||
* | screen_fromroot -> screen_find | okan | 2014-09-07 | 4 | -8/+8 |
| | |||||
* | Get rid of a redundant array of groups per screen; we already have a | okan | 2014-09-07 | 2 | -9/+22 |
| | | | | link to the group queue for each screen. | ||||
* | Few style nits; extend 'path' to MAXPATHLEN. | okan | 2014-09-06 | 1 | -10/+13 |
| | |||||
* | generic sighandler | okan | 2014-09-06 | 1 | -10/+13 |
| | |||||
* | style nit | okan | 2014-09-06 | 1 | -2/+2 |
| | |||||
* | Move termpath and lockpath into cmdq; side effect is that 'lock' and | okan | 2014-09-06 | 3 | -24/+27 |
| | | | | 'term' now show up in the application menu. | ||||
* | Rework group names: stash the group name inside the group_ctx as opposed | okan | 2014-09-06 | 5 | -64/+41 |
| | | | | | | 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 together | okan | 2014-09-02 | 1 | -3/+2 |
| | |||||
* | add explicit paran and drop some empty lines bringing like functions closer | okan | 2014-09-01 | 2 | -6/+2 |
| | |||||
* | Merge group_menu into mousefunc_menu_group. | okan | 2014-09-01 | 3 | -38/+31 |
| |