diff options
author | raveit65 <[email protected]> | 2019-04-23 18:33:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-04-24 14:23:03 +0200 |
commit | b4bf3cc6e1a121230812113d6dad9b734109db7f (patch) | |
tree | f4da7956513696bd3d23e91b483d877b74a72c38 /src/core | |
parent | 6a18687be0037b1a203c1e8630918f1143fbbe6a (diff) | |
download | marco-b4bf3cc6e1a121230812113d6dad9b734109db7f.tar.bz2 marco-b4bf3cc6e1a121230812113d6dad9b734109db7f.tar.xz |
window: set atom__NET_WM_STATE_FOCUSED for meta_window_appears_focused
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c index af028c3e..073a9241 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -1322,7 +1322,7 @@ set_net_wm_state (MetaWindow *window) data[i] = window->display->atom__NET_WM_STATE_STICKY; ++i; } - if (window->has_focus) + if (meta_window_appears_focused (window)) { data[i] = window->display->atom__NET_WM_STATE_FOCUSED; ++i; |