Skip to content

Commit

Permalink
Add a todo comment for hardware cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
zccrs committed Jul 26, 2024
1 parent 19cc95c commit 4048e42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/qtquick/woutputrenderwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ bool OutputHelper::tryToHardwareCursor(LayerData *layer, wlr_buffer *buffer)
|| get_cursor_formsts) {
// needs render cursor again
if (!m_cursorLayer) {
// TODO: Direct rendr the buffer to a new wlr_buffer, maybe can use wlr_render_pass
m_cursorLayer.reset(new LayerData(layer->layer, nullptr));
} else {
m_cursorLayer->layer = layer->layer;
Expand Down

0 comments on commit 4048e42

Please sign in to comment.