Skip to content

Conversation

@Taylor-Finch
Copy link
Contributor

Fixes Dock not displaying gradients by setting background to pixmap of Tray style, which Dock icons will inherit from the Dock window. This was mostly copied from taskbar.c so there may be something I missed!

Closes #623

Fixes Dock not displaying gradients by setting background to pixmap of Tray style
src/dock.c Outdated
rootDepth);
tp->buffer = cp->pixmap;
ClearTrayDrawable(cp);
XSetWindowBackgroundPixmap(display, cp->window, tp->buffer);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that it's particularly important, but I think you meant to call JXSetWindowBackgroundPixmap here instead of XSetWindowBackgroundPixmap.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, good catch! Fixed.

Replaces calls to XSetWindowBackgroundPixmap with JXSetWindowBackgroundPixmap
@joewing
Copy link
Owner

joewing commented Jul 18, 2024

Thanks again!

@joewing joewing merged commit 49e27cc into joewing:master Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dock doesn't use gradients

2 participants