Re-enable client keys (make client_add_key work again)

This commit is contained in:
ddouthitt
2001-10-12 04:35:26 +00:00
parent c13f75bcaa
commit 8df79efc98
+20 -20
View File
@@ -134,27 +134,27 @@ handle_input ()
} }
// if the current screen doesn't want it, // if the current screen doesn't want it,
// ignore the key... // let the server have it...
// else { else {
// // Give key to clients who want it // Give key to clients who want it
//
// c = FirstClient(clients); c = FirstClient(clients);
//
// while (c) { while (c) {
// // If the client should have this keypress... // If the client should have this keypress...
// if(KeyWanted(c->data->client_keys,key)) { if(KeyWanted(c->data->client_keys,key)) {
// // Send keypress to client // Send keypress to client
// snprintf(str, sizeof(str), "key %c\n", key); snprintf(str, sizeof(str), "key %c\n", key);
// sock_send_string(c->sock, str); sock_send_string(c->sock, str);
// break; // first come, first serve break; // first come, first serve
// }; };
// c = NextClient(clients); c = NextClient(clients);
// } // while clients } // while clients
//
// // Give server a shot at all keys // Give server a shot at all keys
// server_input (key); server_input (key);
// } }
return 0; return 0;
} }