Hi all,

we have an application to record and replay UI interactions to help test our UI applications. We can record keyboard shortcuts as well. To properly record and replay a shortcut, we register its shortcutid and the key sequence of the shortcut. Now we have a very strange problem where the shortcutid differs based on the display we run the application on. For example, say we run our application on display :0, the shortcut id of Alf+F is -16, whereas the shortcut id of Alt+F is -20 when we run the application on display :11.

Any suggestions on what might cause this?