mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -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
|
||||
|
@ -1274,10 +1274,15 @@ meta_frames_button_press_event (GtkWidget *widget,
|
||||
break;
|
||||
|
||||
case META_ACTION_DOUBLE_CLICK_TITLEBAR_MINIMIZE:
|
||||
{
|
||||
flags = meta_core_get_frame_flags (gdk_display, frame->xwindow);
|
||||
|
||||
if (flags & META_FRAME_ALLOWS_MINIMIZE)
|
||||
{
|
||||
meta_core_minimize (gdk_display, frame->xwindow);
|
||||
break;
|
||||
}
|
||||
}
|
||||
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