Yuxuan Shui
b65c8c775f
Report error for setting vsync to non-boolean values
...
This is deprecated since v5, but we forgot to change this to error in
v8.
Doing it now.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:49:18 +00:00
Yuxuan Shui
73f66c7d5d
Formally deprecate --menu-opacity
...
It was deprecated in v4, but warning message wasn't printed for
specifying it on the command line.
Properly deprecate it now.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:44:31 +00:00
Yuxuan Shui
4fbaaca0d6
Remove error message for no-dock-shadow and no-dnd-shadow
...
Deprecated since v4.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:40:39 +00:00
Yuxuan Shui
4532187c34
config_libconfig: reuse the deprecation message
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:38:32 +00:00
Yuxuan Shui
bcbc410c92
Deprecate the refresh-rate options
...
It's meaningless without the sw-opti option, which has been deprecated
since v6.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:35:45 +00:00
Yuxuan Shui
183e83cf11
Remove error message for --xrender-sync
...
Deprecated in v5.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:25:22 +00:00
Yuxuan Shui
c75c55d379
Remove error message for --no-name-pixmap
...
Deprecated since v5.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:23:47 +00:00
Yuxuan Shui
74ab086c70
Remove error message for -d and -S
...
Deprecated since v5.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:22:53 +00:00
Yuxuan Shui
d17c915acd
Remove error message for --alpha-step
...
Deprecated since v5.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:20:42 +00:00
Yuxuan Shui
03dc98d47d
Remove error messages for --dbe and --paint-on-overlay
...
Deprecated since v4.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:19:15 +00:00
Yuxuan Shui
f8424646a5
Remove the glx-swap-method option
...
Deprecated since v6.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:16:15 +00:00
Yuxuan Shui
1e757dcfad
Remove the vsync-aggressive flag
...
Deprecated since v6.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:16:13 +00:00
Yuxuan Shui
e0642763b6
Remove the glx-use-gpushader4 options
...
Deprecated since v6.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:16:10 +00:00
Yuxuan Shui
51da5d3ad4
Formally deprecated the sw-opti option
...
It was deprecated in v6, but wasn't formally deprecated back then (e.g.
no warnings were printed for it). So formally deprecate it here.
This also left the refresh-rate option unused, so that will be
deprecated too.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 18:15:06 +00:00
yshui
43f35601bc
Merge pull request #761 from yshui/new-backend-rounded-corner-2
...
Rounded border for new glx backend
2022-01-24 17:38:15 +00:00
Yuxuan Shui
e50be3173f
backend: remove the read_pixel interface.
...
Sample the border color in the shader instead.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 17:34:38 +00:00
Yuxuan Shui
ef73668eb9
backend: gl: fix read_pixel
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 17:34:37 +00:00
Yuxuan Shui
4aac801a12
backend: gl: draw border for rounded windows
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 17:34:36 +00:00
Yuxuan Shui
b6c14989e1
backend: gl: trivial refactoring
...
* unifm -> uniform
* add macro for storing uniform locations
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 17:34:34 +00:00
Yuxuan Shui
b7df820ff2
backend: add new property: BORDER_WIDTH
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 17:34:33 +00:00
Yuxuan Shui
ffe1b79881
backend: add new property: BORDER_COLOR
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-01-24 17:34:29 +00:00
yshui
aa57d3f64a
Merge pull request #758 from gijsbers/fix_misspellings_of__net_wm_window_opacity
...
Fix all misspellings of _NET_WM_WINDOW_OPACITY.
2022-01-19 18:01:36 +00:00
yshui
d809134d3a
Merge pull request #759 from gijsbers/fix_obsolete_examples_in_manpage
...
Fix 2 examples in manpage which had obsolete options.
2022-01-19 17:54:25 +00:00
Bert Gijsbers
1e8fcd00a9
Fix 2 examples in manpage which had obsolete options.
2022-01-12 23:03:19 +01:00
Bert Gijsbers
494cb4b85d
Fix all misspellings of _NET_WM_WINDOW_OPACITY.
2022-01-12 22:59:31 +01:00
ktprograms
31e58712ec
Use python3 for tests
...
The testcase python files were already compatible with python3, but the
shebang was wrongly set to just 'python'
2021-11-25 10:52:31 +00:00
ktprograms
4dfb979c52
Fix segfaults on 32bit arch with --log-level=debug
...
There were a few improper uses of %ld for 64 bit numbers, as well as
some other 32 bit related warnings that I've fixed.
Signed-off-by: ktprograms <ktprograms@gmail.com >
2021-11-25 10:52:31 +00:00
Yuxuan Shui
1c7a4ff5a3
backend: xrender: fix clone_image
...
We were using default_clone_image, but:
1) it's copying the wrong type, xrender_image has an extra member.
2) it doesn't clone the rounded corner cache properly, that has to be
separately reference counted.
Reported-in: #728
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-11-20 01:27:24 +00:00
yshui
6555703b03
Merge pull request #716 from yshui/new-backend-rounded-corner-1
...
New backend rounded corner, part 1
2021-11-08 12:14:56 +00:00
Yuxuan Shui
8eb5bb08f8
backend: explicitly initialize corner_radius
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-11-08 00:23:45 +00:00
Yuxuan Shui
ffb8bc5b29
backend: xrender: fix accidentally deleted refcount decrement
...
Thanks, @tryone144
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-11-08 00:23:36 +00:00
yshui
fade045ead
Merge pull request #708 from TK009/next
...
allow dots (.) in condition targets
2021-10-31 23:27:30 +00:00
Tuomas Kinnunen
6bf0478d29
allow dots (.) in condition targets
2021-10-31 23:23:13 +00:00
yshui
9366f67795
Merge pull request #713 from rkitover/android-fix
...
Fix lack of timespec_get() on Android.
2021-10-30 02:19:56 +01:00
Rafael Kitover
062f50af39
Fix lack of timespec_get() on Android.
...
Some versions of the Android libc do not have timespec_get(), use
clock_gettime() instead on Android.
Signed-off-by: Rafael Kitover <rkitover@gmail.com >
2021-10-29 18:42:22 +00:00
yshui
e74fbfc733
Merge pull request #717 from yshui/update-clang-format-pipeline
...
github: update git-clang-format-lint
2021-10-26 10:35:42 +01:00
Yuxuan Shui
1b979212e8
github: update git-clang-format-lint
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-10-25 19:42:22 +01:00
yshui
d5f3079a43
Merge pull request #685 from tom-doerr/patch-1
...
Add build dependency Debian
2021-10-25 18:42:28 +01:00
Yuxuan Shui
1dea294051
backend: xrender: cache rounded rectangle mask
...
xcb_render_triangle is slow because (at least for Glamor) it's
rasterizing the triangles on CPU.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-10-25 13:48:45 +01:00
Yuxuan Shui
76db8cca06
backend: xrender: handle corner radius
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-10-25 13:46:45 +01:00
Yuxuan Shui
d397b307dd
backend: set corner radius property
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-10-23 12:53:17 +01:00
Yuxuan Shui
6d72bf2974
options: don't disable rounded corner for new backends
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-10-23 12:53:12 +01:00
Yuxuan Shui
1fec938740
backend: gl_common: handle corner radius property
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-10-23 12:22:29 +01:00
Yuxuan Shui
de31cd4096
backend: add new image property: corner radius
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-10-23 12:21:52 +01:00
Yuxuan Shui
ad18d129cc
docs: explain the detect-client-leader option better
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2021-09-22 15:44:33 +01:00
yshui
4f817c452d
Merge pull request #694 from jpribyl/patch-1
...
Don't set `detect-client-leader` in sample conf
2021-09-22 15:39:45 +01:00
Istvan Petres
de959f910b
Fixed ugly dark shadows in case of smaller window than shadow radius. ( #695 )
2021-09-21 18:01:18 +02:00
Johnny Pribyl
bcb815d877
Use default detect-client-leader in sample conf
2021-09-19 18:30:57 -06:00
Tom Dörr
efdb68917b
Add build dependency Debian
2021-09-04 00:29:45 +02:00
yshui
ee7d96101d
Merge pull request #674 from tryone144/blur-textures
...
Experimental GL backend: Do not use larger-than-screen textures for blur buffers
2021-08-24 15:19:24 +01:00