Commit Graph

1057 Commits

Author SHA1 Message Date
matthieu
34ff5946f0 Update to mkfontscale 1.1.0 2012-02-18 09:05:24 +00:00
matthieu
ecc5f838aa update to mkfontdir 1.0.7. no functional change. 2012-02-18 09:01:38 +00:00
ajacoutot
42a7ccaa6a Match the default PATH with what we use in login.conf(5).
This will allow glib's gio mount to find and use mount(8).

input from and ok matthieu@
2012-02-08 14:31:14 +00:00
todd
a3f2742206 puffy 5.1 2012-02-07 20:09:52 +00:00
matthieu
77cabb72e1 Restart menu update: remove window managers that are not available
from ports/packages. Replace them with some more modern ones.
2012-01-29 12:33:56 +00:00
matthieu
0fcf43aa9d Remove trailing white space 2012-01-29 12:20:59 +00:00
espie
6de1c98f99 make xman work again.
if we run into unformatted pages, they're candidate for mandoc (otherwise,
groff should have formatted them already).

We shouldn't ever try to run them thru tbl first, since mandoc takes care
of enough tbl constructs, and will get confused at roff low-level anyways.

So, just run thru cat to avoid changing xman too much.

Since mandoc doesn't have a -Tlatin1 mode, approximate it with -Tascii.
-Tutf8 is definitely out of question until xman talks utf8.

okay matthieu@
2012-01-08 14:03:48 +00:00
okan
42304914dc check if we're in the group already, else multiple calls to
group_movetogroup() on one client will still increment nhidden if the
group is hidden.

found the hard way by Thomas Jeunet and fix from Alexander Polakov -
thanks to both!

ok oga@
2011-12-29 20:48:38 +00:00
matthieu
fe045f1eac replace <varargs.h> by <stdarg.h>. Spotted my Marco Peereboom with clang.
ok kettenis@
2011-12-15 21:12:42 +00:00
matthieu
e329834eb9 set CONFIG_SITE in configure's environment. 2011-12-10 14:54:18 +00:00
matthieu
4b586ef4f2 Restore ecdsa ssh keys support, lost in update to 1.1.11.
Noticed by jsg@
2011-12-03 13:46:00 +00:00
matthieu
9fb6f6d395 Ooops revert something that I didn't intend to commit.
Sorry todd for the gratuitous set changes.
2011-11-30 22:00:28 +00:00
fgsch
5fc00d6a7b fix long standing but wrt to DPMS kicking in and causing the program to
run even if timeout was not specified.  while im here simplify some code.
matthieu@ ok
2011-11-18 00:16:57 +00:00
matthieu
9a810f9e89 Update to xterm 276. Tested by ajacoutot@, krw@, naddy@, shadchin@. 2011-11-16 21:14:25 +00:00
matthieu
8b4d780078 Update to xdm 1.1.11 plus a few patches from git master.
patched to restore static greeter.
Tested by shadchin@, jasper@
2011-11-15 20:53:44 +00:00
matthieu
c45d1a0c09 Bring in full Changelog from xdm 1.1.9. For some reason this file
was missing many entries.
2011-11-06 22:00:14 +00:00
okan
a396addc5c put snapdist in the correct location; as an option, not a bind; Tiago Cunha.
ok oga@
2011-11-06 02:03:47 +00:00
matthieu
84d60d9bd5 Update to xinit 1.3.1 2011-10-31 14:00:14 +00:00
matthieu
25414d5149 Update to xdpyinfo 1.3.0 2011-10-31 13:54:39 +00:00
matthieu
ec8a851f3c Update to sessreg 1.0.7 2011-10-31 13:49:18 +00:00
okan
6f33ccac59 rename variable to reduce potential for name-space collision.
bikesheding and ok oga@.
2011-10-17 18:18:38 +00:00
okan
66bb8d02da use xfree instead of free since strings is allocated with xmalloc; from
dhill

ok oga@
2011-10-12 15:43:50 +00:00
matthieu
a574170c9d Set user PATH from login.conf instead of hard-coded default.
prodded by ajacoutot@. Patch tweaks and ok millert@.
2011-09-30 19:59:05 +00:00
okan
7a6e2b9d5a move client to group (movetogroup) and hide client only if group is
already hidden (suggested behavior from Alexander Polakov).

ok sthen oga
2011-09-19 07:23:03 +00:00
matthieu
c516620bcf Update to xterm-275. Tested by jasper@. 2011-09-17 11:51:57 +00:00
okan
e18bdf5702 fix spelling I keep getting wrong for some unknown reason; found by and
diff from Alexander Polakov.
2011-09-13 09:17:30 +00:00
okan
5d6aec2db4 add WM_TRANSIENT_FOR event support: moves dialogs, toolbars and such to
the group of the main application window; based on a diff from Alexander
Polakov with CLIENT_IGNORE flag suggestion from oga@.

ok oga@
2011-09-13 08:41:57 +00:00
okan
780e9cb0df repair groupcycle (broke after cycle-in-group support added more flags);
found by and fix from Thomas Pfaff.

ok oga@
2011-09-13 08:37:49 +00:00
okan
3f2d53b6dd allow configurable menu font color; from Alexander Polakov with a tweak
from me.

ok oga@
2011-09-08 12:35:33 +00:00
okan
107bc37429 allow menufg/menubg to be configurable; from Alexander Polakov.
ok oga@
2011-09-08 12:07:03 +00:00
okan
9ab59987f7 reinit menu on reload; from Alexander Polakov. needed for catching
upcoming menu config changes.

ok oga@
2011-09-08 12:00:49 +00:00
okan
9dabac6117 restore a comment and add another for clarity. 2011-09-05 07:37:55 +00:00
oga
d341c2bfd8 Make flavours of maximisation additive.
i.e. horiz-max + vertmax = full maximisation.  full - horiz = vertmax.
etc.

Martynas wrote something like this once, so I did okan, this version
seems to finally deal with the corner cases.

ok okan@.
2011-09-04 16:59:31 +00:00
okan
d1b5022611 split off window hints from geometry so we don't need to carry them all
around when dealing with {,h,v}max.  same idea from oga.
2011-09-03 09:42:33 +00:00
okan
ed6f73250e simplify color initialization.
ok oga@
2011-09-03 09:25:39 +00:00
okan
aa9dbd1dca Add {r,}cycleingroup to cycle through clients belonging to the same
group as the active client (as opposed to all unhidden clients); from
Alexander Polakov, with a tiny tweak requested by oga.

ok oga@
2011-09-03 09:20:58 +00:00
okan
f93ec1eba0 "defaultfont" is unclear (and confusing while reading code) when it also
applies to the user supplied font, so rename.

ok oga@
2011-09-03 09:17:16 +00:00
matthieu
a40b5df9e7 Switch to xkeyboard-config is done. Remove old xkbdata and unifdef it.
ok shadchin@
2011-08-30 21:15:30 +00:00
okan
d44962b456 zap unused macro. ok oga@ 2011-08-29 09:10:49 +00:00
okan
dda3ed6180 restore mouse move via the keyboard, noticed by todd@. while the check
for cc was wrong due to the fact that cc->sc is always filled in during
the event, we don't even need it - just operate on the focused screen's
root window regardless.

ok todd@ oga@
2011-08-29 09:09:45 +00:00
matthieu
82fb94cb15 Update to xterm 273. Tested by marco@, jasper@. 2011-08-28 17:40:55 +00:00
matthieu
b9695778d5 2 more .orig files added by mistake. Noticed by shadchin@. Thanks. 2011-08-28 14:23:18 +00:00
matthieu
cdcbc06814 Update to xset 1.2.2 2011-08-28 13:24:52 +00:00
matthieu
007b4f1d62 Update to xrandr 1.3.5 2011-08-28 13:21:00 +00:00
matthieu
6ef0fdd29a Update to xprop 1.2.1 2011-08-28 13:16:51 +00:00
matthieu
c54f608f30 Update to xman 1.1.2 2011-08-28 13:15:52 +00:00
matthieu
b97ad55872 Update to xkbcomp 1.2.3 2011-08-28 11:21:51 +00:00
matthieu
a436c5afac Update to x11perf 1.5.4 2011-08-28 10:45:18 +00:00
matthieu
7a8ca1500f Oops. Didn't mean to add this file. 2011-08-28 10:39:39 +00:00
matthieu
6b48a62adb Update to twm 1.0.7 2011-08-28 10:32:22 +00:00
matthieu
3318d5e0f5 Update to smproxy 1.0.5 2011-08-28 10:21:07 +00:00
matthieu
9438b2112e Update to mkfontscale 1.0.9 2011-08-28 10:19:31 +00:00
oga
af80ac7042 A while ago I wrote some code to not warp to ignored windows on map (rev
1.52), not realising that the previous (less efficient) fix had already
been commited (rev 1.50).

Had this in my tree for ages to remove the previous code. Effectively
reverts rev 1.50.

ok okan@
2011-08-22 16:34:34 +00:00
okan
661c8ef1c1 revert r1.11 of parse.y and create logic in conf_setup instead to deal
with the various scenarios of when to attempt a parse of the config,
load defaults, and when to warn and/or exit.  triggered by bogus warning
first noticed by sobrado@.

