ignore the root window at XDbgLogSetWindowPixmap 36/27736/1 accepted/tizen_3.0.2014.q3_common tizen_3.0.2014.q3_common accepted/tizen/common/20140923.085158 submit/tizen_common/20140923.012123 tizen_3.0.2014.q3_common_release
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 18 Sep 2014 11:02:35 +0000 (20:02 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 18 Sep 2014 11:02:35 +0000 (20:02 +0900)
Change-Id: I34a24a159853443abe65a909395598c83244efe6

lib/xdbg_log_plist.c

index 6f4b730..ce77e7b 100644 (file)
@@ -386,6 +386,10 @@ XDbgLogSetWindowPixmap (WindowPtr pWin, PixmapPtr pPixmap)
     pScreen->SetWindowPixmap (pWin, pPixmap);
     pScreen->SetWindowPixmap = XDbgLogSetWindowPixmap;
 
+    /* temporary : check the root window and ignore */
+    if (!pParent)
+        return;
+
     if (pPixmap != pScreen->GetWindowPixmap(pParent))
     {
         //Add to window list