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.92 by root, Wed Sep 8 17:23:02 2004 UTC vs.
Revision 1.93 by root, Sun Oct 24 14:02:44 2004 UTC

923 923
924#if ENABLE_FRILLS 924#if ENABLE_FRILLS
925 if (options & Opt_borderLess) 925 if (options & Opt_borderLess)
926 { 926 {
927 prop = XInternAtom(display->display, "_MOTIF_WM_INFO", True); 927 prop = XInternAtom(display->display, "_MOTIF_WM_INFO", True);
928
928 if (prop == None) 929 if (prop == None)
929 { 930 {
930 /* print_warning("Window Manager does not support MWM hints. Bypassing window manager control for borderless window.\n");*/ 931 /* print_warning("Window Manager does not support MWM hints. Bypassing window manager control for borderless window.\n");*/
931#ifdef PREFER_24BIT 932#ifdef PREFER_24BIT
932 attributes.override_redirect = TRUE; 933 attributes.override_redirect = TRUE;
991 XSetWMProperties (display->display, TermWin.parent[0], NULL, NULL, 992 XSetWMProperties (display->display, TermWin.parent[0], NULL, NULL,
992 (char **)argv, argc, &szHint, &wmHint, &classHint); 993 (char **)argv, argc, &szHint, &wmHint, &classHint);
993 994
994#if ENABLE_FRILLS 995#if ENABLE_FRILLS
995 long pid = getpid (); 996 long pid = getpid ();
997
996 XChangeProperty (display->display, TermWin.parent[0], 998 XChangeProperty (display->display, TermWin.parent[0],
997 display->atom ("_NET_WM_PID"), XA_CARDINAL, 32, 999 display->atom ("_NET_WM_PID"), XA_CARDINAL, 32,
998 PropModeReplace, (unsigned char *)&pid, 1); 1000 PropModeReplace, (unsigned char *)&pid, 1);
999#endif 1001#endif
1000 1002
1010 1012
1011#if ENABLE_FRILLS 1013#if ENABLE_FRILLS
1012 if (mwmhints.flags) 1014 if (mwmhints.flags)
1013 { 1015 {
1014 prop = XInternAtom (display->display, "_MOTIF_WM_HINTS", False); 1016 prop = XInternAtom (display->display, "_MOTIF_WM_HINTS", False);
1015 XChangeProperty (display->display, TermWin.parent[0], prop, prop, 32, PropModeReplace, (unsigned char *) &mwmhints, PROP_MWM_HINTS_ELEMENTS); 1017 XChangeProperty (display->display, TermWin.parent[0], prop, prop, 32,
1018 PropModeReplace, (unsigned char *)&mwmhints, PROP_MWM_HINTS_ELEMENTS);
1016 } 1019 }
1017#endif 1020#endif
1018 1021
1019 /* vt cursor: Black-on-White is standard, but this is more popular */ 1022 /* vt cursor: Black-on-White is standard, but this is more popular */
1020 TermWin_cursor = XCreateFontCursor (display->display, XC_xterm); 1023 TermWin_cursor = XCreateFontCursor (display->display, XC_xterm);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines