Commit Graph

1476 Commits

Author SHA1 Message Date
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