diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-09-03 23:17:57 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-09-03 23:17:57 +0100 |
| commit | ededc84c8c7a42e7b871153dbbf9932db84f1c02 (patch) | |
| tree | 529e7e0b95b0412c38fee278b35a5488db47764b /src/remote.cc | |
| parent | f81e5593db15845a585c3ffef00d03ba03a8c51d (diff) | |
Remove some useless code in remote.cc
Diffstat (limited to 'src/remote.cc')
| -rw-r--r-- | src/remote.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/remote.cc b/src/remote.cc index 45f2647a..fd043f9a 100644 --- a/src/remote.cc +++ b/src/remote.cc @@ -105,13 +105,6 @@ public: } } - void write(Face face) - { - write(face.fg); - write(face.bg); - write(face.attributes); - } - void write(const DisplayAtom& atom) { write(atom.content()); @@ -201,16 +194,6 @@ Color read<Color>(int socket) } template<> -Face read<Face>(int socket) -{ - Face res; - res.fg = read<Color>(socket); - res.bg = read<Color>(socket); - res.attributes = read<Attribute>(socket); - return res; -} - -template<> DisplayAtom read<DisplayAtom>(int socket) { DisplayAtom atom(read<String>(socket)); @@ -379,8 +362,6 @@ void RemoteUI::set_ui_options(const Options& options) msg.write(options); } -static const Key::Modifiers resize_modifier = (Key::Modifiers)0x80; - bool RemoteUI::is_key_available() { timeval tv; |
