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

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.276 by root, Fri Jan 20 11:02:46 2006 UTC vs.
Revision 1.277 by root, Fri Jan 20 12:16:28 2006 UTC

1401 case ButtonRelease: 1401 case ButtonRelease:
1402 button_release (ev.xbutton); 1402 button_release (ev.xbutton);
1403 break; 1403 break;
1404 1404
1405 case ClientMessage: 1405 case ClientMessage:
1406 if (ev.xclient.format == 32) 1406 if (ev.xclient.format == 32
1407 && !HOOK_INVOKE ((this, HOOK_CLIENT_MESSAGE, DT_XEVENT, &ev, DT_END)))
1407 { 1408 {
1408 if (ev.xclient.message_type == xa[XA_WM_PROTOCOLS]) 1409 if (ev.xclient.message_type == xa[XA_WM_PROTOCOLS])
1409 { 1410 {
1410 if (ev.xclient.data.l[0] == xa[XA_WM_DELETE_WINDOW]) 1411 if (!HOOK_INVOKE ((this, HOOK_WM_PROTOCOLS, DT_XEVENT, &ev, DT_END)))
1411 { 1412 {
1413 if (ev.xclient.data.l[0] == xa[XA_WM_DELETE_WINDOW])
1414 {
1412 if (!HOOK_INVOKE ((this, HOOK_WM_DELETE_WINDOW, DT_XEVENT, ev, DT_END))) 1415 if (!HOOK_INVOKE ((this, HOOK_WM_DELETE_WINDOW, DT_XEVENT, &ev, DT_END)))
1413 destroy (); 1416 destroy ();
1417 }
1418#if ENABLE_EWMH
1419 else if (ev.xclient.data.l[0] == xa[XA_NET_WM_PING])
1420 XSendEvent (disp, ev.xclient.window = display->root,
1421 False, SubstructureRedirectMask | SubstructureNotifyMask,
1422 &ev);
1423#endif
1414 } 1424 }
1415#if ENABLE_EWMH
1416 else if (ev.xclient.data.l[0] == xa[XA_NET_WM_PING])
1417 XSendEvent (disp, ev.xclient.window = display->root,
1418 False, SubstructureRedirectMask | SubstructureNotifyMask,
1419 &ev);
1420#endif
1421 } 1425 }
1422#if ENABLE_XEMBED 1426#if ENABLE_XEMBED
1423 else if (ev.xclient.format == 32 && ev.xclient.message_type == xa[XA_XEMBED]) 1427 else if (ev.xclient.format == 32 && ev.xclient.message_type == xa[XA_XEMBED])
1424 { 1428 {
1425 if (ev.xclient.data.l[1] == XEMBED_FOCUS_IN) 1429 if (ev.xclient.data.l[1] == XEMBED_FOCUS_IN)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines