Ran kwin_wayland --windowed --scale2
Hovered over deco. Got massive and detailed cursor
Hovered over a wayland client (Qt 5.11 not dev)
Got a massive, but slightly blocky cursor
graesslin |
KWin |
Ran kwin_wayland --windowed --scale2
Hovered over deco. Got massive and detailed cursor
Hovered over a wayland client (Qt 5.11 not dev)
Got a massive, but slightly blocky cursor
No Linters Available |
No Unit Test Coverage |
Buildable 185 | |
Build 185: arc lint + arc unit |
plugins/platforms/x11/windowed/x11windowed_backend.cpp | ||
---|---|---|
417 | How about const qreal outputScale = screenScales().first(); const QSize targetSize = srcImage.size() * outputScale / srcImage.devicePixelRatio(); const QImage img = srcImage.scaled(targetSize, Qt::KeepAspectRatio); | |
424 | Just a question: should hotspot.x() * outputScale be rounded?, e.g. xcb_render_create_cursor(m_connection, cid, pic, qRound(hotspot.x() * outputScale), qRound(hotspot.y() * outputScale)); |