I found a patch from about 3 years ago for implementing RegisterHotKey and UnregisterHotKey. I've updated it to apply to the current wine source tree and essentially copied what metacity does to cover any missing functionality.
The original patch is here: http://www.winehq.com/hypermail/wine-devel/2003/02/0636.html
Unfortunately, trying to register an in-use hotkey with this patch causes a crash:
X Error of failed request: BadAccess (attempt to access private resource denied) Major opcode of failed request: 33 (X_GrabKey) Serial number of failed request: 58 Current serial number in output stream: 62
RegisterHotKey is implemented as if XGrabKey returns 0 if it fails. Do I need to do something special to "watch" for the error?
-- Vincent Povirk aka MadEwokHerd Primary email: madewokherd@gmail.com Secondary email: madewokherd@comcast.net Tertiary email: vrp5000@psu.edu Jabber: madewokherd@jabber.org