Remove some useless code in remote.cc

This commit is contained in:
Maxime Coste 2015-09-03 23:17:57 +01:00
parent f81e5593db
commit ededc84c8c

View File

@ -105,13 +105,6 @@ public:
} }
} }
void write(Face face)
{
write(face.fg);
write(face.bg);
write(face.attributes);
}
void write(const DisplayAtom& atom) void write(const DisplayAtom& atom)
{ {
write(atom.content()); write(atom.content());
@ -200,16 +193,6 @@ Color read<Color>(int socket)
return res; return res;
} }
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<> template<>
DisplayAtom read<DisplayAtom>(int socket) DisplayAtom read<DisplayAtom>(int socket)
{ {
@ -379,8 +362,6 @@ void RemoteUI::set_ui_options(const Options& options)
msg.write(options); msg.write(options);
} }
static const Key::Modifiers resize_modifier = (Key::Modifiers)0x80;
bool RemoteUI::is_key_available() bool RemoteUI::is_key_available()
{ {
timeval tv; timeval tv;