<div dir="ltr">Hi,<div><br></div><div>I have a query regarding usage and functionality of a function used in seat listener defined as seat_handle_capabilities in simple-egl.</div><div><br></div><div>Issue : wl_keyboard_destroy and wl_pointer_destroy are never called. </div>
<div><br></div><div>Repro steps: 1) gdb simple-egl</div><div>                    2) set breakpoint at simple-egl: 545, 548, 553, 556</div><div>                    3) It hits breakpoint at 545 & 553 unconditionally whether mouse or keyboard are                                  connected to device or not.</div>
<div><br></div><div>Query: In which case it'll call wl_pointer_destroy or wl_keyboard_destroy as It never hits the breakpoint 548 & 556 either I remove keyboard or mouse or even after wl_display_connect is called ?</div>
<div>Shall we explicitly call wl_keyboard_destroy or wl_pointer_destroy after display_disconnect or there is some implicit call to seat_listener's function which has no debug print during its execution.</div><div><br>
</div><div><br></div><div>Thank You</div><div>Rohit Nandan</div></div>