kms: Track used devices and free resources
This commit is contained in:
parent
e74b0dfaaa
commit
ef3486f7e0
14 changed files with 303 additions and 130 deletions
|
|
@ -50,7 +50,7 @@ impl State {
|
|||
// initialize globals
|
||||
let filter = move |client: &Client| {
|
||||
if let Some(normal_client) = client.get_data::<ClientState>() {
|
||||
let dev_id = normal_client.drm_node.unwrap();
|
||||
let dev_id = normal_client.advertised_drm_node.unwrap();
|
||||
return dev_id == render_node;
|
||||
}
|
||||
if let Some(xwayland_client) = client.get_data::<XWaylandClientData>() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue