~ubuntu-branches/ubuntu/utopic/inkscape/utopic-proposed

« back to all changes in this revision

Viewing changes to src/desktop.cpp

Tags: upstream-0.48.0
ImportĀ upstreamĀ versionĀ 0.48.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
636
636
        event_context = next;
637
637
    }
638
638
 
639
 
    // The event_context will be null. This means that it will be impossible
640
 
    // to process any event invoked by the lines below. See for example bug
641
 
    // LP #622350. Cutting and undoing again in the node tool resets the event
642
 
    // context to the node tool. In this bug the line bellow invokes GDK_LEAVE_NOTIFY
643
 
    // events which cannot be handled and must be discarded.
644
639
    ec = sp_event_context_new (type, this, config, SP_EVENT_CONTEXT_STATIC);
645
640
    ec->next = event_context;
646
641
    event_context = ec;
647
 
    // Now the event_context has been set again and we can process all events again
648
642
    sp_event_context_activate (ec);
649
643
    _event_context_changed_signal.emit (this, ec);
650
644
}
1373
1367
void
1374
1368
SPDesktop::updateNow()
1375
1369
{
1376
 
    sp_canvas_update_now(canvas);
 
1370
  sp_canvas_update_now(canvas);
1377
1371
}
1378
1372
 
1379
1373
void