diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2006-06-15 18:46:03 +0000 |
---|---|---|
committer | Carlos Garnacho <carlosg@src.gnome.org> | 2006-06-15 18:46:03 +0000 |
commit | 664b8c7b47a97de96b0ef5ddebc22b7aa3483e78 (patch) | |
tree | a81b4304228519915565daeeb35e442fa3122538 /po/gl.po | |
parent | a2972ec4889bd431716b0ae642c416eff5e84181 (diff) | |
download | gtk+-664b8c7b47a97de96b0ef5ddebc22b7aa3483e78.tar.gz |
use gdk_window_get_pointer() to get pointer coordinates, but limit its
2006-06-15 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtknotebook.c (gtk_notebook_motion_notify): use
gdk_window_get_pointer() to get pointer coordinates, but limit its
calls to a maximum of 45 times per second for not being too
CPU/network abusive. stop drag operation if (event->state &
GDK_BUTTON1_MASK) is FALSE to prevent tabs from "adhering" to the
pointer. Fixes bug #341571
(gtk_notebook_calculate_tabs_allocation), (gtk_notebook_button_press):
get rid of the "tab jumps to pointer" sensation when beginning a drag
by using the pointer offset in the tab when the drag begins as an
anchor.
(gtk_notebook_redraw_tabs_union): remove, it wasn't worth the little
performance gain and could draw artifacts under some circumstances.
(gtk_notebook_drag_end): do not reparent the detached tab label until
the animation has ended.
Diffstat (limited to 'po/gl.po')
0 files changed, 0 insertions, 0 deletions