mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
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:
parent
02a0759c5d
commit
69f12b1090
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user