ok oga@
2011-08-22 16:18:05 +00:00
marco
722a82d253 Compile trace.c as well so that OPT_TRACE 1 actually works.
ok matthieu
2011-08-18 20:27:03 +00:00
matthieu
80d4fad9d4 Update to xterm 271. Tested by shadchin@ and ajacoutot@ 2011-08-18 19:47:42 +00:00
todd
f61900dfbe puffy 5.0 2011-08-04 03:53:14 +00:00
okan
648d5b0b39 Re-draw borders after reloading, not before; from Alexander Polakov.
ok oga@
2011-07-26 08:51:24 +00:00
okan
3826753e1a use the menu border; from Alexander Polakov, but with the existing define.
ok oga@
2011-07-25 15:41:05 +00:00
okan
bd65f03126 We are inconsistent when it comes to function returns, so just go all
the way with the cwm specific parts.

ok oga@
2011-07-25 15:10:24 +00:00
okan
24bf547e5f Clarify defines and make them not look like non-local ones; started by a
small diff from Thomas Pfaff.

ok oga@
2011-07-23 13:09:11 +00:00
matthieu
e4c257bcd3 Remove an extra debugging printf that leaked in previous commit. 2011-07-16 17:54:07 +00:00
matthieu
06beb28a5c Check if an input device has calibration data before accepting it as
as candidate for calibration.
2011-07-16 17:32:24 +00:00
matthieu
b67526b998 Tweak and fix an unreadable sentence. 2011-07-16 17:30:17 +00:00
matthieu
fc1734598c Add a '-c' option to keep the X cursor visible while calibrating. 2011-07-16 17:27:52 +00:00
matthieu
6efadade45 White space cleanup. 2011-07-16 17:21:41 +00:00
okan
df02d70181 correct spelling; from Alexander Polakov. 2011-07-14 11:39:53 +00:00
jasper
5e7ee14517 spello 2011-06-28 08:18:49 +00:00
okan
33023ff923 UTF8-ify, from Alexander Polakov, but without setlocale(), after
feedback from stsp@ - thanks!

'go for it' oga@
2011-06-27 12:46:54 +00:00
okan
9eac37010a warn if we can't parse the config file on start, just like we do on reload.
part of a larger diff that was ok oga@
2011-06-25 13:37:05 +00:00
okan
5f2753dc80 Since cwm(1) uses the same parser as others in src, document how
comments and line extensions work.  Taken from sthen@'s recent
commit in src.

ok sthen@
2011-06-25 13:12:56 +00:00
okan
0fd446f068 add 'normal' cursor and shuffle the others we use to make a bit more
sense and to be slightly less un-expected.  from Alexander Polakov.
re-use 'normal' cursor now instead XC_hand1 for menu selection.  i
really wish X had real docs and made sense.

