mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
CatDog: Switch to new mouse-tracking method
This commit is contained in:
parent
2f38cad987
commit
f717008bde
Notes:
sideshowbarker
2024-07-18 04:27:42 +09:00
Author: https://github.com/BenWiederhake
Commit: f717008bde
Pull-request: https://github.com/SerenityOS/serenity/pull/9881
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