Merge ~mitya57/compiz:lp1986681-jammy into compiz:jammy

Proposed by Alberts Muktupāvels
Status: Merged
Approved by: Dmitry Shachnev
Approved revision: 73825d5b3091842032ac36f059cda25e47a56098
Merged at revision: 3e02698e8c8cc898308f5864c61d22ad18e1dcbc
Proposed branch: ~mitya57/compiz:lp1986681-jammy
Merge into: compiz:jammy
Diff against target: 12 lines (+1/-1)
1 file modified
src/event.cpp (+1/-1)
Reviewer Review Type Date Requested Status
Compiz Maintainers Pending
Review via email: mp+428624@code.launchpad.net

Commit message

event: use correct window when deciding if it should appear focused. Patch by Alberts Muktupāvels

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/src/event.cpp b/src/event.cpp
2index 82fd49e..9e67a9e 100644
3--- a/src/event.cpp
4+++ b/src/event.cpp
5@@ -2277,7 +2277,7 @@ static const unsigned short _NET_WM_STATE_TOGGLE = 2;
6 }
7 }
8
9- active->changeState (active->focused () || (w->type () & APPEARS_FOCUSED_MASK) ?
10+ active->changeState (active->focused () || (active->type () & APPEARS_FOCUSED_MASK) ?
11 active->state () | CompWindowStateFocusedMask :
12 active->state () & ~CompWindowStateFocusedMask);
13

Subscribers

People subscribed via source and target branches