Re: [PATCH 11/11] spicec: refresh the display after display resize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/24/2013 02:42 PM, Marc-André Lureau wrote:


This appears to be unrelated to the gl checks, same as the nograb fix (excellent). Can you move both to the start of the patchset?
---
  client/display_channel.cpp | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/client/display_channel.cpp b/client/display_channel.cpp
index c9ce3d8..47076ad 100644
--- a/client/display_channel.cpp
+++ b/client/display_channel.cpp
@@ -1278,6 +1278,10 @@ void DisplayChannel::create_canvas(int surface_id, const std::vector<int>& canva
          THROW("create canvas failed");
      }
+ // make sure to refresh the whole display
+    SpiceRect rect = { 0, 0, width, height };
+    invalidate(rect, true);
+
      try {
          if (!_check_diff)
              return;

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]