Skip to content

Commit 758683a

Browse files
committed
Set compositor background
1 parent 21eaf7d commit 758683a

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

qwindow-compositor/background.jpg

-1.93 MB
Binary file not shown.
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<RCC>
22
<qresource>
3-
<file alias="background.jpg">background.jpg</file>
3+
<file alias="wallpaper.png">wallpaper.png</file>
44
</qresource>
55
</RCC>

qwindow-compositor/wallpaper.png

3.79 KB
Loading

qwindow-compositor/window.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private slots:
9595
static QPointF getAnchorPosition(const QPointF &position, int resizeEdge, const QSize &windowSize);
9696

9797
QOpenGLTextureBlitter m_textureBlitter;
98-
QImage m_backgroundImage = QImage(QLatin1String(":/background.jpg"));
98+
QImage m_backgroundImage = QImage(QLatin1String(":/wallpaper.png"));
9999
QOpenGLTexture *m_backgroundTexture = nullptr;
100100
Compositor *m_compositor = nullptr;
101101
QPointer<View> m_mouseView;

0 commit comments

Comments
 (0)