Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix binding the root background pixmap in case of depth mismatch #984

Merged
merged 3 commits into from
Feb 2, 2024

Commits on Jan 31, 2024

  1. x: add the x_get_visual_for_depth function

    it returns the first found visual for the given depth
    absolutelynothelix committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    4401666 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. picom: fix binding the root background pixmap in case of depth mismatch

    if the root background pixmap's depth doesn't match the root window's
    depth, find a suitable visual for the root background pixmap's depth and
    use it instead of the root window's visual
    absolutelynothelix committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    a655730 View commit details
    Browse the repository at this point in the history
  2. render: fix binding the root background pixmap in case of depth mismatch

    fix the same issue in the legacy backends, see the previous commit for
    details. this commit also removes the x_validate_pixmap function because
    it was used only in the get_root_tile function and the fix pretty much
    implies and embeds it.
    absolutelynothelix committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    4a79e7b View commit details
    Browse the repository at this point in the history