| 73 | }; |
| 74 | |
| 75 | XModifierKey::XModifierKey(const guint& associated_gdk_key, |
| 76 | const GdkModifierType& gdk_mod, |
| 77 | const guint32& stored_state) : |
| 78 | toggle_(stored_state & gdk_mod), associated_key_(associated_gdk_key), gdk_mod_mask_(gdk_mod) |
| 79 | { |
| 80 | LOG(DEBUG) << "Restored state for " << gdk_mod_mask_ << " : " << toggle_; |
| 81 | } |
| 82 | |
| 83 | bool XModifierKey::KeyMatches(const guint a_key) const |
| 84 | { |