winex11.drv: Fix the Ctrl+Break processing

Dmitry Timoshkov dmitry at codeweavers.com
Tue Jan 19 01:35:14 CST 2010


Ilya Shpigor <shpigor at etersoft.ru> 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.



More information about the wine-devel mailing list