Bug 217494 - [GTK] Make gamepads visible after their first input is received
Summary: [GTK] Make gamepads visible after their first input is received
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adrian Perez
URL:
Keywords:
Depends on: 217226
Blocks: 133847
  Show dependency treegraph
 
Reported: 2020-10-08 14:45 PDT by Adrian Perez
Modified: 2020-10-13 02:20 PDT (History)
4 users (show)

See Also:


Attachments
Patch (2.20 KB, patch)
2020-10-11 05:26 PDT, Adrian Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2020-10-08 14:45:39 PDT
The Mac port waits until the first input comes from some gamepad
before calling GamepadProvider::setShouldMakeGamepadsVisible(),
and it would be a good idea to do the same for the GTK port.
Comment 1 Adrian Perez 2020-10-11 05:26:36 PDT
Created attachment 411049 [details]
Patch
Comment 2 EWS 2020-10-13 02:20:48 PDT
Committed r268390: <https://trac.webkit.org/changeset/268390>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 411049 [details].