mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
Patch from Chris Ball to not minimize in response to double clicks on the
2006-08-07 Elijah Newren <newren gmail com> * src/frames.c (meta_frames_button_press_event): Patch from Chris Ball to not minimize in response to double clicks on the titlebar when minimiziation should not be allowed. #347377
This commit is contained in:

committed by
Elijah Newren

parent
dcef402d68
commit
acc6c97997
@ -1275,9 +1275,14 @@ meta_frames_button_press_event (GtkWidget *widget,
|
||||
|
||||
case META_ACTION_DOUBLE_CLICK_TITLEBAR_MINIMIZE:
|
||||
{
|
||||
meta_core_minimize (gdk_display, frame->xwindow);
|
||||
break;
|
||||
flags = meta_core_get_frame_flags (gdk_display, frame->xwindow);
|
||||
|
||||
if (flags & META_FRAME_ALLOWS_MINIMIZE)
|
||||
{
|
||||
meta_core_minimize (gdk_display, frame->xwindow);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case META_ACTION_DOUBLE_CLICK_TITLEBAR_NONE:
|
||||
/* Yaay, a sane user that doesn't use that other weird crap! */
|
||||
|
Reference in New Issue
Block a user