X-Git-Url: https://eleni.mutantstargoat.com/git/?p=winnie;a=blobdiff_plain;f=src%2Fevent.cc;h=4b80d04c568b698705d77c00e40efae99f8cdfca;hp=e5a71821e71a0019857085afc0f94a002c30959d;hb=f71618aebfa6b8754dd056689a6c5821b755972c;hpb=18aa4e842c332f25b041cc8b2e47090539197113 diff --git a/src/event.cc b/src/event.cc index e5a7182..4b80d04 100644 --- a/src/event.cc +++ b/src/event.cc @@ -12,6 +12,8 @@ void process_events() int mouse_fd = get_mouse_fd(); for(;;) { + wm->process_windows(); + fd_set read_set; FD_ZERO(&read_set); @@ -28,7 +30,5 @@ void process_events() if(FD_ISSET(mouse_fd, &read_set)) { process_mouse_event(); } - - wm->process_windows(); } }