e_hwc_windows: unset zoom in case of output mode is presentation 29/271329/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Fri, 11 Feb 2022 07:46:43 +0000 (16:46 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Fri, 18 Feb 2022 02:16:11 +0000 (11:16 +0900)
current presentation mode does not use zoom.

Change-Id: I07c0b6aab21eebc6e44c02dcbcfd29158c5488f9

src/bin/e_hwc_windows.c

index 23c10a5..91402c9 100644 (file)
@@ -4289,7 +4289,7 @@ e_hwc_windows_mirror_unset(E_Hwc *hwc)
    e_hwc_deactive_set(src_hwc, EINA_FALSE);
 
    /* unset the zoom. */
-   if (e_output_display_mode_get(hwc->output) == E_OUTPUT_DISPLAY_MODE_NONE)
+   if (e_output_display_mode_get(hwc->output) != E_OUTPUT_DISPLAY_MODE_MIRROR)
      e_hwc_windows_zoom_unset(hwc);
 
    /* remove mirror_dst list at the src_hwc */