diff options
author | Balazs Endresz <[email protected]> | 2022-11-01 18:15:22 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2022-11-07 08:47:41 +0000 |
commit | db228e276fd4e7e7b33957d96cba73aaa4166a8d (patch) | |
tree | 076bc6c8c109e037dc88650bbdeeabcddf93641c /doc/creating_themes | |
parent | af731228414c8413dd2666eb5e9e369544dd2886 (diff) | |
download | marco-db228e276fd4e7e7b33957d96cba73aaa4166a8d.tar.bz2 marco-db228e276fd4e7e7b33957d96cba73aaa4166a8d.tar.xz |
Always bring into foreground the previous window after closing one
When opening and then closing certain applications
the focus was correctly regained by the previous window
but it wasn't brought into the foreground.
To fix this we call meta_workspace_focus_default_window() for both NotifyDetailNone and NotifyPointerRoot.
These two are always mentioned together in the X docs:
https://tronche.com/gui/x/xlib/events/input-focus/normal-and-grabbed.html
Some programs will have NotifyDetailNone when closed, while others end up with NotifyPointerRoot.
Diffstat (limited to 'doc/creating_themes')
0 files changed, 0 insertions, 0 deletions