summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-04-23 18:33:10 +0200
committerlukefromdc <[email protected]>2019-04-23 18:39:30 +0000
commitc1f37cbc48d9f781bfb029ad40c0f0ed6689ac92 (patch)
tree572f046ea9eb033445aadd6c5e900008fd0de21b /src/core
parent399303b604ada334aeecc4e866dd5ecf2ebca336 (diff)
downloadmarco-c1f37cbc48d9f781bfb029ad40c0f0ed6689ac92.tar.bz2
marco-c1f37cbc48d9f781bfb029ad40c0f0ed6689ac92.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c
index b9261d32..620b3a2d 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;