Author: vuntz
Date: 2007-11-11 22:14:15 +0000 (Sun, 11 Nov 2007)
New Revision: 1510
ViewCVS link: http://svn.gnome.org/viewcvs/libwnck?rev=1510&view=rev

Modified:
   trunk/ChangeLog
   trunk/libwnck/tasklist.c
Log:
2007-11-11  Vincent Untz  <[EMAIL PROTECTED]>

        Activate the window when the user drags and drops it quickly on
        itself. "Quickly" is defined by gtk-double-click-time.
        Based on patch by Jan Niklas Hasse <[EMAIL PROTECTED]>
        Fix bug #460403.

        * libwnck/tasklist.c: add a new drag_start_time field per tasklist
        (wnck_tasklist_init): initialize the new field
        (wnck_task_popup_menu): connect to drag_end
        (wnck_task_drag_begin): set drag_start_time too
        (wnck_task_drag_end): (new) reset drag_start_time to 0
        (wnck_task_drag_data_received): if the found window is the same as the
        dragged one, then check if it was dropped quickly. If yes, then
        activate it and make the drag and drop a success
        (wnck_task_create_widgets): connect to drag end


_______________________________________________
SVN-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Reply via email to