Christian Neukirchen
976d77c76d
update imported str*.c
2015-01-24 19:04:46 +01:00
Christian Neukirchen
b7a8c11750
update README
2015-01-24 18:31:20 +01:00
Christian Neukirchen
e4ccad30ce
cvsimport
2015-01-24 17:03:58 +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
Christian Neukirchen
742732a1c8
cvsimport
2015-01-22 11:06:01 +01: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
Christian Neukirchen
089ec389dd
also sign releases with signify
2014-12-15 16:00:31 +01:00
Daniel Néri
56fad8271d
Fix reference to OpenBSD's CVS repo web interface
2014-12-15 15:51:15 +01:00
okan
9cada703b9
no need for calloc(1,.. here, malloc is fine since we initialize
2014-10-08 15:31:01 +00:00
okan
501aa2bcf3
cvsimport
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
okan
c700f7e19a
cvsimport
2014-09-27 19:04:32 +00:00
okan
e9dbd150ea
these have nothing to do with 'sticky', but rather group membership; rename.
2014-09-27 19:04:32 +00:00
okan
319d90099d
Pass just the group to group_setactive instead of the screen and an
...
index which then needed to be found in a queue.
2014-09-27 18:57:11 +00:00
okan
845e82015c
Update _NET_CURRENT_DESKTOP with the screen's group_active->num.
2014-09-23 14:25:08 +00:00
okan
cb65869d7a
Move stuff that doesn't belong in group_init; while here, explicitly
...
initialize hideall and cycling.
2014-09-23 13:45:48 +00:00
okan
2540b3f4fe
cvsimport
2014-09-18 13:56:58 +00:00
okan
cbc7f76074
Move motion time check to the top of each MotionNotify block (and
...
eliminate from ButtonRelease); further limits the amount of work done
outside the threshold, notably mousefunc_sweep_calc,
screen_find_xinerama and client_snapcalc.
2014-09-18 13:56:58 +00:00
okan
8fd0f43ec2
these client actions are just toggles; less confusing with better names
2014-09-17 18:41:44 +00:00
okan
458dd31b93
ewmh states _NET_WM_STATE_STICKY should not alter position
2014-09-17 18:09:30 +00:00
okan
736d973f46
Use a similarly named check as sticky for hidden check in a group.
2014-09-17 16:32:53 +00:00
okan
7eef4eb63d
don't toggle _WM_STATE_HIDDEN here yet
2014-09-17 16:30:21 +00:00
okan
a61812d52d
Implement EWMH _NET_WM_STATE_HIDDEN.
2014-09-17 16:00:44 +00:00
okan
74f4a1bad9
Introduce a check to see if a group holds only 'sticky' clients and use
...
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.
2014-09-17 14:31:37 +00:00
okan
4b6dc96398
use similiar style for client flags
2014-09-15 13:00:49 +00:00
okan
26b95de019
Remove incorrect cast in kbfunc_exec. In kbfunc_ssh, reverse logic on
...
truncation check so it's obvious.
2014-09-11 16:06:26 +00:00
okan
d27fc99784
fold in 'active' into 'flags'
2014-09-10 20:30:38 +00:00
okan
20c1113fdd
move the check for an empty queue up during cycle
2014-09-08 21:24:27 +00:00
okan
aac16013d2
name the group client queue appropriately, like other queues
2014-09-08 21:15:14 +00:00
okan
b64ce8558c
more style nits and wrapping
2014-09-08 20:37:02 +00:00
okan
bc70374264
since mruq has been folded in, rename mru-named functions
2014-09-08 20:32:40 +00:00
okan
26ba152692
Remove duplicate client queue (mruq); instead, remove and take the
...
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).
2014-09-08 20:11:22 +00:00
okan
a7f3f29ea9
Now that a group knows its screen, only pass down the group_ctx.
2014-09-08 13:51:29 +00:00
okan
5b46f0f7d8
Add screen_ctx to group_ctx, and populate on init.
2014-09-07 20:57:26 +00:00
okan
3d12b6d1d9
more style nits
2014-09-07 19:27:30 +00:00
okan
be091b3523
screen_fromroot -> screen_find
2014-09-07 17:38:38 +00:00
okan
78e0f21225
Get rid of a redundant array of groups per screen; we already have a
...
link to the group queue for each screen.
2014-09-07 17:27:20 +00:00
Christian Neukirchen
9735927809
update.sh: fix mirror
2014-09-07 17:49:00 +02:00
Christian Neukirchen
9e560bd745
cvsimport
2014-09-07 15:47:44 +00:00
okan
f7af0ebd72
Few style nits; extend 'path' to MAXPATHLEN.
2014-09-06 18:50:43 +00:00
okan
977992626a
generic sighandler
2014-09-06 16:24:32 +00:00
okan
140f8b9eba
style nit
2014-09-06 16:18:08 +00:00
okan
5cd4cce3a0
Move termpath and lockpath into cmdq; side effect is that 'lock' and
...
'term' now show up in the application menu.
2014-09-06 16:14:35 +00:00
okan
142f52a0aa
Rework group names: stash the group name inside the group_ctx as opposed
...
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.
2014-09-06 16:08:58 +00:00
okan
87d604f119
bring menu bits closer together
2014-09-02 14:08:39 +00:00
okan
231abb818a
add explicit paran and drop some empty lines bringing like functions closer
2014-09-01 18:17:32 +00:00
okan
becc7f260c
Merge group_menu into mousefunc_menu_group.
2014-09-01 18:04:58 +00:00