mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:37:46 +00:00
CatDog: Switch to new mouse-tracking method
This commit is contained in:
parent
2f38cad987
commit
f717008bde
3 changed files with 8 additions and 18 deletions
|
@ -59,7 +59,6 @@ int main(int argc, char** argv)
|
|||
context_menu->add_action(GUI::CommonActions::make_quit_action([&](auto&) { app->quit(); }));
|
||||
|
||||
window->show();
|
||||
catdog_widget.track_cursor_globally();
|
||||
catdog_widget.start_timer(250, Core::TimerShouldFireWhenNotVisible::Yes);
|
||||
catdog_widget.start_the_timer(); // timer for "mouse sleep detection"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue