aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* simplify menu print textokan2015-07-12-16/+9
|
* revert previous; seems search_match_text() needs mi->text pre-populated.okan2015-07-03-2/+2
| | | | | | (only used in one place, application menu searching); re-visit later. broken application menu searching reported by Peter Kane.
* styleokan2015-07-01-24/+23
|
* only special case label matches (and still list); get rid of the rest - ↵okan2015-07-01-25/+2
| | | | matchname is complete enough
* no longer need to pass down format strings after introducing search_print_cmdokan2015-06-30-4/+4
|
* Introduce a callback for cmd menu printing, special-casing 'lock' andokan2015-06-30-6/+21
| | | | 'term'.
* keep cmdq sortedokan2015-06-30-2/+10
|
* style and spacing nitsokan2015-06-30-16/+11
|
* Re-implement XClientMessage handling so that we can feed screen_find andokan2015-06-30-44/+49
| | | | | | | | client_find valid resources as needed, relieving the need for screen_find to ungracefully handle invalid root windows. Removes a long standing XXX. Should theoretically allow XClientMessage handling on more than one X screen. Alter callers of screen_find to handle failures.
* Shuffle code in kbfunc_ssh so that a missing known_hosts file stillokan2015-06-29-8/+7
| | | | | | allows a (now blank) menu to appear, as opposed to nothing at all. Behavior reported by Alex Greif.
* move client_find downokan2015-06-28-16/+16
|
* replace assert usageokan2015-06-28-11/+9
|
* region is a _ctx, so name it sookan2015-06-26-17/+17
|
* Mechanical change from xinerama to region backed areas.okan2015-06-26-96/+92
|
* collect 'gap' applicationsokan2015-06-26-12/+17
|
* Replace screen region info gathering with XRandR equivalent of Xineramaokan2015-06-26-21/+31
| | | | | queries (currently act on XRandR events anyway). Fall-back mode without XRandR is still what X provides. This removes -lXinerama.
* typo in comment; from jsteinha [at] iutbayonne.univ-pau.frokan2015-06-09-2/+2
|
* just populating the ctx is enough since the menu uses a callback and ignores ↵okan2015-06-08-2/+2
| | | | anything else
* switch to search_print_client() as the print callback since it will now ↵okan2015-06-08-8/+3
| | | | display labels as well
* add client labelokan2015-06-08-3/+4
|
* stash window dimensionsokan2015-06-08-6/+11
|
* clean upokan2015-06-08-17/+14
|
* even if the menuq is empty, at least show an empty menu instead of justokan2015-06-07-7/+1
| | | | bailing making it look like the binding isn't working.
* use the same geometry struct in menus as everywhere elseokan2015-06-05-35/+32
|
* add a flag to indicate a menu list instead of overloading 'prompt'okan2015-06-05-7/+10
|
* redundant check for 'list'okan2015-06-05-2/+2
|
* a start to cleaning:okan2015-05-31-167/+146
| | | | | | | | | | | - no reason for pointer movement and window movement and resizing sections that just describe default key bindings - key bindings are for all search and exec dialogs, not just for windows - adding missing bindings - normalize and wordsmith - re-order sections according to mdoc(7) feedback and ok from jmc@
* 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.