def grab_hotkey(self, item):
if item.get_applicable_regex() is None:<EOL><INDENT>self.__enqueue(self.__grabHotkey, item.hotKey, item.modifiers, self.rootWindow)<EOL>if self.__needsMutterWorkaround(item):<EOL><INDENT>self.__enqueue(self.__grabRecurse, item, self.rootWindow, False)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.__enqueue(self.__grabRecurse, item, self.rootWindow)<EOL><DEDENT>
Grab a hotkey.

If the hotkey has no filter regex, it is global and is grabbed recursively from the root window
If it has a filter regex, iterate over all children of the root and grab from matching windows