* w32term.c (my_set_focus): #ifdef away; currently not used.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 23 Jul 2010 10:09:27 +0000 (12:09 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 23 Jul 2010 10:09:27 +0000 (12:09 +0200)
src/ChangeLog
src/w32term.c

index 143b56f..2e8b848 100644 (file)
@@ -1,5 +1,8 @@
 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
 
+       * w32term.c (my_set_focus): #ifdef away; it is called only from
+       "#ifdef 0" code.
+
        * w32fns.c (x_edge_detection):
        * xfaces.c (may_use_scalable_font_p):
        Remove obsolete static declarations.
index 3a0a1b1..abd7843 100644 (file)
@@ -3366,12 +3366,14 @@ my_set_window_pos (HWND hwnd, HWND hwndAfter,
 #endif
 }
 
+#if 0
 static void
 my_set_focus (struct frame * f, HWND hwnd)
 {
   SendMessage (FRAME_W32_WINDOW (f), WM_EMACS_SETFOCUS,
               (WPARAM) hwnd, 0);
 }
+#endif
 
 static void
 my_set_foreground_window (HWND hwnd)