On Mi, 2014-04-02 at 11:07 -0400, Cole Robinson wrote:
> +    if (button->button == 1 &&
> +        button->type == GDK_BUTTON_PRESS &&
> +        !gd_is_grab_active(s) &&
> +        !qemu_input_is_absolute()) {
> +
> gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(s->grab_item),
> +                                       TRUE);
> +        return TRUE;
> +    }

Looks sane on a quick glance (as replacement for patch #4 of Takashi's
patch series).  Didn't test yet.

cheers,
  Gerd



Reply via email to