[Spice-devel] [PATCH] client: RedScreen::RedScreen: fix initialization order of _menu_needs_update

Uri Lublin uril at redhat.com
Thu Dec 22 00:54:57 PST 2011


Related to a91b0b3ff712eb2a7d91a951f2af7842495357c3
---
 client/screen.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/client/screen.cpp b/client/screen.cpp
index 0b3ba6f..a0dc0df 100644
--- a/client/screen.cpp
+++ b/client/screen.cpp
@@ -87,6 +87,7 @@ RedScreen::RedScreen(Application& owner, int id, const std::string& name, int wi
     , _key_interception (false)
     , _update_by_timer (true)
     , _size_locked (false)
+    , _menu_needs_update (false)
     , _forec_update_timer (0)
     , _update_timer (new UpdateTimer(this))
     , _composit_area (NULL)
@@ -100,7 +101,6 @@ RedScreen::RedScreen(Application& owner, int id, const std::string& name, int wi
     , _mouse_captured (false)
     , _active_layer_change_event (false)
     , _pointer_on_screen (false)
-    , _menu_needs_update (false)
 {
     region_init(&_dirty_region);
     set_name(name);
-- 
1.7.1



More information about the Spice-devel mailing list