summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-10-27 13:29:22 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-02-22 15:31:25 -0500
commitb23c5264f2dae564fc40d4acc97599fa4d75b472 (patch)
tree7d5db611889e9b8586f31b76548be756347abebb /libs/gtkmm2ext
parent2cc44e76683d6959cdb44891f084da0830b71337 (diff)
change operator<< for Keyboardkey to show state in hex
Diffstat (limited to 'libs/gtkmm2ext')
-rw-r--r--libs/gtkmm2ext/bindings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gtkmm2ext/bindings.cc b/libs/gtkmm2ext/bindings.cc
index d1b0e9cee8..490e7526de 100644
--- a/libs/gtkmm2ext/bindings.cc
+++ b/libs/gtkmm2ext/bindings.cc
@@ -1080,6 +1080,6 @@ ActionMap::get_all_actions (std::vector<std::string>& paths,
std::ostream& operator<<(std::ostream& out, Gtkmm2ext::KeyboardKey const & k) {
char const *gdk_name = gdk_keyval_name (k.key());
- return out << "Key " << k.key() << " (" << (gdk_name ? gdk_name : "no-key") << ") state " << k.state();
+ return out << "Key " << k.key() << " (" << (gdk_name ? gdk_name : "no-key") << ") state " << hex << k.state() << dec;
}