432b227874
checked in (request 47794) OBS-URL: https://build.opensuse.org/request/show/47794 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=32
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
Index: mutter-2.29.0/src/core/core.c
|
|
===================================================================
|
|
--- mutter-2.29.0.orig/src/core/core.c
|
|
+++ mutter-2.29.0/src/core/core.c
|
|
@@ -526,6 +526,9 @@ meta_core_get_menu_accelerator (MetaMenu
|
|
|
|
switch (menu_op)
|
|
{
|
|
+ case META_MENU_OP_NONE:
|
|
+ /* No keybindings needed here */
|
|
+ break;
|
|
case META_MENU_OP_DELETE:
|
|
name = "close";
|
|
break;
|
|
Index: mutter-2.29.0/src/include/common.h
|
|
===================================================================
|
|
--- mutter-2.29.0.orig/src/include/common.h
|
|
+++ mutter-2.29.0/src/include/common.h
|
|
@@ -52,6 +52,7 @@ typedef enum
|
|
|
|
typedef enum
|
|
{
|
|
+ META_MENU_OP_NONE = 0,
|
|
META_MENU_OP_DELETE = 1 << 0,
|
|
META_MENU_OP_MINIMIZE = 1 << 1,
|
|
META_MENU_OP_UNMAXIMIZE = 1 << 2,
|
|
Index: mutter-2.29.0/src/core/window.c
|
|
===================================================================
|
|
--- mutter-2.29.0.orig/src/core/window.c
|
|
+++ mutter-2.29.0/src/core/window.c
|
|
@@ -7157,7 +7157,7 @@ menu_callback (MetaWindowMenu *menu,
|
|
meta_window_shove_titlebar_onscreen (window);
|
|
break;
|
|
|
|
- case 0:
|
|
+ case META_MENU_OP_NONE:
|
|
/* nothing */
|
|
break;
|
|
|