1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-29 01:24:52 +03:00

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)
{
write(atom.content());
@ -200,16 +193,6 @@ Color read<Color>(int socket)
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<>
DisplayAtom read<DisplayAtom>(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;