mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05: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:
parent
dcef402d68
commit
acc6c97997
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
||||
2006-08-07 Elijah Newren <newren gmail com>
|
||||
|
||||
Patch from Björn Lindqvist to fix button lighting with dragged
|
||||
|
@ -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! */
|
||||
|
Loading…
Reference in New Issue
Block a user