---
name: "XmRemoveWMProtocolCallback"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmRemoveWMProtocolCallback"
---

# XmRemoveWMProtocolCallback(3)

A VendorShell convenience interface that removes a callback from the internal list

## NAME

**XmRemoveWMProtocolCallback** — A VendorShell convenience interface that removes a callback from the internal list

## SYNOPSIS

```
#include <Xm/Xm.h>
#include <Xm/Protocols.h>
void XmRemoveWMProtocolCallback(
Widget shell,
Atom protocol,
XtCallbackProc callback,
XtPointer closure);
```

## DESCRIPTION

**XmRemoveWMProtocolCallback** is a convenience interface. It calls **XmRemoveProtocolCallback** with the property value set to the atom returned by interning **WM\_PROTOCOLS**.

- *shell*

  Specifies the widget with which the protocol property is associated

- *protocol*

  Specifies the protocol atom

- *callback*

  Specifies the procedure to call when a protocol message is received

- *closure*

  Specifies the client data to be passed to the callback when it is invoked

For a complete definition of VendorShell and its associated resources, see [**VendorShell**(3)](/VendorShell/3.md).

## RELATED

[**VendorShell**(3)](/VendorShell/3.md), [**XmAddWMProtocolCallback**(3)](/XmAddWMProtocolCallback/3.md), [**XmInternAtom**(3)](/XmInternAtom/3.md), and [**XmRemoveProtocolCallback**(3)](/XmRemoveProtocolCallback/3.md).
