ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/init.C
(Generate patch)

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.110 by root, Thu Feb 17 15:07:48 2005 UTC vs.
Revision 1.111 by root, Thu Feb 17 20:52:48 2005 UTC

976 rxvt_fatal ("unable to load base fontset, please specify a valid one using -fn, aborting.\n"); 976 rxvt_fatal ("unable to load base fontset, please specify a valid one using -fn, aborting.\n");
977 977
978#if ENABLE_FRILLS 978#if ENABLE_FRILLS
979 if (rs[Rs_embed]) 979 if (rs[Rs_embed])
980 { 980 {
981 XWindowAttributes wattr;
982
981 top = strtol (rs[Rs_embed], 0, 0); 983 top = strtol (rs[Rs_embed], 0, 0);
982 984
983 XWindowAttributes wattr;
984 XGetWindowAttributes (disp, top, &wattr); 985 if (!XGetWindowAttributes (disp, top, &wattr))
986 rxvt_fatal ("invalid window-id specified with -embed, aborting.\n");
985 987
986 window_calc (wattr.width, wattr.height); 988 window_calc (wattr.width, wattr.height);
987 989
988#if 0 990#if 0
989 if (wattr.map_state == IsViewable) 991 if (wattr.map_state == IsViewable)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines