Merge ~muktupavels/compiz:update-struts into compiz:master

Proposed by Alberts Muktupāvels
Status: Approved
Approved by: Dmitry Shachnev
Approved revision: 5dd1761916a4493e0ee9c00871146ae1236bda8e
Proposed branch: ~muktupavels/compiz:update-struts
Merge into: compiz:master
Diff against target: 40 lines (+0/-8)
1 file modified
src/window.cpp (+0/-8)
Reviewer Review Type Date Requested Status
Compiz Maintainers Pending
Review via email: mp+434957@code.launchpad.net
To post a comment you must log in.

Unmerged commits

5dd1761... by Alberts Muktupāvels

window: remove stray assignments

hasNew is already set to true.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/src/window.cpp b/src/window.cpp
2index 10f0eea..17412be 100644
3--- a/src/window.cpp
4+++ b/src/window.cpp
5@@ -1081,8 +1081,6 @@ CompWindow::updateStruts ()
6 newStrut.left.y = y;
7 newStrut.left.width = width;
8 newStrut.left.height = height;
9-
10- hasNew = true;
11 }
12 else if (x + width == geometry.x () + geometry.width ())
13 {
14@@ -1090,8 +1088,6 @@ CompWindow::updateStruts ()
15 newStrut.right.y = y;
16 newStrut.right.width = width;
17 newStrut.right.height = height;
18-
19- hasNew = true;
20 }
21 }
22 else
23@@ -1102,8 +1098,6 @@ CompWindow::updateStruts ()
24 newStrut.top.y = y;
25 newStrut.top.width = width;
26 newStrut.top.height = height;
27-
28- hasNew = true;
29 }
30 else if (y + height == geometry.y () + geometry.height ())
31 {
32@@ -1111,8 +1105,6 @@ CompWindow::updateStruts ()
33 newStrut.bottom.y = y;
34 newStrut.bottom.width = width;
35 newStrut.bottom.height = height;
36-
37- hasNew = true;
38 }
39 }
40 }

Subscribers

People subscribed via source and target branches