Commit 0054e6da authored by Wim Taymans's avatar Wim Taymans
Browse files

pad: store the received result from _foreach

If the foreach function changes the received state of the sticky event, make
sure we remember that.
parent a8058183
......@@ -493,6 +493,9 @@ restart:
goto restart;
}
/* store the received state */
ev->received = ev_ret.received;
/* if the event changed, we need to do something */
if (G_UNLIKELY (ev->event != ev_ret.event)) {
if (G_UNLIKELY (ev_ret.event == NULL)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment