Skip to content

Commit

Permalink
fix mouse module unix compil
Browse files Browse the repository at this point in the history
  • Loading branch information
benkuper committed Jun 12, 2024
1 parent 8f02a30 commit 1fa0daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Module/modules/controller/mouse/MouseModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void MouseModule::clearItem()
#if JUCE_WINDOWS
if(MouseHooker::getInstanceWithoutCreating() != nullptr) MouseHooker::getInstance()->removeListener(this);
#else
if(Desktop::getInstanceWithoutCreating() != nullptr) Desktop::getInstance().removeGlobalMouseListener(this);
if(Desktop::getInstance() != nullptr) Desktop::getInstance().removeGlobalMouseListener(this);
#endif

Module::clearItem();
Expand Down

0 comments on commit 1fa0daf

Please sign in to comment.