Commit Graph

31 Commits

Author SHA1 Message Date
Arda Atci
9f14c43989 Merge pull request #18 from yshui/next
merge yshui/next
2023-02-04 05:49:58 +03:00
Maxim Solovyov
986b3c1cb3 core: drop xinerama
there are two x extensions for working with monitors (especially
multiple): xinerama and randr. xinerama is old, feature-poor and in
general isn't used anymore compared to the randr: new, feature-rich and
widely-used. for some reason we were using both of them, so let's drop
xinerama to keep things simple, clean and small. and to be modern.

the drop was done in three steps:
* first step was to replace all the xinerama-based code with the
  randr-based one and to replace or remove all the xinerama mentions;
* second step was to replace the xinerama's terminology with the
  randr's one. xinerama was referring only to the word "screen", while
  randr refers to multiple words and i think the word "monitor" is the
  most suitable for us and, hopefully, clear both to a contributor and
  to an end user;
* third step was to refactor the new randr-based code if needed and to
  address related todo's (mostly about moving related functions
  elsewhere).

all the steps were done well except addressing a leftover todo about
moving the win_update_monitor function to the x.c which wasn't done.

the xinerama-shadow-crop option was renamed to crop-shadow-to-monitor,
but it's previous name is still accepted, has effect and the
deprecation message is printed to preserve backwards-compatibility.
2023-01-29 10:51:12 +03:00
Arda Atci
ad8feaad12 Merge branch 'yshui:next' into next 2022-12-05 21:07:53 +03: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
fd18476f4b Merge branch 'yshui:next' into next 2022-11-24 15:42:17 +03:00
h7x4
7360522e31 picom.sample.conf: Add egl to backend option doc 2022-11-24 00:08:37 +01: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
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
1de1d67126 picom.sample.conf: add window-shader-fg and window-shader-fg-rule
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2022-08-21 05:37:28 +01:00
Yuxuan Shui
de434f7b1f config_libconfig: add dbus option
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2022-02-04 16:02:03 +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
Bert Gijsbers
494cb4b85d Fix all misspellings of _NET_WM_WINDOW_OPACITY. 2022-01-12 22:59:31 +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
Johnny Pribyl
bcb815d877 Use default detect-client-leader in sample conf 2021-09-19 18:30:57 -06: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
86c54cc376 picom.sample.conf: fix comment about focus-exclude
Closes #594

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2021-06-04 20:01:34 +01:00
Yuxuan Shui
cb41ea9644 sample config: add corner-radius and rounded-corners-exclude
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-11-30 00:35:43 +00:00
jialeens
4d990b3d35 update picom.sample.conf
Signed-off-by: jialeens <jialeadmin@163.com>
2020-09-14 15:57:56 +08:00
Ignacio Taranto
30bbfc28bb Do not use single quotes in the example config
This replaces single quotes for double quotes in the configuration
comments that refer to strings.
This was misleading since someone could took that comment as a valid
config entry, which is not.  One notable example was `backend = 'glx'`
which is not accepted by libconfig.

This also adds `;` for each default config values for consistency.
2020-09-04 10:20:40 -03: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
Toni Jarjour
7f1c08907d picom.sample.conf: remove deprecated options 2020-08-30 22:02:41 +01: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
3ae21aa9a3 config: rename shadow-hex to shadow-color
It's not directly clear from the name "shadow-hex" that it's related to
color.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-08-18 02:28:01 +01:00
adelin-b
a4a7b25436 config: add shadow-hex option
This allows the user to specify the shadow color via a single option,
instead of specifying red, green and blue separately.
2020-08-18 02:18:13 +01:00
zilrich
fe27ddf8f5 update picom.sample.conf
Remove deprecated menu-opacity option from sample config.
2020-08-02 09:27:49 +00: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
ಠ_ಠ
33a5cc604f improved sample conf (#340)
* cover all options present in the manpage
* added some examples
* grouping and visual improvement
* minor clarification
2020-03-18 09:07:52 +00:00
Rytis Karpuska
ec76c5f286 parameterize max brightness limit 2019-11-09 17:56:38 +02:00
Yuxuan Shui
8ddbebb5d1 rename: replace "compton" in the codebase
leftovers:

1) config file path. Has to implement compatibility functionalities before
  we can change it.

2) links in man pages. Has to migrate the repo first.

3) _COMPTON_SHADOW, it has become a defacto standard, so we have to keep
   supporting it.

4) dbus names, undecided whether we should/could change it.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2019-10-23 20:24:20 +01:00