OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acb4248
)
use the stored pixmap mask in QCursor::handle()
author
Ivailo Monev
<xakepa10@gmail.com>
Mon, 14 Nov 2022 00:41:39 +0000
(
02:41
+0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Mon, 14 Nov 2022 00:41:39 +0000
(
02:41
+0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/gui/kernel/qcursor_x11.cpp
patch
|
blob
|
history
diff --git
a/src/gui/kernel/qcursor_x11.cpp
b/src/gui/kernel/qcursor_x11.cpp
index
01f2ad6
..
84f977a
100644
(file)
--- a/
src/gui/kernel/qcursor_x11.cpp
+++ b/
src/gui/kernel/qcursor_x11.cpp
@@
-158,7
+158,7
@@
Qt::HANDLE QCursor::handle() const
#endif
if (!d->px.isNull()) {
d->x11px = d->px.toX11Pixmap();
- d->x11bm = d->
px.mask()
.toX11Pixmap();
+ d->x11bm = d->
bm
.toX11Pixmap();
d->hcurs = XCreatePixmapCursor(dpy, d->x11px, d->x11bm, &d->fg, &d->bg, d->hx, d->hy);
}
return d->hcurs;