diff options
author | culot <culot@FreeBSD.org> | 2014-03-12 05:24:59 +0800 |
---|---|---|
committer | culot <culot@FreeBSD.org> | 2014-03-12 05:24:59 +0800 |
commit | 5d2367ae581b0263527bd9fbaf6cfce5897cf270 (patch) | |
tree | ce4fb2d5be71242c1d75f1a8695a60b653e59a16 /textproc/ibus/files | |
parent | c42220ce9869696b7a7ee2d5bf94acb84e7e8d2c (diff) | |
download | freebsd-ports-gnome-5d2367ae581b0263527bd9fbaf6cfce5897cf270.tar.gz freebsd-ports-gnome-5d2367ae581b0263527bd9fbaf6cfce5897cf270.tar.zst freebsd-ports-gnome-5d2367ae581b0263527bd9fbaf6cfce5897cf270.zip |
- Add patches forgotten in previous commit
Reported by: Henry Hu <henry.hu.sh@gmail.com> (maintainer)
Pointyhat to: culot@
Diffstat (limited to 'textproc/ibus/files')
-rw-r--r-- | textproc/ibus/files/extra-xigrabkeycode | 29 | ||||
-rw-r--r-- | textproc/ibus/files/ibus.desktop | 13 |
2 files changed, 42 insertions, 0 deletions
diff --git a/textproc/ibus/files/extra-xigrabkeycode b/textproc/ibus/files/extra-xigrabkeycode new file mode 100644 index 000000000000..ed0d9723e595 --- /dev/null +++ b/textproc/ibus/files/extra-xigrabkeycode @@ -0,0 +1,29 @@ +--- ui/gtk3/keybindingmanager.vala.orig 2014-02-03 14:11:48.000000000 -0500 ++++ ui/gtk3/keybindingmanager.vala 2014-02-03 14:12:18.000000000 -0500 +@@ -35,6 +35,8 @@ + Gdk.ModifierType.HYPER_MASK | + Gdk.ModifierType.META_MASK); + ++ public static const int META_CORE_KEYBOARD_ID = 3; ++ + /** + * Helper class to store keybinding + */ +@@ -254,7 +256,7 @@ + XI.set_mask(evmask.mask, XI.EventType.KeyRelease); + + int retval = XI.grab_keycode (xdisplay, +- XI.AllMasterDevices, ++ META_CORE_KEYBOARD_ID, + keycode, + xdisplay.default_root_window(), + X.GrabMode.Async, +@@ -275,7 +277,7 @@ + } + + int retval = XI.ungrab_keycode (xdisplay, +- XI.AllMasterDevices, ++ META_CORE_KEYBOARD_ID, + keycode, + xdisplay.default_root_window(), + get_grab_modifiers(modifiers)); diff --git a/textproc/ibus/files/ibus.desktop b/textproc/ibus/files/ibus.desktop new file mode 100644 index 000000000000..99c049f2272f --- /dev/null +++ b/textproc/ibus/files/ibus.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Name=IBus +GenericName=Input Method Framework +Comment=Start IBus Input Method Framework +Exec=ibus-daemon --xim +Icon=ibus +Terminal=false +Type=Application +Categories=System;Utility; +X-GNOME-Autostart-Phase=Applications +X-GNOME-AutoRestart=false +X-GNOME-Autostart-Notify=true +X-KDE-autostart-after=panel |