1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-04-07 17:44:04 -04:00
Commit graph

35 commits

Author SHA1 Message Date
Yuxuan Shui
1876879b7d
doc: switch to asciidoctor
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-07-30 18:35:49 +01:00
Yuxuan Shui
ca3ea85958
changelog: add rational for not using GrabServer
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-06-27 19:43:37 +01:00
Yuxuan Shui
19e045daed
build: remove libXext
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-06-11 02:46:48 +01:00
Maxim Solovyov
474eb01e4b
core: drop xcb-dpms
it's not used anymore.
2024-05-30 13:39:00 +03:00
Yuxuan Shui
7ae185850f
config: support loading plugins
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-05-25 11:08:39 +01:00
Yuxuan Shui
e512542d71
backend: prepare to pluginify the backends
Instead of a fixed table, allow an arbitrary number of backends to be
registered through `backend_register`.

Slightly refactored configuration validation.

As a side-effect, you now have to explicitly specify a backend, because
due to the dynamic nature of backends, there is no way to choose a
default.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-05-25 11:08:37 +01:00
Yuxuan Shui
b6abeb00ff
config_libconfig: search additional directories for included file
Bump the minimal required version of libconfig to 1.7. Time to force
debian to update their 10 years old version of libconfig.

Fixes 

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-05-19 23:12:52 +01:00
Yuxuan Shui
97c14ee65d
c2: make override_redirect only match top-level windows without a client
Fixes 

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-05-16 18:35:21 +01:00
Yuxuan Shui
43de276c19
options: refactor option parsing
The main objective is to remove the need to worry about option value
assignment. Because of the way getopt works, we need to assign a number
to each option, and later match the return value of getopt in a big
switch. We have to make sure to not assign the same number to two
options, and we have to carefully make sure the same number is used in
two different places (once in the options table, once in the switch).
And that is just annoying.

With this commit everything is in one place, and the compiler will yell
at us if we assigned duplicated numbers.

Maybe this can also be a stepping stone for unifying command line
options parsing and config file parsing.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-05-12 17:16:02 +01:00
Yuxuan Shui
f2ce27591c
config: remove -n, -a, -s
These are removed long before our time, I don't even know what they are.
We have been rejecting them with an error message for a while too, it's
time to just remove them.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-05-12 13:56:32 +01:00
Yuxuan Shui
f510d8dd62
config: remove --shadow-exclude-reg
Deprecated in v2, and we added a better alternative to it.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-05-12 13:52:41 +01:00
Yuxuan Shui
cf08a3b7a5
build: make libconfig mandatory
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-04-20 16:25:08 +01:00
Yuxuan Shui
814bcd9806
Update CHANGELOG.md
Mention the use of OpenGL 4.3

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-04-14 09:19:38 +01:00
Yuxuan Shui
f7e538fe88
Update CHANGELOG.md 2024-03-11 10:31:45 +00:00
Yuxuan Shui
040cc107f8
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-03-06 08:42:59 +00:00
Yuxuan Shui
153cad6289
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-20 16:06:19 +00:00
Yuxuan Shui
198da194e8
c2: remove type specifiers
Same logic as the format specifiers, we just use what the X server
reports, asking the user for the type is just going to be confusing.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-18 18:45:20 +00:00
Yuxuan Shui
48f481ee62
c2: remove match target format specifier
It's confusing to me what I should put as format, and the rule might or
might not work if I used the wrong format. In theory this can be used to
write condition that's only true when the specified property has a given
format, in reality I don't think anyone is doing that.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-17 16:35:45 +00:00
Yuxuan Shui
81210b15af
chore: fix CHANGELOG.md
Some lines got put at wrong location because of a merge conflict.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-17 16:22:14 +00:00
Yuxuan Shui
b0fc0c5d59
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-16 19:58:42 +00:00
Yuxuan Shui
85bb56e8a6
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-14 19:44:06 +00:00
Yuxuan Shui
4f792243c1
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-13 10:44:38 +00:00
Yuxuan Shui
0ab3e0740e
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-11 23:18:47 +00:00
Yuxuan Shui
642a43acbb
Update README.md and CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-11 02:07:07 +00:00
Yuxuan Shui
238c3cc833
vblank: reset SGI_video_sync scheduler if it's getting nonsense
If resetting fails, set a flag so all future schedule calls will fail.

Fixes 

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-30 22:41:03 +00:00
Yuxuan Shui
0638de5c56
Update CHANGELOG.md
On a second thought, the `corner-radius-rules` is a user noticeable
behavioral change, it should be more prominent.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-30 22:40:19 +00:00
Yuxuan Shui
bacdb919c7
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-29 23:56:30 +00:00
Yuxuan Shui
606844c4bb
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-28 21:44:19 +00:00
Yuxuan Shui
4c4df9b918
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-21 19:26:00 +00:00
Yuxuan Shui
197b4bd396
Update CHANGELOG.md for v11 release
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-20 17:12:34 +00:00
Yuxuan Shui
4c34944d76
Update CHANGELOG.md
I forgot to mention the priviledge needed for real-time scheduling.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-18 14:18:58 +00:00
Yuxuan Shui
a73ca2dc8d
Merge pull request from yshui/deprecations-11 2024-01-15 13:41:30 +00:00
Yuxuan Shui
1b8d321c45
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-14 22:51:09 +00:00
Yuxuan Shui
30e37dbf09
Update CHANGELOG.md
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-14 17:10:20 +00:00
Yuxuan Shui
eb3a58a6b0
Add a CHANGELOG.md
The intention is we update this file as PRs are merged, so the workload
when making a new release is reduced.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-14 16:50:47 +00:00