1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2024-11-11 13:51:02 -05:00
Commit graph

24 commits

Author SHA1 Message Date
Maxim Solovyov
c02a1e2a30
ci: install the xcb-util dependency
the xcb-util dependency that was introduced recently isn't installed by
the github's ci workflow what results in ci failures
2023-06-17 17:14:10 +03:00
Yuxuan Shui
cee1287562
github: update git-clang-format-lint action
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2023-01-29 16:23:26 +00: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
Yuxuan Shui
37ecb4b496
core: detect screen off
Use the DPMS extension to detect if screen is turned off, and unredirect
if it is. This also helps working around the problem where OpenGL
buffers lose data when screen is turned off, causing screen to flicker
later when it turns back on if use-damage is enabled.

Unfortunately the DPMS extension doesn't define an event, so we have to
periodically poll the screen state.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2022-12-19 08:52:18 +00:00
Yuxuan Shui
ec9243cf3c
issue_template: suggest uploading OpenGL traces
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2022-08-12 11:19:47 +01:00
Yuxuan Shui
60c9695394
ci: update coding style check
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2022-07-14 18:37:26 +01:00
Yuxuan Shui
aa316aa360
ci: fix codeql tasks
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2022-02-13 14:07:12 +00: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
Yuxuan Shui
48b7d7c27d
Update coding style workflow
Alpine stopped packaging git-clang-format in newer versions.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2021-06-20 06:56:53 +01:00
scrouthtv
d25a6e4831
Minor fixes to the issue template 2021-02-07 22:42:38 +01:00
Yuxuan Shui
453a9e8232 github: codeql: only install dependencies for cpp analysis
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-10-01 14:01:46 +01:00
yshui
aa1a32db16 github: enable CodeQL workflow
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-10-01 13:32:33 +01:00
Yuxuan Shui
900b6893d6 github action: update git-clang-format-lint
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-04-10 04:09:07 +01:00
Yuxuan Shui
b37db3e051
github actions: update coding style checks
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-04-09 18:09:19 +01:00
Yuxuan Shui
be0d4b9681 github action: check coding style of commits
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-04-09 01:14:34 +01:00
Yuxuan Shui
c59b0bca22 github: add PR template
Signed-off-by: shui <shui@pop-os.localdomain>
2020-03-06 09:19:14 +00: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
Yuxuan Shui
05d4d04a33
issue template: use proper html comment
This way the report doesn't have to remove the comments in the template.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2019-08-18 01:34:18 +01:00
Yuxuan Shui
7d990fef88 Update issue template 2018-11-26 15:46:04 +00:00
Yuxuan Shui
ab7a2f1872 Ask for more info in issue template
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2018-11-05 18:15:36 +00:00
Yuxuan Shui
332a873729 Add --diagnostics option
It will cause compton to print out some rudimentary diagnostics.

Also small improvements of the meson.build.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2018-11-03 22:37:18 +00:00
Yuxuan Shui
a47f112833 Update issue template 2018-10-22 01:27:17 +01:00
Yuxuan Shui
265dc67717 Update github issue template 2018-09-10 12:27:02 +01:00
Richard Grenville
316eac0613 GitHub: Add an issue template
GitHub: Add a template for issues submitted, .github/issue_template.md.
I hope people could provide more needed information when reporting
issues after we provide a number of fields to fill and some extra
instructions in the template, to reduce the time wasted on the issues
because of insufficient information.

See: https://help.github.com/articles/creating-an-issue-template-for-your-repository/
2017-04-30 21:08:49 +08:00