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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.138 by root, Wed Feb 16 20:32:05 2005 UTC vs.
Revision 1.141 by root, Sat Feb 19 01:07:58 2005 UTC

253 // XDestroyWindow (disp, menuBar.win); 253 // XDestroyWindow (disp, menuBar.win);
254#endif 254#endif
255 delete TermWin.drawable; 255 delete TermWin.drawable;
256 // destroy all windows 256 // destroy all windows
257 if (TermWin.parent[0] 257 if (TermWin.parent[0]
258#if ENABLE_FRILLS 258#if ENABLE_XEMBED
259 && !rs[Rs_embed] 259 && !rs[Rs_embed]
260#endif 260#endif
261 ) 261 )
262 XDestroyWindow (disp, TermWin.parent[0]); 262 XDestroyWindow (disp, TermWin.parent[0]);
263 } 263 }
589 rxvt_fatal ("memory allocation failure. aborting.\n"); 589 rxvt_fatal ("memory allocation failure. aborting.\n");
590 590
591 return p; 591 return p;
592} 592}
593 593
594/* INTPROTO */
595void * 594void *
596rxvt_calloc (size_t number, size_t size) 595rxvt_calloc (size_t number, size_t size)
597{ 596{
598 void *p = calloc (number, size); 597 void *p = calloc (number, size);
599 598
601 rxvt_fatal ("memory allocation failure. aborting.\n"); 600 rxvt_fatal ("memory allocation failure. aborting.\n");
602 601
603 return p; 602 return p;
604} 603}
605 604
606/* INTPROTO */
607void * 605void *
608rxvt_realloc (void *ptr, size_t size) 606rxvt_realloc (void *ptr, size_t size)
609{ 607{
610 void *p = realloc (ptr, size); 608 void *p = realloc (ptr, size);
611 609
847 (void)ioctl (pty.pty, TIOCSWINSZ, &ws); 845 (void)ioctl (pty.pty, TIOCSWINSZ, &ws);
848 846
849#if 0 847#if 0
850 // TIOCSWINSZ⎈ is supposed to do this automatically and correctly 848 // TIOCSWINSZ⎈ is supposed to do this automatically and correctly
851 if (cmd_pid) /* force through to the command */ 849 if (cmd_pid) /* force through to the command */
852 kill (cmd_pid, SIGWINCH); 850 kill (-cmd_pid, SIGWINCH);
853#endif 851#endif
854} 852}
855 853
856/*----------------------------------------------------------------------*/ 854/*----------------------------------------------------------------------*/
857/* set_fonts () - load and set the various fonts 855/* set_fonts () - load and set the various fonts

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines