e_comp_wl: Clear input region after use 44/318344/1
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 16 Jan 2025 01:21:12 +0000 (10:21 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 16 Jan 2025 01:49:38 +0000 (10:49 +0900)
This is to silence noise made every commit.
By clearing input region after use, we can suppress the noise.

Change-Id: I752d8a8071f0376e411f2d469ba0f3dc7785a875

src/bin/server/e_comp_wl.c

index 8d4e085e3390b9878f97a00cda31e60fa4e0aff1..0eedee3d29e745f6d1ab2210ecd812c14a308fca 100644 (file)
@@ -2833,6 +2833,10 @@ _e_comp_wl_client_input_region_update(E_Client *ec)
    pixman_region32_init(&region);
 
    pixman_region32_intersect_rect(&region, input_region, 0, 0, sw, sh);
+   /* NOTE: To silence noise made every commit time.
+    * It may get removed if we check whether input region is changed or not.
+    */
+   pixman_region32_clear(input_region);
    if (pixman_region32_not_empty(&region))
      {
         E_Input_Thread_Request_EClient_Data ec_data;