diff options
| author | Thomas Holder <thomas@thomas-holder.de> | 2019-08-15 22:20:16 +0000 |
|---|---|---|
| committer | Thomas Holder <thomas@thomas-holder.de> | 2019-08-16 21:27:35 +0000 |
| commit | e9ded04d15ee12fec8c023f2dba95135fceac154 (patch) | |
| tree | 778601d0c462b94c73d275eaa419ac5fbb599d1c /src/widgets/desktop-widget.cpp | |
| parent | Fix a bug in fillet/chamfer LPE pointed in mailing list by Miguel Lopez. Fill... (diff) | |
| download | inkscape-e9ded04d15ee12fec8c023f2dba95135fceac154.tar.gz inkscape-e9ded04d15ee12fec8c023f2dba95135fceac154.zip | |
fix #385 inbox#765 macOS accelerators
- re-fix Cmd-Q confirmation dialog (#383) without the numbers typing regression (#385)
- re-fix Alt modifiers (inbox#765)
- fix Cmd-A select all text (inbox#765)
Diffstat (limited to 'src/widgets/desktop-widget.cpp')
| -rw-r--r-- | src/widgets/desktop-widget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp index 09797dd32..8ccba0319 100644 --- a/src/widgets/desktop-widget.cpp +++ b/src/widgets/desktop-widget.cpp @@ -952,7 +952,9 @@ sp_desktop_widget_realize (GtkWidget *widget) if (osxapp && menushell && window) { menushell->set_parent(*window); gtkosx_application_set_menu_bar(osxapp, menushell->gobj()); - gtkosx_application_set_use_quartz_accelerators(osxapp, true); + // using quartz accelerators gives menu shortcuts priority over everything else, + // messes up text input because Inkscape has single key shortcuts (e.g. 1-6). + gtkosx_application_set_use_quartz_accelerators(osxapp, false); gtkosx_application_set_help_menu(osxapp, _get_help_menu(menushell->gobj())); gtkosx_application_set_window_menu(osxapp, nullptr); } |
