Skip to content
This repository was archived by the owner on Aug 20, 2020. It is now read-only.

Commit dbce3be

Browse files
Merge pull request #455 from mrobinson/bookmark-bubble
Only send activation events when activation changes
2 parents 553089f + 65c2e26 commit dbce3be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platform/window_manager_wayland.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ void WindowManagerWayland::OnActivationChanged(unsigned windowhandle,
140140
}
141141

142142
if (active) {
143+
if (active_window_ && active_window_ == window)
144+
return;
145+
143146
if (current_capture_) {
144147
event_grabber_ = windowhandle;
145148
return;

0 commit comments

Comments
 (0)