okan
05478f061e
_NET_WM_STATE_STICKY implies only sticky at the group/desktop level, not
...
position and size; based on discussion with a few.
2015-08-21 16:14:39 +00:00
okan
c96fd247dd
Instead of special casing the 'term' and 'lock' commands, go back to
...
keeping them hidden; showing them has apparently caused confusion/angst.
2015-08-21 16:05:55 +00:00
okan
a79253abdc
Leave command list order from .cwmrc alone; remove sort.
2015-08-21 15:55:39 +00:00
okan
871c9f24ba
Bring group and client cycle closer together.
2015-08-21 15:52:49 +00:00
okan
54bbd88e51
Alter big move and resize bindings to match what's in cwm(1);
...
functionally the same, but re-binding should be based on default
bindings. Matches other similiar bindings.
Discovered by a portable user.
2015-08-20 14:45:15 +00:00
okan
0d13b7c220
introduce 'groupsearch' for group menu search; matches on either group
...
number/shortcut and/or name.
2015-07-12 14:31:47 +00:00
okan
5c2decc8d0
simplify menu print text
2015-07-12 14:21:09 +00:00
okan
02779e64b8
revert previous; seems search_match_text() needs mi->text pre-populated.
...
(only used in one place, application menu searching); re-visit later.
broken application menu searching reported by Peter Kane.
2015-07-03 17:11:16 +00:00
okan
cb900def7f
style
2015-07-01 14:36:42 +00:00
okan
8efaf33cfb
no longer need to pass down format strings after introducing search_print_cmd
2015-06-30 19:02:24 +00:00
okan
5d8027b75d
Introduce a callback for cmd menu printing, special-casing 'lock' and
...
'term'.
2015-06-30 18:54:12 +00:00
okan
c87953eb64
keep cmdq sorted
2015-06-30 18:44:29 +00:00
okan
6b8b856217
style and spacing nits
2015-06-30 18:42:50 +00:00
okan
8515d717ae
Re-implement XClientMessage handling so that we can feed screen_find and
...
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.
2015-06-30 14:01:43 +00:00
okan
9ea5f25347
Shuffle code in kbfunc_ssh so that a missing known_hosts file still
...
allows a (now blank) menu to appear, as opposed to nothing at all.
Behavior reported by Alex Greif.
2015-06-29 14:24:40 +00:00
okan
e7b4045ece
move client_find down
2015-06-28 19:54:37 +00:00
okan
17720de4ab
replace assert usage
2015-06-28 19:50:46 +00:00
okan
18f63629fd
region is a _ctx, so name it so
2015-06-26 18:54:25 +00:00
okan
66bc416217
Mechanical change from xinerama to region backed areas.
2015-06-26 17:17:46 +00:00
okan
90288e2fc3
collect 'gap' applications
2015-06-26 16:11:21 +00:00
okan
8aa40078d1
Replace screen region info gathering with XRandR equivalent of Xinerama
...
queries (currently act on XRandR events anyway). Fall-back mode without
XRandR is still what X provides. This removes -lXinerama.
2015-06-26 15:21:58 +00:00
okan
ee400b08a8
typo in comment; from jsteinha [at] iutbayonne.univ-pau.fr
2015-06-09 13:02:15 +00:00
okan
654bae4f59
just populating the ctx is enough since the menu uses a callback and ignores anything else
2015-06-08 15:43:13 +00:00
okan
e9750e2144
switch to search_print_client() as the print callback since it will now display labels as well
2015-06-08 15:41:27 +00:00
okan
8888c44888
add client label
2015-06-08 15:34:03 +00:00
okan
9180bb1a06
stash window dimensions
2015-06-08 15:11:29 +00:00
okan
8653c88c90
clean up
2015-06-08 15:08:44 +00:00
okan
bd5f724931
even if the menuq is empty, at least show an empty menu instead of just
...
bailing making it look like the binding isn't working.
2015-06-07 19:10:00 +00:00
okan
cd5827491c
use the same geometry struct in menus as everywhere else
2015-06-05 18:43:36 +00:00
okan
a4cba7e113
add a flag to indicate a menu list instead of overloading 'prompt'
2015-06-05 15:01:51 +00:00
okan
f22a3b1065
redundant check for 'list'
2015-06-05 14:54:04 +00:00
okan
d9f38134be
a start to cleaning:
...
- 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@
2015-05-31 23:07:36 +00:00
okan
b1c2046efd
merge kbd and mouse grouptoggle
2015-05-21 00:37:04 +00:00
okan
31d4fe9f33
fill in mwm defines
2015-05-20 23:54:39 +00:00
kspillner
b9db4486da
Fix autogroup so name,class doesn't need to be quoted.
...
ok okan@ on an older version of this diff
2015-05-17 04:39:50 +00:00
kspillner
d328f63c7d
Make window name and window class separate parameters to conf_autogroup.
...
No functional change, but will be used shortly.
ok okan@
2015-05-17 04:34:01 +00:00
okan
557cd382dc
plug a leak
2015-03-29 00:21:05 +00:00
okan
a4a414b68b
Introduce a xreallocarray and convert a few xcalloc instances that do
...
not require zero'ing.
2015-03-28 23:12:47 +00:00
okan
0bbe0ad98c
Reshuffle and slightly simplify menu_complete_path(), removing an
...
allocation, for tab-completion; checked by Alexander Polakov as well.
2015-03-28 22:09:10 +00:00
okan
5b64e1540c
plug a leak
2015-03-28 21:55:48 +00:00
okan
bad97699f9
Simplify key/mb binding moving argtype into flags and dropping another
...
variable; removes the need to zero out struct binding, leaving a simple
malloc.
2015-03-26 21:41:43 +00:00
okan
ac42dff6c1
simplify error messages; discussed with doug@
2015-02-14 18:24:12 +00:00
okan
7e0c2e7728
calloc -> malloc
2015-01-24 18:16:59 +00:00
okan
d8fa58bb62
use malloc over calloc here
2015-01-23 20:26:36 +00:00
okan
5146f661bd
First restore net_wm_state(ewmh), then wm_state(iccc); prevents clients
...
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.
2015-01-23 19:35:11 +00:00
okan
7936b9b2a7
Switch to limits.h; replace MAXPATHLEN and MAXHOSTNAMELEN with PATH_MAX
...
and HOST_NAME_MAX+1, respectively.
ok doug@
2015-01-19 14:54:16 +00:00
okan
c412f040df
Catch up with src parse.y changes by jsg@:
...
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@
2015-01-17 02:05:03 +00:00
okan
8d1eb202bf
Add gcc format attributes for yyerror(); fix a few yyerror() calls.
...
Adapted from src parse.y changes by doug@. OK doug@
2015-01-16 18:28:08 +00:00
okan
9cada703b9
no need for calloc(1,.. here, malloc is fine since we initialize
2014-10-08 15:31:01 +00:00
okan
836c9f49d6
make group_init work like other *_init's
2014-10-08 12:48:51 +00:00