Ilya Shpigor <[email protected]> wrote:

> +    /* Ctrl+Break processing */
> +    if ((e->state & ControlMask) &&
> +        (e->keycode == 0x7F))
> +        return VK_CANCEL;

It's always a good idea to provide some details. Like:

pressing the Pause/Break key alone produces VK_PAUSE vkey, while
pressing Ctrl+Pause/Break produces VK_CANCEL under Windows, but
not under Wine.

Ilya, it's better to use a keysym instead of keycode, and add an
explanation in the source as well as in the patch comment.

-- 
Dmitry.


Reply via email to