e_client: check buffer_flush flag in e_client_uniconify 19/265419/3
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 18 Oct 2021 06:10:41 +0000 (15:10 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 19 Oct 2021 05:48:24 +0000 (14:48 +0900)
commit5a82d12a3c70aace1d94bc08a1fc376b505ce5c7
tree7c0aa453a04d2fddecd146dabd73447158a176d9
parentbc7d7a498b958d6468c69ee5fb4532d8397562ec
e_client: check buffer_flush flag in e_client_uniconify

There was a bug that the visibility toggled on/off as below scenario.
1. WinA set buffer_flush and deiconify_update to 0.
2. WinA attached Null buffer.
3. Turn off the screen.
4. Turn on the screen.
5. WinA's visibility was toggled on and off continuously

This was because we didn't consider buffer_flush and deiconify_update states in
e_client_uniconify.
So, we add code to check the window's buffer_flush and deiconify_update state.
If those values are set to all 0, then e shows the window in e_client_uniconify.

Change-Id: I32e030689c04608510783df367d9c30657e8777b
src/bin/e_client.c