def ungrab_hotkey(self, item):
import copy<EOL>newItem = copy.copy(item)<EOL>if item.get_applicable_regex() is None:<EOL><INDENT>self.__enqueue(self.__ungrabHotkey, newItem.hotKey, newItem.modifiers, self.rootWindow)<EOL>if self.__needsMutterWorkaround(item):<EOL><INDENT>self.__enqueue(self.__ungrabRecurse, newItem, self.rootWindow, False)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.__enqueue(self.__ungrabRecurse, newItem, self.rootWindow)<EOL><DEDENT>
Ungrab 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 ungrab from matching windows