Commit Graph

1769 Commits

Author SHA1 Message Date
okan
8529d9a1c6 introduce 'groupsearch' for group menu search; matches on either group
number/shortcut and/or name.
2015-07-12 14:31:47 +00:00
okan
7dc8db6316 simplify menu print text 2015-07-12 14:21:09 +00:00
okan
0cbfba6ca3 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
56fb99c70c style 2015-07-01 14:36:42 +00:00
okan
ee0e8d6843 only special case label matches (and still list); get rid of the rest - matchname is complete enough 2015-07-01 14:29:36 +00:00
okan
cfb0bdf8f5 no longer need to pass down format strings after introducing search_print_cmd 2015-06-30 19:02:24 +00:00
okan
6e095b76d0 Introduce a callback for cmd menu printing, special-casing 'lock' and
'term'.
2015-06-30 18:54:12 +00:00
okan
ccd054aba7 keep cmdq sorted 2015-06-30 18:44:29 +00:00
okan
5fede6d784 style and spacing nits 2015-06-30 18:42:50 +00:00
okan
eb3dae29d1 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
89eefd254e 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
b7512d9dd0 move client_find down 2015-06-28 19:54:37 +00:00
okan
a585206d81 replace assert usage 2015-06-28 19:50:46 +00:00
matthieu
3d790ff2a3 Transparent backgrounds for 8bpp and 4bpp images too. 2015-06-28 09:09:07 +00:00
okan
0eb3c16128 region is a _ctx, so name it so 2015-06-26 18:54:25 +00:00
okan
933ce723de Mechanical change from xinerama to region backed areas. 2015-06-26 17:17:46 +00:00
mikeb
8c53bae0f7 Make background transparent 2015-06-26 16:18:26 +00:00
okan
44693cc984 collect 'gap' applications 2015-06-26 16:11:21 +00:00
okan
9660be8b0b 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
deraadt
13ad6b1765 move to 5.8 art (way ahead of schedule...)
from todd
2015-06-23 04:07:12 +00:00
matthieu
d365eacb03 Now that nolisten tcp is the Xserver default, don't pass the option
in scripts anymore.
2015-06-20 10:12:39 +00:00
matthieu
20217b3903 Merge from upstreams Fix crash for enable/disable without a device argument
commit 904a32d908219d6fea833576f7c31727bd3aea2f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Mon Nov 25 14:51:50 2013 +1000

    Fix crash for enable/disable without a device argument

    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-06-20 09:54:58 +00:00
matthieu
5df814c8da Pass '-nolisten tcp' option to Xserver so that it doesn't listen
on port 6000 by default anymore.
ok jasper@, ajacoutot@, naddy@, phessler@
2015-06-15 16:17:46 +00:00
matthieu
78490636d9 Use mktemp to create .serverauth file. Inspired by Debian patches 2015-06-14 10:33:02 +00:00
okan
6aef9ae536 typo in comment; from jsteinha [at] iutbayonne.univ-pau.fr 2015-06-09 13:02:15 +00:00
okan
c049f12cd4 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
fb854e1538 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
0a2c4b1939 add client label 2015-06-08 15:34:03 +00:00
okan
5a1ff2b250 stash window dimensions 2015-06-08 15:11:29 +00:00
okan
d7a3230790 clean up 2015-06-08 15:08:44 +00:00
okan
a4ce9f9682 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
ee2e58a8b1 use the same geometry struct in menus as everywhere else 2015-06-05 18:43:36 +00:00
okan
055ed363c8 add a flag to indicate a menu list instead of overloading 'prompt' 2015-06-05 15:01:51 +00:00
okan
3f1203de8a redundant check for 'list' 2015-06-05 14:54:04 +00:00
okan
ee2e92a9e4 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
d6e84c8298 merge kbd and mouse grouptoggle 2015-05-21 00:37:04 +00:00
okan
2c1757a009 fill in mwm defines 2015-05-20 23:54:39 +00:00
kspillner
7cb74619f1 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
955b6eef83 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
matthieu
2193f5c5e4 No NEWS is good NEWS - remove a bunch of files not present upstreams anymore 2015-05-10 14:06:23 +00:00
matthieu
f2476e857c Remove xfs. It was already unlinked from build 8 month ago. 2015-05-10 13:38:46 +00:00
matthieu
f090d1e360 Update to xvinfo 1.1.3 2015-05-10 10:23:16 +00:00
matthieu
142218db6d Update to xmodmap 1.0.9 2015-05-10 10:22:11 +00:00
matthieu
d9f6904757 Update to xman 1.1.4 2015-05-10 10:21:18 +00:00
matthieu
cf97e2e903 Update to xmag 1.0.6 2015-05-10 10:20:17 +00:00
matthieu
1f9341bcd5 Update to xlsfonts 1.0.5 2015-05-10 10:19:22 +00:00
matthieu
361c60f2ba Update to xlsatoms 1.1.2 2015-05-10 10:17:40 +00:00
matthieu
83fd0ec3ca Update to xkbprint 1.0.4 2015-05-10 10:16:20 +00:00
matthieu
12662a6c94 Update to xkbevd 1.1.4 2015-05-10 10:14:49 +00:00
matthieu
d7275efca8 Update to xhost 1.0.7 2015-05-10 10:12:42 +00:00
matthieu
6e427c94fb Update to xgc 1.0.5 2015-05-10 10:11:42 +00:00
matthieu
48d642fa37 Update to xgamma 1.0.6 2015-05-10 10:10:14 +00:00
matthieu
598f3dabb4 Update to xev 1.2.2 2015-05-10 10:08:51 +00:00
matthieu
99a72825ec Update to xedit 1.2.2 2015-05-10 10:07:47 +00:00
matthieu
882509e84e Update to xdriinfo 1.0.5 2015-05-10 10:06:15 +00:00
matthieu
d3001c0be7 Update do xdpyinfo 1.3.2 2015-05-10 10:04:12 +00:00
matthieu
17287dff9c Update to xcompmgr 1.1.7 2015-05-10 10:02:47 +00:00
matthieu
16000e82d9 Update to xcmsdb 1.0.5 2015-05-10 10:00:29 +00:00
matthieu
bf8ccee4a1 Update to x11perf 1.6.0 2015-05-10 09:59:07 +00:00
matthieu
439d3b07c6 Update to twm 1.0.9 2015-05-10 09:57:46 +00:00
matthieu
326fe78fc9 Update to smproxy 1.0.6 2015-05-10 09:56:05 +00:00
matthieu
358c0f8137 Update to setxkbmap 1.3.1 2015-05-10 09:54:49 +00:00
jsg
269b78a956 fix a memory leak
ok matthieu@
2015-04-24 02:19:41 +00:00
jsg
f3df8e0582 don't read past the end of an array
ok matthieu@
2015-04-24 02:18:26 +00:00
okan
704330faff plug a leak 2015-03-29 00:21:05 +00:00
okan
32d16969bc Introduce a xreallocarray and convert a few xcalloc instances that do
not require zero'ing.
2015-03-28 23:12:47 +00:00
okan
d42a248920 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
f345dc8f9a plug a leak 2015-03-28 21:55:48 +00:00
okan
da47515de4 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
matthieu
3bb902790f New X resources for xdm greeter providing a new appearance.
ok ajacoutot@, mpi@, no concerns from deraadt@
positive feedback from many others
2015-03-16 20:41:21 +00:00
matthieu
c057e335e0 Make logos background transparent. 2015-03-16 20:38:50 +00:00
matthieu
819b9b90cf Repair protection of installed configuration files 2015-03-15 19:09:22 +00:00
matthieu
36eb5c3c77 No more reasons not to use the 8bpp XPM logo on !sparc 2015-03-15 18:43:18 +00:00
matthieu
a555ce6bc7 Drop #ifdef Hp300Architecture 2015-03-15 18:39:48 +00:00
matthieu
09c6bb35dc Allow the greeter to set the input fields bg color
A new 'inpColor' resource is added for that.

Already commited upstream.
2015-03-15 17:20:41 +00:00
matthieu
f5af455cc0 regen 2015-03-15 17:05:11 +00:00
matthieu
46e4a396d9 use LDADD to link the greeter library. Makes dependencies tracking work. 2015-03-15 17:02:36 +00:00
matthieu
59754beaac uhts(4) was merged into ums(4).
Patch by Benjamin Baier. Thanks.
2015-03-13 20:47:23 +00:00
okan
99ed76e391 simplify error messages; discussed with doug@ 2015-02-14 18:24:12 +00:00
schwarze
3002cb4064 add missing macros and new sentence, new line 2015-02-03 16:15:13 +00:00
jsg
9411ad8983 Update to the latest glxinfo code in mesa demos git which notably adds
information based on GLX_MESA_query_renderer.

The glxinfo man page isn't present in mesa demos so switch our page to
mdoc and update the flags.

Prompted by an initial diff from brynet@
ok brynet@ kettenis@
2015-02-03 03:17:20 +00:00
kettenis
3c60ea3f52 Avoid GNU expr extensions. Already committed upstream.
ok matthieu@
2015-01-30 10:51:41 +00:00
todd
325e3a7c0a puffy 5.7 2015-01-28 08:34:05 +00:00
jca
82a7a68ebe Pass sessreg(1) the correct path to the Xservers file.
xdm sessions were erroneously marked as active after being terminated.

Issue noticed and patch by Patrick Keshishian.
ok matthieu@
2015-01-25 21:51:20 +00:00
matthieu
a39acd67a3 remove srand(1) call as nothing calls any rand like functions in x11perf
Discussed with doug@ and also pushed upstreams
2015-01-25 12:03:10 +00:00
matthieu
a5b6dd2df8 Update to xkbcomp 1.3.0 2015-01-25 11:44:55 +00:00
matthieu
fcc6eaf385 Update to xinit 1.3.4 2015-01-25 11:37:57 +00:00
matthieu
680485cb7f Update to xcalc 1.0.6 2015-01-25 11:34:27 +00:00
matthieu
6091bd3f05 Update to sessreg 1.1.0 2015-01-25 11:32:22 +00:00
matthieu
b83e437bff Update to mkfontscale 1.1.2 2015-01-25 11:31:45 +00:00
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
okan
63dc9657ad 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
okan
ea3574d110 Few style nits; extend 'path' to MAXPATHLEN. 2014-09-06 18:50:43 +00:00
okan
28f5392d74 generic sighandler 2014-09-06 16:24:32 +00:00
okan
dc9a1b77d9 style nit 2014-09-06 16:18:08 +00:00
okan
70027868ed 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
4abab66820 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
bef5d30e83 bring menu bits closer together 2014-09-02 14:08:39 +00:00
okan
1150bfd22b add explicit paran and drop some empty lines bringing like functions closer 2014-09-01 18:17:32 +00:00
okan
de52ddf635 Merge group_menu into mousefunc_menu_group. 2014-09-01 18:04:58 +00:00
matthieu
9f7fb3632e regen 2014-08-28 17:34:57 +00:00
matthieu
d30eea2426 Reduce diffs with upstream. No functional change. 2014-08-28 17:34:29 +00:00
matthieu
66e7ac61db Unlink xfs from the build.
no objections from at least krw@, ajacoutot@, dcoppa@
2014-08-25 19:14:54 +00:00
okan
ea1518cb5c Since the flatting out of sc->group_names is only for setting
NET_DESKTOP_NAMES, merge the helper into xu_ewmh_net_desktop_names,
where we actually set the property.
2014-08-25 14:31:22 +00:00
okan
749976d1d7 Implement _NET_WM_STATE_STICKY, bound to CM-s by default; allows any
client to 'stick' to all desktops (ewmh speak) or groups - this
currently has the same affect as setting a client's group to 'nogroup',
with the exception that the client can also be in a group, so when
un-sticking, the client will go back to its original group/desktop.
2014-08-25 12:49:19 +00:00
matthieu
8de4aab40d Enable xcb-iccm 2014-08-24 20:22:20 +00:00
matthieu
de9a66e35a Don't need to override datadir anymore. 2014-08-24 19:58:52 +00:00
okan
4acfe91344 Continue effort to bring keyboard and mouse functions together; merge
name_to_kbfunc and name_to_mousefunc.
2014-08-24 15:49:58 +00:00
okan
4485c34f15 gc->hidden has never consistently kept track of a group's state;
group_show() and group_hide() are not the only ways a group can change
state - if all clients in a group are either hidden or unhidden, then
that group's state should change, as well as the various EWMH ways.
Instead of trying to keep track in a wide variety of places, simply
query the clients in a group before needing to take action based on the
group's state.  Solves long standing confusion of when a group is hidden
or not.
2014-08-24 15:37:45 +00:00
okan
9567454909 Fix nogroup regression, where nogroup became an actual group - the
symantics between cwm groups and ewmh got in the way.  Ensure a client
that wants to be in nogroup stays in nogroup (thus stays in view), even
when (re)reading NET_WM_DESKTOP.  Paritially reverts patchset 644
(2014-02-07 13:09 PST) which deals with a NULL cc->group.  All to be
revisited when NET_WM_STATE_STICKY hits cwm.

Reported by many; testing and ok phessler.
2014-08-22 19:04:00 +00:00
okan
b7cd8019f2 Purely mechanical; unify 'num', 'no' and 'shortcut'. 2014-08-20 15:15:29 +00:00
okan
045b994659 Split off group window restacking. 2014-08-20 13:42:27 +00:00
okan
2c1d1423f8 whitespace 2014-08-20 12:35:39 +00:00
okan
cb5bdeabf0 fix a misleading comment and function name 2014-08-20 12:33:12 +00:00
okan
f819bd3e15 Remove unnecessary memset since reload was replaced with restart;
from Kent Spillner.
2014-08-19 18:39:41 +00:00
okan
7fd50277e7 Pull highstack from group_ctx (and useless calculations of); in the one
place that we use highstack, replace that usage with a local variable
(for now until stacking is done properly).
2014-08-19 12:47:51 +00:00
okan
c4aace036f Get rid of nhidden in group_ctx; it actually never reported correctly
since nhidden wasn't incremented nor decremeted in all the right places,
thus confusing matters.  We don't need to carry a count around, so just
use a local variable in the one place we need one to supply
XRestackWindows().
2014-08-18 13:57:57 +00:00
matthieu
7afaae9fe9 Install resource files in /usr/X11R6/share/X11/app-defaults
/etc/X11/app-defaults stays 1st in the libXt search path so, people
and ports can put customized versions there if needed.
If you didn't customize the versions in /etc/X11/app-defaults, they
should be removed to avoid future issues when one file changes.

discussed at g2k14 and ok ajacoutot@
2014-08-13 21:02:16 +00:00
matthieu
ceaf6855d6 Complete man page substitutions for xterm(1) and resize(1)
problem noticed by and tweaks by naddy@. ok deraadt@
2014-07-31 20:13:40 +00:00
todd
7b291240ce puffy 5.6 2014-07-30 17:10:26 +00:00
jsg
35e8287bee switch to tradcpp
fixes whitespace issues with auxcpp reported by Allan Streib
2014-07-30 16:48:32 +00:00
matthieu
39102e300e Update to xterm-309. Version 308 tested by several people including
naddy@ who found a small regression, fixed in 309.
2014-07-14 08:30:10 +00:00
jsg
743ec8762a update glxinfo and glxgears to Mesa demos 8.2.0 2014-07-13 09:47:57 +00:00
matthieu
0e782e8198 Replace xrdb-cpp by auxcpp 2014-07-12 16:36:22 +00:00
matthieu
f2bdb80f55 More ucpp->xrdb-cpp renaming 2014-07-12 14:40:50 +00:00
matthieu
68f71d7d34 Tell xrdb to default to xrdb-cpp as C pre-processor 2014-07-12 14:34:36 +00:00
matthieu
6a6bbb2d59 Hook xrdb-cpp 2014-07-12 14:33:37 +00:00
matthieu
cf1d97d9e6 Local tweaks to ucpp for xrdb:
- exit on the 1st error it finds. Better than stopping processing input
- accept -P as a synonym for -l since this is what xrdb uses to suppress
  #line markers.
