user32: Set correct caret state in the server in SetCaretPos (try 2)

Alexandre Julliard julliard at winehq.org
Thu Dec 24 08:05:35 CST 2015


Anton Baskanov <baskanov at gmail.com> writes:

> @@ -2977,7 +2977,8 @@ enum coords_relative
>      int            x;             /* caret x position */
>      int            y;             /* caret y position */
>      int            hide;          /* increment for hide count (can be negative to show it) */
> -    int            state;         /* caret state (1=on, 0=off, -1=toggle current state) */
> +    int            state;         /* caret state (1=on, 0=off, -1=toggle current state,
> +                                   * -2=on if the position differs, unchanged otherwise) */

Please define constants instead.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list