Closed KotoWhiskas closed 3 years ago
Works on GTK applications with this. It just needs some further testing.
XTestFakeButtonEvent(display, button, True, CurrentTime);
XFlush(display);
usleep(1);
XTestFakeButtonEvent(display, button, False, CurrentTime);
XFlush(display);
Should work now :)
It doesn't work with applications like nautilus or, for example, games, developed by gnome