Summary: | dead/unreachable code at line 643 & 648 of simple-egl.c | ||
---|---|---|---|
Product: | Wayland | Reporter: | Rohit Nandan <pulkitnandan> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | pulkitnandan |
Version: | 1.4.0 | ||
Hardware: | ARM | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Rohit Nandan
2014-06-17 07:04:21 UTC
Sorry, what is the problem here? Whenever a wl_seat changes capabilities, e.g. a the first keyboard gets hot-plugged, or the last pointer device gets hot-unplugged, wl_seat sends a capability notification with the new feature bits appropriately set or cleared. Clients should destroy e.g. wl_pointer if the pointer capability disappears. To me it looks like the code does exactly that. But it *is* missing calls like wl_pointer_release, but I am unsure if that is the bug you are reporting here. Not sure what the actual bug is here. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.