Arda Atci
ad8feaad12
Merge branch 'yshui:next' into next
2022-12-05 21:07:53 +03:00
Yuxuan Shui
882025092f
Merge pull request #952 from yshui/dither
2022-12-03 03:10:30 +00:00
Jake
1a82b8180a
Change dreaw -> draw
2022-11-29 22:20:22 -08:00
Yuxuan Shui
1271839baf
options: add dithered-present option
...
See also 0a2cd0f14e
Related: #602
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-11-30 05:33:21 +00:00
Arda Atci
04b027d495
Merge pull request #9 from yshui/next
...
Merge yshui/next
2022-11-18 18:13:19 +03:00
Yuxuan Shui
7233601be3
Fix typo
...
Fixes #922
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-11-16 15:40:10 +00:00
Arda Atci
0a49da1b91
Merge remote-tracking branch 'yshui/next' into next
2022-10-30 02:27:37 +03:00
Yuxuan Shui
59de702ea8
options: improve usage message printing
...
Laying the usage message out by hand is tedious, also error prone
because the option names are duplicated at 2 places and have to be
consistent.
Create a struct to hold the option names and help messages, and
do layout programmatically.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-10-29 19:42:36 +01:00
Yuxuan Shui
9f04d824b7
Rename COMPTON_VERSION to PICOM_VERSION
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-10-29 19:31:12 +01:00
Arda Atci
70c729d389
picom upto date sync with yshui, full anim support
2022-10-25 01:30:50 +03:00
Stefan Radziuk
2328b97c23
Exclude transparent-clipping-excluded windows from updating the ignored region
...
Transparent clipping interacts poorly with programs whose transparent
interface elements must show windows below them for functionality,
for example screenshot utilities.
2022-10-23 23:28:26 +01:00
Yuxuan Shui
b71a8420ca
options: add warning for using the egl backend
2022-09-29 08:03:21 +01:00
Yuxuan Shui
7e607bfe81
Make experimental backends the new default
...
Experimental no longer.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-08-21 06:09:27 +01:00
Yuxuan Shui
19c852b3ae
options: mention the "default" shader
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-08-21 05:22:15 +01:00
Yuxuan Shui
654772b8cf
config: add options window-shader-fg and window-shader-fg-rules
...
Used for setting custom window shaders and rules for choosing custom
window shaders.
Added a "c2_userdata_free" parameter to c2_list_free, so allocated userdata
stored in nodes can be freed.
Signed-off-by: Bernd Busse <bernd@busse-net.de >
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2022-08-11 04:28:48 +01:00
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
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
Bert Gijsbers
494cb4b85d
Fix all misspellings of _NET_WM_WINDOW_OPACITY.
2022-01-12 22:59:31 +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
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
Bernd Busse
4b5cc050d5
Add clip-shadow-above configuration and wintype option
...
Added the new `clip-shadow-above` configuration and wintype option.
These allow the user to select windows to clip from the shadow region of
other windows, i.e. don't paint shadows on top of them.
This should provide a more useful and userfriendly alternative to the
deprecated `shadow-exclude-reg` option — especially for docks and bars.
2021-07-14 14:43:28 +02:00
Yuxuan Shui
0f5f013b96
Rounded corners for legacy glx backend
...
Authored-by: bhagwan <bhagwan@disroot.org >
Authored-by: Samuel Hand <samuel.d.hand@gmail.com >
2020-12-16 18:10:36 +00:00
Yuxuan Shui
69d4199daa
Add rounded-corners-exclude configuration option
...
Allows the user to selectively disable rounded corners.
Authored-by: Samuel Hand <samuel.d.hand@gmail.com >
2020-11-30 00:35:40 +00:00
Yuxuan Shui
430be62b63
Rounded corners for legacy xrender backend
...
Authored-by: Samuel Hand <samuel.d.hand@gmail.com >
2020-11-30 00:35:34 +00:00
Samuel Hand
e20b187912
options: add corner-radius
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-11-30 00:31:52 +00:00
Bernd Busse
337831e094
Fix memory errors reported by scan-build.
...
- Fix non-critical memory-leak in `picom.c` and `options.c` where we
don't free all allocated memory before dieing.
- Explicitly allocate new branch in `c2.c` to silence false-positive
memory-leak.
2020-10-23 17:20:59 +02:00
Bernd Busse
fb3760bbe3
config: add wintypes option blur-background
2020-10-01 23:28:05 +02:00
jialeens
7d7eef7ff4
Accept write-pid-path option from the config file
...
Signed-off-by: jialeens <jialeadmin@163.com >
2020-09-16 12:14:46 +01:00
Yuxuan Shui
699ff9bc82
options: fix typo
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-09-08 07:17:56 +01:00
Yuxuan Shui
7d32783d9e
options: warn when dual-kawase blur is chosen on unsupported backends
...
Closes #464
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-09-08 07:08:23 +01:00
Yuxuan Shui
283504d527
Remove no-dock-shadow and no-dnd-shadow
...
Deprecated since v4
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-08-31 18:32:14 +01:00
Bernd Busse
33c5a5a36b
Add support for new blur method dual_kawase [WIP]
...
**Work-in-Progress**
Add `dual_kawase` to configuration and argument parsing. Allow `kawase`
for backward compatibility. Add `--blur-strength` parameter for
blur-method `dual_kawase`.
Update documentation to reflect the new blur-method and parameters.
2020-08-31 14:06:17 +02:00
Yuxuan Shui
5ebac238e2
Remove documentation, usage messages and examples about sw-opti
...
It have been deprecated.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-08-30 21:26:19 +01:00
Yuxuan Shui
2b677c8fc4
options: support shadow-color as a commandline option
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-08-18 02:39:43 +01:00
Yuxuan Shui
17831a7be3
config: remove xrender-sync
...
Deprecated since v5
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-04-11 16:17:30 +01:00
Yuxuan Shui
bcb1ef1654
config: remove the --dbe command line option
...
Deprecated since v4
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-04-11 16:15:27 +01:00
Yuxuan Shui
9c4b8334ad
config: remove the --paint-on-overlay option
...
Deprecated since v4
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-04-11 16:15:21 +01:00
Yuxuan Shui
6d86d50213
config: remove deprecation message for glx-use-copysubbuffermesa and glx-copy-from-front
...
Deprecated since v3, removed since v6
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-04-11 16:12:15 +01:00
Yuxuan Shui
9767b4da5a
config: remove -S command line option
...
Deprecated since v5
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com >
2020-04-11 16:04:31 +01:00