simonzack/urxvt-tabbed — pull request #2 by livibetter (2014-01-19 12:59:04+00:00)
Title: add keys for move current tab, fix key press check

I am not familiar with Gtk and its notebook, so I might have done something unnecessary to arrange the current tab. You might need to check to see if there is simpler way to move the tab around.

The following is the commit message:

Note that the key checking would cause confusion when with `Ctrl + Shift` and `Ctrl` at the same time. The bitwise operation and the final check would always in favor of `Ctrl` case since `Ctrl + Shift` & `Ctrl` == `Ctrl`.

This would render other more complex keybinding case useless if simpler case is checked before those.

So, I simply remove the `&` with mask and only do `==`.