Skip to content

highgui(gtk): fix onmouse event flags#21330

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:fix_highgui_gtk_mouse_callbacks
Dec 23, 2021
Merged

highgui(gtk): fix onmouse event flags#21330
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:fix_highgui_gtk_mouse_callbacks

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Dec 23, 2021

flags doesn't pass CV_EVENT_FLAG_LBUTTON / CV_EVENT_FLAG_MBUTTON / CV_EVENT_FLAG_RBUTTON press modifiers during the mouse movement.

Test example: samples/python/find_obj.py


broken since #20253

Reference: https://docs.gtk.org/gtk3/func.accelerator_get_default_mod_mask.html

The modifier mask determines which modifiers are considered significant for keyboard accelerators.

@alalek
Copy link
Copy Markdown
Member Author

alalek commented Dec 23, 2021

/cc @rogday @DumDereDum

@DumDereDum
Copy link
Copy Markdown
Member

DumDereDum commented Dec 23, 2021

Checked

Details

fix

@alalek
Copy link
Copy Markdown
Member Author

alalek commented Dec 23, 2021

👍

@opencv-pushbot opencv-pushbot merged commit b12c2c7 into opencv:3.4 Dec 23, 2021
This was referenced Dec 24, 2021
@alalek alalek mentioned this pull request Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants