diff options
author | Uri Lublin <uril@redhat.com> | 2011-12-13 17:09:58 +0200 |
---|---|---|
committer | Uri Lublin <uril@redhat.com> | 2011-12-21 19:58:29 +0200 |
commit | ba56fc466123432ea5badb3611f3a80761ea6e24 (patch) | |
tree | 821413d61dc51a02dcf752a8c8d7f11b08c45efb /python_modules/demarshal.py | |
parent | bfa16699aa4c9a8e858c9539eadc6687444d4d69 (diff) | |
download | spice-ba56fc466123432ea5badb3611f3a80761ea6e24.tar.gz spice-ba56fc466123432ea5badb3611f3a80761ea6e24.tar.xz spice-ba56fc466123432ea5badb3611f3a80761ea6e24.zip |
client: foreign-menu: pass "active" param when creating a ForeignMenu (#769020)
The default stays the same -- false.
A race could prevent setting ForeignMenu::_active correctly.
That happened when Application::on_app_activated was called before
_foriegn_menu was created. When foriegn_menu was created its
_active defaults to false, and that has not changed, until focus
was taken out and back in spice-client window.
This caused usbrdr to sometimes not auto-share devices, unless
the user switched focus to a different application and back to
spicec.
The fix updates ForiegnMenu::_active upon creation.
(cherry picked from commit fdcef173645e564be71f1b73d476c0716e91663d)
Diffstat (limited to 'python_modules/demarshal.py')
0 files changed, 0 insertions, 0 deletions