Don't react to clicks in content

This breaks way too many things, and we explicitly trigger
drags from menubars and toolbars, where we want it.
This commit is contained in:
Matthias Clasen 2013-03-21 14:01:33 -04:00
parent 02a0759c5d
commit 69f12b1090

View File

@ -6930,8 +6930,10 @@ gtk_window_button_press_event (GtkWidget *widget,
{
switch (region)
{
case GTK_WINDOW_REGION_TITLE:
case GTK_WINDOW_REGION_CONTENT:
/* do nothing */
break;
case GTK_WINDOW_REGION_TITLE:
case GTK_WINDOW_REGION_EDGE:
gdk_window_begin_move_drag_for_device (gdk_window,
gdk_event_get_device ((GdkEvent *) event),