projects
/
winnie
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*in progress*
[winnie]
/
src
/
event.cc
diff --git
a/src/event.cc
b/src/event.cc
index
4b80d04
..
1586c95
100644
(file)
--- a/
src/event.cc
+++ b/
src/event.cc
@@
-1,6
+1,9
@@
+#include <stdio.h>
+
#include <errno.h>
#include <unistd.h>
#include <sys/select.h>
#include <errno.h>
#include <unistd.h>
#include <sys/select.h>
+
#include "event.h"
#include "wm.h"
#include "keyboard.h"
#include "event.h"
#include "wm.h"
#include "keyboard.h"
@@
-25,6
+28,7
@@
void process_events()
while(select(maxfd + 1, &read_set, 0, 0, 0) == -1 && errno == EINTR);
if(FD_ISSET(keyb_fd, &read_set)) {
while(select(maxfd + 1, &read_set, 0, 0, 0) == -1 && errno == EINTR);
if(FD_ISSET(keyb_fd, &read_set)) {
+ printf("WINNIE TODO PROCESS KEYB\n");
process_keyboard_event();
}
if(FD_ISSET(mouse_fd, &read_set)) {
process_keyboard_event();
}
if(FD_ISSET(mouse_fd, &read_set)) {