mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-07 15:19:56 +09:00
Prevent focused application from receiving global hotkey keys on wayland as well (massive hack)
This commit is contained in:
@@ -24,7 +24,7 @@ bool hotplug_event_init(hotplug_event *self) {
|
||||
if(fd == -1)
|
||||
return false; /* Not root user */
|
||||
|
||||
if(bind(fd, (void *)&nls, sizeof(struct sockaddr_nl))) {
|
||||
if(bind(fd, (void*)&nls, sizeof(struct sockaddr_nl))) {
|
||||
close(fd);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user