mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
handlebox mods
This commit is contained in:
parent
73e9b6b205
commit
05cf0f3203
@ -29,6 +29,7 @@ libgtk_la_SOURCES = \
|
||||
gtkframe.c \
|
||||
gtkgamma.c \
|
||||
gtkgc.c \
|
||||
gtkhandlebox.c \
|
||||
gtkhbbox.c \
|
||||
gtkhbox.c \
|
||||
gtkhpaned.c \
|
||||
|
@ -270,6 +270,7 @@ static gint gtk_handle_box_motion (GtkWidget *widget,
|
||||
|
||||
hb = GTK_HANDLE_BOX(widget);
|
||||
if(hb->is_being_dragged) {
|
||||
|
||||
gdk_window_move(widget->window, event->x_root - event->x,
|
||||
event->y_root - event->y);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user