Commit Graph

2125 Commits

Author SHA1 Message Date
matthieu
f3f39cb65b Update to fonttosfnt 1.2.0.
Includes work done by chrisz@ to fix issues for recent pango versions.
tested with st and gvim and OK chrisz@
2020-10-23 11:17:04 +00:00
matthieu
eec02f95fe remove empty file not present upstreams 2020-10-23 09:53:28 +00:00
kn
d133aea95f Remove osrelease from system.fvwmrc
This is the version string that shows up as part of "OpenBSD 6.8" in the
bottom right window in a default installation.

But as this version stems from the build machine's kernel with which fvwm
was build, it can differ from the version you're running on your machine
which is what you'd expect as user.

Such values must not be derived from the build environment;  instead of
fixing it up, remove the version number entirely and leave it to the user's
~/.fvwmrc to update the label if need be.

OK deraadt
2020-09-30 20:42:12 +00:00
deraadt
3b94b75328 use <signal.h> instead of <sys/signal.h>
ok matthieu
2020-09-22 15:57:29 +00:00
mglocker
47544e7521 Add control for backlight compensation (V4L2_CID_BACKLIGHT_COMPENSATION).
From Laurence Tratt <laurie (at) tratt (dot) net>
2020-09-07 10:35:22 +00:00
mglocker
c281dda5e4 Be consistent with control value output; ':' -> '='.
From Laurence Tratt <laurie (at) tratt (dot) net>
2020-08-29 13:45:30 +00:00
mglocker
79163eedae Allow auto controls to be set back to auto mode explicitly.
From Laurence Tratt <laurie (at) tratt (dot) net>
2020-08-23 10:49:34 +00:00
matthieu
f561a12735 Update to xkbcomp 1.4.3 2020-08-16 15:56:49 +00:00
mglocker
e1abe9d332 Allow the combination of '-dc' options, reset and display control values.
Reported by Laurence Tratt.
2020-08-11 05:35:17 +00:00
mglocker
0cbeaf0514 Remove braces for single line control statement. 2020-08-09 06:51:04 +00:00
mglocker
b1d26652c3 If a control supports auto mode and this is active, print 'auto' with -c
instead of printing the last set numeric value.

Initial diff from Laurence Tratt with some enhancements added.
2020-08-09 06:41:51 +00:00
mglocker
044da0a592 Don't compare a pointer to a null character constant but to NULL.
With best regards from clang 10.
2020-08-05 11:34:00 +00:00
mglocker
4fa22cfd66 Add the ability to set and display video control values directly on the
CLI.

Initial diff from Laurence Tratt with some enhancements/changes added.

ok mpi@
2020-08-05 10:49:47 +00:00
mglocker
861ff31951 Add white balance temperature control through 'w/W' keys.
From Laurence Tratt.

ok matthieu@
2020-07-17 07:51:23 +00:00
matthieu
ca0f9517a5 Start xconsole after setting the background.
Fixes an issue that causes xconsole to crash reported and fix tested
by Joe Gidi. Thanks.
2020-07-04 13:32:50 +00:00
feinerer
b0c69ca889 Initialize v4l2_requestbuffers for better libv4l compatibility
The VIDIOC_REQBUFS ioctl requires a v4l2_requestbuffers struct with the members
count, type, and memory. In the past only count was set as the uvideo(4) kernel
driver, via uvideo_reqbufs(), is ignoring both struct members type and memory
(pointed out by mpi@).

However, using video(1) with libv4l
(LD_PRELOAD=/usr/local/lib/v4l2convert.so video)
yields "mmap: Invalid argument" as libv4l inspects the type and memory
struct members and fails if memory != V4L2_MEMORY_MMAP.

Full initialization fixes libv4l usage which allows us to view video encodings
not directly supported by video(1), e.g., MJPEG, as libv4l can convert
encodings on the fly.

OK mglocker@
2020-07-01 06:45:24 +00:00
matthieu
5e486e4cdd Provide a lower contrast root weave as default background. 2020-06-28 15:40:48 +00:00
matthieu
c9b9b122b9 A darker login widget, providing better contrast.
liked by many.
2020-06-28 15:38:34 +00:00
jsg
597cbd6d39 Don't compare with string literals
From Dimitry Andric
e200d0d41ef3158ea717206c1490e499a0c07f1b in xkbcomp git

fixes build with clang 10
2020-06-18 09:04:14 +00:00
matthieu
39398c873c Update to xkbprint 1.0.5 2020-05-16 09:52:06 +00:00
matthieu
7c9d7b9aa7 missed README->README.md transition in 1.5.1 update. 2020-05-16 09:50:56 +00:00
matthieu
813522ca42 Update to xrandr 1.5.1 2020-05-16 09:49:44 +00:00
tobias
c45f7648e9 Fixed memory leak in xu_get_strprop.
If a client calls XSetTextProperty for a window to clear all its
properties, then allocated memory within libX11 is not freed.

OK okan@
2020-04-25 20:07:28 +00:00
tobias
493e33f3b9 Prevent out of boundary write with configuration files in which too many
quoted arguments are stored for other window managers.

The quotation handling happens within the while loop without checking if
the "end" limit has been already reached. If this happens, the final
NULL assignment leads to an out of boundary write on stack.

OK okan@
2020-04-16 17:12:49 +00:00
okan
831953a478 Allow configuring a percentage window size of the master window during
htile/vtile actions. From Uwe Werler, with a few manpage tweaks.
2020-04-16 13:32:35 +00:00
matthieu
a6fc36028d sort architectures list 2020-04-01 19:58:02 +00:00
matthieu
9d9d20762c Set the VT to be used by the X server on arm64 too. ok phessler@ 2020-04-01 19:46:03 +00:00
okan
6a7a7f23d8 zap stray tabs 2020-03-24 14:48:29 +00:00
okan
9be0e4bdf0 Instead of using _NET_ACTIVE_WINDOW on restart, use the pointer location
to determine what client to set active. Reduces a round trip for every
window.
2020-03-24 14:47:29 +00:00
okan
afa5b8b67f Add support for SIGINT/SIGTERM. 2020-03-23 20:14:27 +00:00
tim
4b4fe72f09 Simplify conditional construct.
OK okan@
2020-03-20 18:50:08 +00:00
okan
0f6482dcc4 Trim event_mask to those that the root window actually needs. 2020-03-20 15:16:31 +00:00
okan
f91df0c64f No need to lookup current client early; move to right before it is
needed.
2020-03-20 12:13:20 +00:00
tim
caa175be7e Recommit 1.259, but now with TAILQ_FOREACH_SAFE.
From and OK okan@

Original commit message:

Plug two memory leaks. Also get rid of a variable that is no longer
necessary.

OK okan@
2020-03-16 17:50:44 +00:00
tim
5376c8c363 Revert previous. Causes a crash as reported by Tom Murphy. 2020-03-14 16:11:09 +00:00
tim
99b5f48359 Simplify list markup.
OK okan@ schwarze@
2020-03-13 20:50:07 +00:00
tim
8990b0be5d Plug two memory leaks. Also get rid of a variable that is no longer
necessary.

OK okan@
2020-03-13 20:49:13 +00:00
okan
aa3cb8422c Remove ColormaskChange from event-mask since there's no event handler. 2020-02-28 13:38:35 +00:00
okan
caa934d82b Unrelated style fixes, consistency changes and sorting, appropriate
dosage/removal of wrappers, simplification of name queue, client cycle joins
other kb/mb bound functions.
2020-02-27 14:56:39 +00:00
okan
ea9d0bc072 Allow the 'empty' group clients to be window-{h,v}tile'd.
Behaviour (or lack there of) noticed by Raf Czlonka.
2020-02-07 18:53:41 +00:00
okan
363365145d Map ('5') and allow mod5mask (altgr) as a modifier.
From Artturi Alm (though changed from 'm' to '5')
2020-02-03 16:38:02 +00:00
okan
b6e5a98f51 add, then use, xvasprintf, checking for appropriate return. 2020-01-22 19:58:35 +00:00
okan
9f969d0080 Ensure the pointer stays within client bounds after a window 'snap' (to edge).
reported by Stefan Hagen.
2020-01-21 15:50:03 +00:00
matthieu
553b461bdc Disable the print-immediate and print-on-error functions in xterm.
They a causing a pledge violation when called, and we can live without
them. ok millert, also discussed with deraadt@
2020-01-20 21:03:35 +00:00
matthieu
147e36c7dc Disable PASTE64, TCAP_FKEYS and TCAP_QUERY explicitly.
They got enabled in previous xterm update but we don't want those.
PASTE64 issue and patch by deraadt@, discussed also with nicm@
2020-01-18 11:59:03 +00:00
matthieu
82151e1da6 Update to fonttosfnt 1.1.0 2020-01-14 20:52:17 +00:00
matthieu
92ede04394 Update to viewres 1.0.6 2020-01-14 20:51:24 +00:00
matthieu
386cac5010 Update to xhost 1.0.8 2020-01-14 20:50:06 +00:00
matthieu
d6bc8a29a7 Update to xauth 1.1 2020-01-14 20:49:33 +00:00
matthieu
150aa6e9c8 Update to xterm 351. tested and ok solene@ jca@ 2019-12-29 08:54:02 +00:00