~ubuntu-branches/ubuntu/maverick/vim/maverick

« back to all changes in this revision

Viewing changes to src/gui.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-26 13:42:18 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080626134218-703edeyb8k70qpbz
Tags: 1:7.1.314-3ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Enable detection of GNU screen as a mouse-capable terminal.
  - Add NoDisplay=true to gvim.desktop.
  - Drop vim-lesstif package and lesstif2-dev build-dependency.
  - Build-depend on libxt-dev.
  - Enable Python interpreter on basic builds.
  - Create a .pot file for translations.
  - Disable autoindent, line-wrapping, and backup files by default.
* Fixes various vulnerabilities due to improper quoting of 'execute'
  arguments (LP: #240216).
* Drop fixes for upgrade problems from Ubuntu 6.06 LTS; direct upgrades
  from 6.06 to 8.10 will not be supported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4855
4855
{
4856
4856
    update_topline();
4857
4857
    validate_cursor();
 
4858
#ifdef FEAT_AUTOCMD
 
4859
    /* Trigger CursorMoved if the cursor moved. */
 
4860
    if (!finish_op && has_cursormoved()
 
4861
            && !equalpos(last_cursormoved, curwin->w_cursor))
 
4862
    {
 
4863
        apply_autocmds(EVENT_CURSORMOVED, NULL, NULL, FALSE, curbuf);
 
4864
        last_cursormoved = curwin->w_cursor;
 
4865
    }
 
4866
#endif
4858
4867
    update_screen(0);   /* may need to update the screen */
4859
4868
    setcursor();
4860
4869
    out_flush();                /* make sure output has been written */