Hong Xu wrote:

> >> I think I have fixed this problem. The attachment is the patch. The
> >> reason is that when gtk_menu_popup is called, its last parameter is
> >> not passed in the correct time stamp but GDK_CURRENT_TIME. I fixed
> >> this by adding a global varible, which is ugly, I think. Is there a
> >> better way to pass the time stamp?
> >
> > Perhaps we should rename clipboard_event_time to gtk_event_time and move
> > it to globals.h.
> 
> 
> Hello Bram,
> 
> I add a "event_time" field to the gui structure instead of a
> gtk_event_time global
> varible. I think this would be better.

Agreed.

-- 
hundred-and-one symptoms of being an internet addict:
186. You overstay in the office so you can have more time surfing the net.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui