Remove some useless code in remote.cc
This commit is contained in:
parent
f81e5593db
commit
ededc84c8c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user