Commit Graph

6742 Commits

Author SHA1 Message Date
matthieu
a9988a58be update 2020-07-08 20:04:44 +00:00
matthieu
60b6a027d3 sync 2020-07-08 20:03:10 +00:00
matthieu
722049b7bf Unlink libxbui from the build. ok jsg@ 2020-07-08 20:01:53 +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
matthieu
69040cca57 update 2020-06-27 09:07:12 +00:00
matthieu
6dd6f885f2 Update to freetype 2.10.2. Tested by krw@ and myself.
Adds supprot for WOFF2 fonts. No visible API/ABI changes.
2020-06-27 09:06:07 +00:00
jsg
cb3c6b9276 llvmpipe: use LLVM version string instead of re-computing it
From Eric Engestrom
7f5ef97a07d4054efb96f0d644344644023af82c in Mesa git

fixes llvmpipe renderer string showing "LLVM 16.0" with LLVM 10
2020-06-18 11:45:13 +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
jsg
7b35d83e06 ac: fix build with recent LLVM
from Samuel Pitoiset
ee9811a0bb86d3d75fafeece368f6182048807d0 in mainline Mesa
2020-06-16 10:44:59 +00:00
matthieu
60964e1bb6 sync white space with upstream. No code change. 2020-06-14 16:02:38 +00:00
matthieu
1242f9054e Remove the (out of date) list of supported architectures. 2020-06-14 07:10:44 +00:00
jcs
6b6f912425 revert local change which removed -retro flag and adjust -br to
properly override our default behavior of stippled root.

no objection from deraadt and kettenis
2020-06-12 14:45:55 +00:00
matthieu
e151e26000 update 2020-06-07 13:40:50 +00:00
matthieu
6080f556ca Fix VT switching in EXA acceleration. 2020-05-16 14:18:52 +00:00
matthieu
25e39ca9f7 MFC: alpine: Default to 16bpp
24bpp support is going away, so since we can't do 32bpp and these cards
have basically no VRAM to begin with, drop to 16bpp.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2020-05-16 14:15:35 +00:00
matthieu
df4ceb2300 update 2020-05-16 09:59:01 +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
matthieu
8ff49d974a Update to libXxf86dga 1.1.5 2020-05-16 09:47:20 +00:00
matthieu
bf55aa2b59 Update to libXrandr 1.5.2 2020-05-16 09:45:24 +00:00
matthieu
bce19cf126 update 2020-05-16 08:50:37 +00:00
matthieu
35d1b2dbf3 sync 2020-05-16 08:50:21 +00:00
matthieu
0ed5a7f139 Update to libxcb 1.14 and xcb-proto 1.14. ok tb@ 2020-05-16 08:49:00 +00:00
matthieu
0d451cc2e3 sync 2020-04-28 07:05:59 +00:00
matthieu
39081bd51f Stop providing /usr/X11R6/README. It contains mostly oudated information
and few people found it. Discussed with schwwarze@, sthen@.
2020-04-28 07:04:49 +00:00
matthieu
7adfd269f8 update 2020-04-26 09:59:20 +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
matthieu
ad9a065c46 Release unused filedescriptors in the privileged X server process.
There is no reason to keep /dev/pci* and /dev/ttyC* open in this process.
pointed to  by deraadt. ok kettenis@ deraadt@
2020-04-20 18:17:25 +00:00
matthieu
806accb3da Remove unused files. 2020-04-18 09:41:18 +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
ac0e12b4da dix: do not send focus event when grab actually does not change
upstream commit 364d64981549544213e2bca8de6ff8a5b2b5a69e

Fixes an issue in xserver 1.20 where some applications were loosing
focus. Naddy@ reported it appeards in SDL 1.2 games (burgerspace).

tested and ok naddy@
2020-04-14 17:29:21 +00:00
matthieu
e6ad4e6beb update 2020-04-13 08:29:18 +00:00
matthieu
9064f8eee5 Update to xserver 1.20.8. ok jsg@ robert@ 2020-04-13 08:06:58 +00:00
kettenis
b8fd44900b Remove #ifdef that doesn't make sense anymore; extend clang workaround to
conver __sync_val_compare_and_swap.

ok jsg@
2020-04-03 10:06:14 +00:00
kettenis
cd2d30e6df Make this build on clang architectures that don't have 64-bit atomic
instructions.  Clang doesn't allow redeclaration (and therefore
redefinition) of the __sync_* builtins.  Use #pragma redefine_extname
to work around that restriction.  Clang also turns __sync_add_and_fetch
into __sync_fetch_and_add (and __sync_sub_and_fetch into
__sync_fetch_and_sub) in certain cases, so provide these functions as
well.

ok jsg@
2020-04-03 07:26:18 +00:00
jsg
d1d3f7dcb4 test for 32 bit atomic builtins was incorrectly testing for 64 bit atomics
noticed when going over a macppc clang build error reported by deraadt@
2020-04-03 01:58:40 +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
matthieu
79bf692af9 more xorg-macros.m4 to xhare/mi where it belongs. noticed by espie@ 2020-03-24 17:56:57 +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