forked from AuroraMiddleware/gtk
wayland: Only 'moved-to-rect' if move_to_rect() was used
Don't emit the 'moved-to-rect' signal if move_to_rect() was used. https://bugzilla.gnome.org/show_bug.cgi?id=771516
This commit is contained in:
parent
13e00b70c0
commit
f7c0661a61
@ -1509,6 +1509,9 @@ xdg_popup_configure (void *data,
|
||||
|
||||
g_return_if_fail (impl->transient_for);
|
||||
|
||||
if (impl->position_method != POSITION_METHOD_MOVE_TO_RECT)
|
||||
return;
|
||||
|
||||
calculate_moved_to_rect_result (window, x, y, width, height,
|
||||
&flipped_rect,
|
||||
&final_rect,
|
||||
|
Loading…
Reference in New Issue
Block a user