forked from AuroraMiddleware/gtk
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)
|
switch (region)
|
||||||
{
|
{
|
||||||
case GTK_WINDOW_REGION_TITLE:
|
|
||||||
case GTK_WINDOW_REGION_CONTENT:
|
case GTK_WINDOW_REGION_CONTENT:
|
||||||
|
/* do nothing */
|
||||||
|
break;
|
||||||
|
case GTK_WINDOW_REGION_TITLE:
|
||||||
case GTK_WINDOW_REGION_EDGE:
|
case GTK_WINDOW_REGION_EDGE:
|
||||||
gdk_window_begin_move_drag_for_device (gdk_window,
|
gdk_window_begin_move_drag_for_device (gdk_window,
|
||||||
gdk_event_get_device ((GdkEvent *) event),
|
gdk_event_get_device ((GdkEvent *) event),
|
||||||
|
Loading…
Reference in New Issue
Block a user