forked from AuroraMiddleware/gtk
csd: Always raise on primary titlebar click
This matches more closely what typical window managers do. Pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1158472
This commit is contained in:
parent
eeb7bff0bb
commit
ac497c6e8f
@ -1457,6 +1457,9 @@ multipress_gesture_pressed_cb (GtkGestureMultiPress *gesture,
|
||||
|
||||
event_widget = gtk_get_event_widget ((GdkEvent*) event);
|
||||
|
||||
if (region == GTK_WINDOW_REGION_TITLE)
|
||||
gdk_window_raise (gtk_widget_get_window (widget));
|
||||
|
||||
switch (region)
|
||||
{
|
||||
case GTK_WINDOW_REGION_CONTENT:
|
||||
|
Loading…
Reference in New Issue
Block a user