comparison src/dialog-x.c @ 3466:4d52aea479a2

[xemacs-hg @ 2006-06-21 17:30:33 by james] Fix various problems found by static checkers. Also, but back the CURCHARSIZE macro in window.c to preserve the abstraction. <m3mzc6wh85.fsf_-_@jerrypc.cs.usu.edu>
author james
date Wed, 21 Jun 2006 17:30:37 +0000
parents 04bc9d2f42c7
children 304aebb79cd3
comparison
equal deleted inserted replaced
3465:af932b7bc2ee 3466:4d52aea479a2
102 /* The Motif dialog box sets the keyboard focus to itself. When it 102 /* The Motif dialog box sets the keyboard focus to itself. When it
103 goes away we have to take care of getting the focus back 103 goes away we have to take care of getting the focus back
104 ourselves. */ 104 ourselves. */
105 #ifdef EXTERNAL_WIDGET 105 #ifdef EXTERNAL_WIDGET
106 /* #### Not sure if this special case is necessary. */ 106 /* #### Not sure if this special case is necessary. */
107 if (!FRAME_X_EXTERNAL_WINDOW_P (f) && f) 107 if (f && !FRAME_X_EXTERNAL_WINDOW_P (f))
108 #else 108 #else
109 if (f) 109 if (f)
110 #endif 110 #endif
111 lw_set_keyboard_focus (FRAME_X_SHELL_WIDGET (f), FRAME_X_TEXT_WIDGET (f)); 111 lw_set_keyboard_focus (FRAME_X_SHELL_WIDGET (f), FRAME_X_TEXT_WIDGET (f));
112 } 112 }