update handler to get pid from wlc for all views

master
Zandr Martin 9 years ago
parent 3f83968d30
commit d0a0d5e03c
No known key found for this signature in database
GPG Key ID: AA2BB8EF77F7BBDC

@ -292,7 +292,7 @@ static bool handle_view_created(wlc_handle handle) {
if (client) {
// below only works on wayland windows. need a wlc
// api that will work for both wayland and x.
wl_client_get_credentials(client, &pid, NULL, NULL);
pid = wlc_view_get_pid(handle);
if (pid) {
// using newview as a temp storage location here,

Loading…
Cancel
Save