2014-07-12 14:32:55 +00:00
matthieu
f5aa946dbd Renname the manual page 2014-07-12 14:28:07 +00:00
matthieu
d4e54c2056 Replace the Makefile with a xenocara-compatible one. 2014-07-12 14:27:42 +00:00
matthieu
a2223c7302 Import a copy of ucpp, lightweight cpp for use by xrdb so that it
doesn't depend on the 'comp'  set. ok espie@ deraadt@
2014-07-12 14:25:39 +00:00
matthieu
7ff3194bee Missing new files in update to xterm 304 2014-05-09 19:57:29 +00:00
matthieu
8273aa94a8 Update to xterm 304. With help of shadchin@
tested by ajacoutot@ and shadchin@
2014-05-09 19:56:40 +00:00
matthieu
26cb605a98 Missed in xbacklight 1.2.1 update 2014-05-03 19:39:42 +00:00
matthieu
04a9905f3c Update to xrandr 1.4.2 2014-05-03 19:37:50 +00:00
matthieu
2e8b4cb84a Update to xinput 1.6.1 2014-05-03 19:37:22 +00:00
matthieu
f741c53e1d Update to xbacklight 1.2.1 2014-05-03 19:36:41 +00:00
matthieu
6a61ea14b8 Update to xauth 1.0.9 2014-05-03 19:36:13 +00:00
okan
0cb1db2d4c plug memleak (currently unused func); from Tiago Cunha 2014-04-21 12:52:14 +00:00
miod
85c0adf61c Add -fno-stack-protector to the two files which already need to be built
with -O1 on landisk - they definitely hit worst case logic in what passes for
a compiler we're using.
ok martynas@
2014-04-11 22:58:12 +00:00
matthieu
73bad93705 Apply the ':' symbol to the SunPaste/XF86Paste events translations.
This makes shure that shift modifers are taken into account to trigger
the translation. It fixes the 'v' key on Zaurus keyboard, which has
SunPaste at 3rd level and was thus bound to insert-selection() regardless
of the shift level.
2014-03-15 10:39:28 +00:00
okan
877931bf62 Alignment fix; found the hard way on sparc64 by landry@ (and thanks too
for fast access to a box!)

ok deraadt@, matthieu@
2014-02-27 00:52:57 +00:00
todd
27e09cc02c puffy 5.5 2014-02-26 17:39:48 +00:00
matthieu
fcd6bcf1a5 oops Pablo Mendez Hernandez <pablomh@gmail.com> pointed out there
is a typo in previous commit.
ok jca@, dcoppa@, deraadt@
2014-02-26 14:21:28 +00:00
matthieu
c2e393c2e2 Support for ed25519 keys. from Tristan Le Guern with tweaks by sthen@
Ok deraadt@
2014-02-25 22:16:24 +00:00
matthieu
164e7011dd Update to xterm 301 2014-02-14 19:40:02 +00:00
okan
875128a0cb Make sure we cycle through existing client's group membership and set
the hidden state on the group; important to know group hidden state
after a re-exec or restart of cwm (as easily seen in group menu).
2014-02-08 02:49:30 +00:00
okan
1a7c8d161a Replace a few hand rolled loops with like tailq loops. 2014-02-08 02:40:43 +00:00
okan
92bf6935f5 all mapped clients now should have a group, so simplify some cases 2014-02-07 21:59:56 +00:00
okan
60a1b7520a If _NET_WM_DESKTOP is set to -1 during client creation, place the client into
group 0 (nogroup); solves problem initially discovered by oga@nicotinebsd with
tint2.  A clientmessage *after* client creation already handles this case.

Go further and assign every client to a group; in non-sticky mode, group 0
(nogroup) and sticky mode, the active group.  In both cases, autogroup will
override the group assignment.  Removing a group from a client always places
the client back into group 0 (nogroup).  Autogroup can also assign a client to
group 0 (nogroup) to keep a client always visible (unless of course one opts to
hide all clients).
2014-02-07 18:09:54 +00:00
okan
b23ca72ab1 Some clients set the urgency flag even if they are the active client;
prevent annoying behavior by only setting the cwm urgency flag if the client
is not active; diff from Thomas Adam.
2014-02-06 20:58:46 +00:00