Created
July 19, 2017 08:27
-
-
Save 1e4/9987d3f91984ae16393dadd27d490d0f to your computer and use it in GitHub Desktop.
Razer taking over focus for no reason!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from AppKit import NSWorkspace | |
import time | |
t = range(1,100) | |
for i in t: | |
time.sleep(3) | |
activeAppName = NSWorkspace.sharedWorkspace().activeApplication()['NSApplicationName'] | |
print activeAppName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ever since I first started working on a mac almost 8 months ago, Razer software has sucked. It repeatedly steals focus, or should I say instead it loses focus on whatever you window you have open.
The code above prints out the following for me
![Output]
(https://storage.jumpshare.com/preview/R0xYmEKnTJOwDBCPaw_cZZKX5uZ-jODsbBLR8JwgtTwNNhqDjdhJ5zpbuJ6x07GaHGSI2SowkDkkb0jr6UKOId0Iq-_ZMIwlJNqsu6s4bO0F1kR3dMUjedqC16uBUu85)
This needs to be addressed,
Other occurrences that are known about
https://insider.razerzone.com/index.php?threads/rzupdater-process-steals-focus-on-os-x-sierra.18081/
For a temp fix you have to close RzDeviceEngine and RzUpdater, optionally restarting your mac.
Submitting tickets is pointless, clicking that 'gear' icon is also useless. The only advice I've ever got is 'Reinstall'. Fix your shit.. please.