Mercurial > hg > xemacs-beta
comparison lwlib/lwlib.c @ 78:c7528f8e288d r20-0b34
Import from CVS: tag r20-0b34
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:05:42 +0200 |
parents | 131b0175ea99 |
children | 1ce6082ce73f |
comparison
equal
deleted
inserted
replaced
77:6cb4f478e7bc | 78:c7528f8e288d |
---|---|
1251 | 1251 |
1252 /* set the keyboard focus */ | 1252 /* set the keyboard focus */ |
1253 void | 1253 void |
1254 lw_set_keyboard_focus (Widget parent, Widget w) | 1254 lw_set_keyboard_focus (Widget parent, Widget w) |
1255 { | 1255 { |
1256 #ifdef NEED_MOTIF | 1256 #if defined(NEED_MOTIF) && !defined(LESSTIF_VERSION) |
1257 /* This loses with Lesstif v0.75a */ | |
1257 xm_set_keyboard_focus (parent, w); | 1258 xm_set_keyboard_focus (parent, w); |
1258 #else | 1259 #else |
1259 XtSetKeyboardFocus (parent, w); | 1260 XtSetKeyboardFocus (parent, w); |
1260 #endif | 1261 #endif |
1261 } | 1262 } |