Prevent duplicate grab setting with xwidgets
* src/xwidget.c (xwidget_show_view): Don't set passive grab if already set.
This commit is contained in:
parent
15f8c6b11e
commit
11add52bec
1 changed files with 1 additions and 1 deletions
|
@ -1178,7 +1178,7 @@ xwidget_button_1 (struct xwidget_view *view,
|
|||
if (!target)
|
||||
target = model->widget_osr;
|
||||
|
||||
if (down_p)
|
||||
if (down_p && !view->passive_grab)
|
||||
{
|
||||
view->passive_grab = target;
|
||||
view->passive_grab_destruction_signal
|
||||
|
|
Loading…
Add table
Reference in a new issue