diff options
author | Marcel Hollerbach <marcel@osg.samsung.com> | 2022-01-06 20:57:38 +0100 |
---|---|---|
committer | Marcel Hollerbach <marcel@osg.samsung.com> | 2022-01-06 20:57:38 +0100 |
commit | 2d86d75139c40e7365e34880b0e3b56f248b0e41 (patch) | |
tree | 0e45ad5aa054dc8d5ae0af340c22b3efbfc3a50c /src/bin/e_widget_check.h | |
parent | e2e1b1956d9a2fb25224d4c5cc44a1ae70409c86 (diff) | |
download | enlightenment-2d86d75139c40e7365e34880b0e3b56f248b0e41.tar.gz |
e_client: revert focus instead of setting it to NULL
When closing a client a few different things can happen:
1. Client hides, this will destroy the e_client object, which will
reverts focus to another client.
2. Client hook del, this will recover focus to the root window if no
e_client is focused.
3. Client unfocus event, setted the focused to NULL and sets the focus field to 0.
when first 1 happens then 2 or 3 everything is fine. However, it seems
that sometimes first 3 happend, then 2, then 1. Which results in focus
beeing first NULL, then recovered to the root window, resulting in the
wrong things happening.
Diffstat (limited to 'src/bin/e_widget_check.h')
0 files changed, 0 insertions, 0 deletions