ok on earlier diff with '?' removed (but it's back now) oga@
2011-06-24 06:52:23 +00:00
okan
53fbeb4e7a New option to raise a client via the mouse (unbound by default);
opposing action, lower, already exists and bound.  Both keyboard
mappings already exist.

'no opinion either way' oga@
2011-06-24 06:09:26 +00:00
okan
ffa68ab4a0 introduce a new config option to snap to the screen edge. 'snapdist'
keyword taken from a diff from Sviatoslav Chagaev to do the same thing,
but implemented in a completely way (based on some very old code from
mk@).  default set to 0, so no behavior change.

ok oga@ (who would also like to take it further...)
2011-06-24 06:06:24 +00:00
okan
c800341623 re-do various bits of {,h,v}max for simplicity and less flag handling.
as a bonus, flipping between various combinations of vmax+hmax provides
a more predictable behavior.

commitski oga@
2011-06-24 06:01:47 +00:00
okan
5e2c6f5c05 replace the non-working check to see if another wm is running with a
method that actually works.  checking for icccm compliant wm's should
also be done first, but that's another diff (noted by oga).

ok oga@
2011-06-24 05:58:51 +00:00
okan
c1530aea4c more nitems usage.
ok oga@
2011-06-24 05:54:30 +00:00
okan
2f0f43df32 re-order sweep draw so that we map into the client window after
re-parenting; from Sviatoslav Chagaev.

ok oga@
2011-06-24 05:51:25 +00:00
okan
74252c7d0a struct XftFont already has height which we can use directly instead of
calculating ourselves, so do so.

ok oga@
2011-06-24 05:45:57 +00:00
okan
08f0ea6df6 alter a few function returns and prototypes; found by lint.
ok oga@
2011-06-24 05:40:09 +00:00
okan
cfdfe3cdd9 Correct extern declaration and while here, rename a variable to be
pedantic.

from Thomas Pfaff.

ok oga@
2011-06-24 05:33:41 +00:00
okan
209974b036 collapse client and group {r,}cycle defines since they are really
the same thing.

ok oga@
2011-06-24 05:30:42 +00:00
naddy
2e88a2b0e8 switch to installing source manuals:
* cope with new bsd.man.mk
* update imake configuration

ports use of imake remains unchanged
2011-06-23 22:48:59 +00:00
matthieu
3d3ed030c3 Update to xterm 270. Tested by ajacoutot@, shadchin@, krw@ and jasper@ 2011-06-07 19:21:06 +00:00
matthieu
5ef1aa0392 Update to xauth 1.0.6 2011-05-31 20:47:24 +00:00
matthieu
11cd08772b Update to iceauth 1.0.5 2011-05-31 20:42:48 +00:00
okan
3d9ed32226 fix botched client and group cycle defines; noticed by Thomas Pfaff.
"no cookie! fix it" - oga@
2011-05-15 17:58:47 +00:00
okan
dc3d407467 remove left over XSync; ok oga@ 2011-05-13 12:53:19 +00:00
okan
4fb00eca7b tag and comment cleanup; ok oga@ 2011-05-11 13:53:51 +00:00
okan
b1f11d8dc6 introduce a new 'freeze' flag (CMS-f by default) which may be applied to
any window, after which all move/resize requests will be ignored,
essentially freezing the window in place.

there's a possibility to merge this with the 'ignore' concept, pending
on how ignore+freeze should behave (really more ewmh stuff), but punting
for now since ponies are on the line.

requested and tested by thib at k2k11 with ponies, unicorns and rainbows.

'save the unicorns' todd@, ok oga@
2011-05-07 17:15:37 +00:00
matthieu
024397530b Update to xlsclients 1.1.2 2011-05-07 12:41:54 +00:00
oga
a1517de675 On map, don't warp to windows that are marked as ignored.
Requested by Christian Neukirchen last august. He provided a patch but the one I
wrote was significantly simpler (1 - 2 + in the whole diff).

makes sense to okan@.
2011-05-06 19:39:44 +00:00
okan
28ba33af91 bump window resize back to 60hz. instead, we should not need to sync
every time we move/resize a window, so remove XSync in both mouse move
and resize events.  tested by Brynet as well.

ok oga@
2011-05-05 19:52:52 +00:00
okan
800a938556 re-org. ok oga@ 2011-05-05 16:40:37 +00:00
okan
d4b279e29e make the menu window aware of xinerama info; this makes the menu stay
within the current screen, like other cwm window placements and
mutations (vmax/hmax/max) - from Sviatoslav Chagaev.

ok oga@
2011-05-05 15:32:24 +00:00
matthieu
8d5ea2e291 Copy glxinfo and glxgears sources from Mesa demos, since more
recent Mesa releases don't ship MesaDemos anymore.
2011-05-01 15:28:37 +00:00
jakemsr
95e3242529 add the -R option to usage()
spotted by sobrado@
2011-04-11 17:23:18 +00:00
jakemsr
53483e36a8 * use VIDIOC_ENUM_FRAMEINTERVALS to get the supported frame intervals
and display the frame rates if at least on -v is used.
* set/get the video(4) device's frame rate using VIDIOC_{S,G}_PARM.
* add new option -R which dsables frame rate adjustment.  only really
useful for video(4) devices, to see the difference between the frame
rate the device generates and what it says it's configured for ...
many devices don't generate the rate they are configured if they
aren't getting enough light ...
* poll(2) input with INFTIM instead of 0 timeout, and handle the poll(2)
call being interrupted by the frame timer.
* only use usleep(3) to wait for frames if the input is a file, and
in that case, sleep for a full frame interval or until interrupted
by the frame timer.
* update the manual to describe the new -R option, that -r now sets
video(4) frame rate, and that at least one -v will display supported
properties of the hardware.
2011-04-11 02:58:49 +00:00
matthieu
eccbc42473 Whitespace stuff; new sentence, new line; fix some xrefs; use Aq more.
From mbalmer@NetBSD.
2011-04-08 20:03:47 +00:00
matthieu
94e8a384a5 Update to xrdb 1.0.9.
Includes a fix for CVE-2011-0465, to which OpenBSD is not vulnerable, since
dhclient will reject any hostname option containing invalid characters like
$ or `
2011-04-05 18:59:49 +00:00