~vanvugt/compiz/fix-1088414

« back to all changes in this revision

Viewing changes to plugins/resize/src/logic/src/resize-logic.cpp

Reduced the scope of various variables.

Approved by Daniel van Vugt, Sam Spilsbury.

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
        case ClientMessage:
133
133
            if (event->xclient.message_type == Atoms::wmMoveResize)
134
134
            {
135
 
                CompWindowInterface *w;
136
135
                unsigned long       type = event->xclient.data.l[2];
137
136
 
138
137
                if (type <= WmMoveResizeSizeLeft ||
139
138
                    type == WmMoveResizeSizeKeyboard)
140
139
                {
 
140
                    CompWindowInterface *w;
141
141
                    w = mScreen->findWindow (event->xclient.window);
142
142
                    if (w)
143
143
                    {