~vanvugt/compiz/fix-1088414

« back to all changes in this revision

Viewing changes to plugins/move/src/move.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:
552
552
        case ClientMessage:
553
553
            if (event->xclient.message_type == Atoms::wmMoveResize)
554
554
            {
555
 
                CompWindow *w;
556
555
                unsigned   long type = (unsigned long) event->xclient.data.l[2];
557
556
 
558
557
                MOVE_SCREEN (screen);
560
559
                if (type == WmMoveResizeMove ||
561
560
                    type == WmMoveResizeMoveKeyboard)
562
561
                {
 
562
                    CompWindow *w;
563
563
                    w = screen->findWindow (event->xclient.window);
564
564
                    if (w)
565
565
                    {