system-controller: ignore possibly possibly spurious surface removal events
authorJanos Kovacs <jankovac503@gmail.com>
Wed, 10 Sep 2014 19:02:39 +0000 (22:02 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:17 +0000 (18:37 +0200)
Change-Id: I3a159ccff5dac404a21354f6ae352a1df1ac45f7

src/plugins/system-controller/wayland/glm-window-manager.c

index 2866266..cdc5b86 100644 (file)
@@ -1074,7 +1074,9 @@ static void surface_added_to_layer_callback(void *data,
 
     if (!ctrl_layer) {
         /* surface is removed from a layer */
+#if 0   /* silently ignore the removal */
         sf->layerid = -1;
+#endif
         return;  /* do not send notification of removal for the time being */
     }
     else {