From ededc84c8c7a42e7b871153dbbf9932db84f1c02 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 3 Sep 2015 23:17:57 +0100 Subject: [PATCH] Remove some useless code in remote.cc --- src/remote.cc | 19 ------------------- 1 file changed, 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()); @@ -200,16 +193,6 @@ Color read(int socket) return res; } -template<> -Face read(int socket) -{ - Face res; - res.fg = read(socket); - res.bg = read(socket); - res.attributes = read(socket); - return res; -} - template<> DisplayAtom read(int 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;