Commit Graph

1529 Commits

Author SHA1 Message Date
matthieu
e0507257d8 Update to iceauth 1.0.7 2015-01-25 11:31:08 +00:00
matthieu
d6201822a8 Update to bitmap 1.0.8 2015-01-25 11:30:36 +00:00
okan
8e6050dcaa calloc -> malloc 2015-01-24 18:16:59 +00:00
okan
6b49aaeac1 use malloc over calloc here 2015-01-23 20:26:36 +00:00
okan
3d638de617 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
c199720bcc 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
matthieu
2de3d07ac6 xterm 314. tested by naddy@ 2015-01-18 20:24:39 +00:00
okan
ef55bfa6b2 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
7832f8c64d 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
matthieu
5426d10d0b Update to xfsinfo version 1.0.5 2015-01-03 15:59:48 +00:00
matthieu
06c3400868 Update to showfont version 1.0.5 2015-01-03 15:56:43 +00:00
matthieu
1585c3f95d Update to rgb version 1.0.6 2015-01-03 15:52:33 +00:00
matthieu
e1ddb865f6 Update to fstobdf version 1.0.6 2015-01-03 15:46:52 +00:00
matthieu
22e33e87f7 Update to fslfonts version 1.0.5 2015-01-03 15:45:59 +00:00
matthieu
34f2bdf147 Update to bdftopcf version 1.0.5
part 2, caused by re-adding compile after autoconf changed its mind.
2015-01-03 15:44:19 +00:00
matthieu
11846c297c Update to bdftopcf version 1.0.5 2015-01-03 15:39:14 +00:00
matthieu
936b4cf06e Fix bad merges. 2015-01-01 17:37:52 +00:00
matthieu
25fa650e5b Update to xterm 313. Tested by shadchin@ 2014-12-18 20:16:55 +00:00
schwarze
4599dbce71 Merge upstream commit b79cac135ca7b788892ff199231be2bfce62a4a3
by Alan dot Coopersmith at oracle dot com
because the missing .TE causes formatting to derail utterly
with both groff and mandoc (havoc caused by Eric S. Raymond).
OK matthieu@
2014-12-17 18:02:46 +00:00
matthieu
c9717eabc0 fix arc4random_uniform() usage. Noticed by deraadt@ 2014-12-13 08:57:15 +00:00
schwarze
87e21f736d Escape "Rv" when passed as an argument to a macro in order to avoid
confusion whether this is supposed to be a call to the .Rv macro.
Found by a warning issued by the the groff_mdoc(7) macros.
2014-11-30 01:40:26 +00:00
matthieu
394c1db541 Update to xterm 312 2014-11-02 10:29:03 +00:00
brad
fef33097b9 Now that gcc2 is gone revert the removal of anonymous unions.
"I think this is the right thing to do" miod@
"Fine with me." sthen@
2014-10-23 07:36:06 +00:00
okan
d796bd3619 no need for calloc(1,.. here, malloc is fine since we initialize 2014-10-08 15:31:01 +00:00
okan
72676125b1 make group_init work like other *_init's 2014-10-08 12:48:51 +00:00
matthieu
73c839d2ed Update to xterm 311. ok shadchin@ 2014-10-05 16:39:19 +00:00
matthieu
9155962cf4 Update to xrandr 1.4.3 2014-09-28 17:30:46 +00:00
okan
c9178afc38 these have nothing to do with 'sticky', but rather group membership; rename. 2014-09-27 19:04:32 +00:00
okan
7832c14ed0 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
9cd0504ba3 Update _NET_CURRENT_DESKTOP with the screen's group_active->num. 2014-09-23 14:25:08 +00:00
okan
b9aa350408 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
c9ebdf69aa 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
1d2cb82cf4 these client actions are just toggles; less confusing with better names 2014-09-17 18:41:44 +00:00
okan
9daa5fe3e6 ewmh states _NET_WM_STATE_STICKY should not alter position 2014-09-17 18:09:30 +00:00
okan
05b4f3491a Use a similarly named check as sticky for hidden check in a group. 2014-09-17 16:32:53 +00:00
okan
49d0fee8b5 don't toggle _WM_STATE_HIDDEN here yet 2014-09-17 16:30:21 +00:00
okan
8ffcf70d79 Implement EWMH _NET_WM_STATE_HIDDEN. 2014-09-17 16:00:44 +00:00
okan
d4ceb9f4e3 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
50da66bd50 use similiar style for client flags 2014-09-15 13:00:49 +00:00
okan
264064d617 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
3d7b8e2b10 fold in 'active' into 'flags' 2014-09-10 20:30:38 +00:00
okan
5b08aa926e move the check for an empty queue up during cycle 2014-09-08 21:24:27 +00:00
okan
57ff8d4658 name the group client queue appropriately, like other queues 2014-09-08 21:15:14 +00:00
okan
85b6a48da7 more style nits and wrapping 2014-09-08 20:37:02 +00:00
okan
f091741024 since mruq has been folded in, rename mru-named functions 2014-09-08 20:32:40 +00:00
okan
0fefd96f3e 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
898bea2d90 Now that a group knows its screen, only pass down the group_ctx. 2014-09-08 13:51:29 +00:00
okan
b5dd6e391c Add screen_ctx to group_ctx, and populate on init. 2014-09-07 20:57:26 +00:00
okan
c4e86dacb9 more style nits 2014-09-07 19:27:30 +00:00
okan
ae092d4229 screen_fromroot -> screen_find 2014-09-07 17:38:38 +00:00