Skip to content

Commit

Permalink
window: set atom__NET_WM_STATE_FOCUSED for meta_window_appears_focused
Browse files Browse the repository at this point in the history
  • Loading branch information
raveit65 committed Apr 24, 2019
1 parent 6a18687 commit b4bf3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b4bf3cc

Please sign in to comment.