Skip to content

Commit

Permalink
gfx: do not hide the cursor on the embedded gfx windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 27, 2024
1 parent 040d8a9 commit ae736a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/score-plugin-gfx/Gfx/Graph/ScreenNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,11 @@ void ScreenNode::createOutput(
std::function<void()> onUpdate, std::function<void()> onResize)
{
if(m_ownsWindow)
{
m_window = std::make_shared<Window>(graphicsApi);
if(m_embedded)
m_window->unsetCursor();
}

#if QT_HAS_VULKAN
if(graphicsApi == Vulkan)
Expand Down

0 comments on commit ae736a0

Please sign in to comment.