]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/dope/server/common/userstate.c
update
[l4.git] / l4 / pkg / dope / server / common / userstate.c
index 6eba2c62966f5dd0386ff4bc81b9cc3e7cc38064..cd2c655a823641d4bc84455518c9336f133d6548 100644 (file)
@@ -297,15 +297,14 @@ static void update_mfocus(void) {
 
 static void handle(void)
 {
-  static long    old_mx, old_my, old_mb;
-  static long    update_needed = 0;
-  static EVENT   event;
+  static long    old_mx, old_my;
+  long    update_needed = 0;
+  EVENT   event;
 
   WIDGET *new_mfocus = NULL;
 
   old_mx = curr_mx;
   old_my = curr_my;
-  old_mb = curr_mb;
 
   while (input->get_event(&event))
     {