Only update menu state on actual state change.
commitb00832eebfa3e7556a8c7d10d23f52141544ad70
authorBjorn Winckler <bjorn.winckler@gmail.com>
Fri, 19 Oct 2007 20:13:42 +0000 (19 22:13 +0200)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Fri, 19 Oct 2007 20:54:39 +0000 (19 22:54 +0200)
tree83e0ba41fd2462747b49558b15173da75792e7b3
parent711ac911a21c29e630742ee2e89cf88f9bd76e90
Only update menu state on actual state change.

Problem: Menu updates caused noticable delays because every menu item got
updated on state changes.
Solution: Remember old state and only pass update event on to MacVim if the new
state differs from the old one.

Also add .*.swp to .gitignore to ignore Vim swapfiles.
.gitignore
src/MacVim/MMVimController.m
src/MacVim/gui_macvim.m
src/structs.h