Mercurial > hg > xemacs-beta
diff src/device-x.c @ 48:56c54cf7c5b6 r19-16b90
Import from CVS: tag r19-16b90
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:56:04 +0200 |
parents | 7e54bd776075 |
children | 131b0175ea99 |
line wrap: on
line diff
--- a/src/device-x.c Mon Aug 13 08:55:32 2007 +0200 +++ b/src/device-x.c Mon Aug 13 08:56:04 2007 +0200 @@ -370,7 +370,8 @@ Vdefault_x_device = Qnil; DEVICE_LOOP_NO_BREAK (devcons, concons) { - if (DEVICE_X_P (XDEVICE (XCAR (devcons)))) + if (DEVICE_X_P (XDEVICE (XCAR (devcons))) && + !EQ (device, XCAR (devcons))) { Vdefault_x_device = XCAR (devcons); goto double_break;