summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2016-02-23 23:09:43 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2016-03-09 16:13:16 +0000
commit52e05b9282f0f220d7c762793ce0b8f606a45deb (patch)
treec92231d1b64a63850563cfeef46f8447a637fea4
parentc42217aa3d372acaa5ca7c64895edbfbd20c8475 (diff)
hw/xwin: Remove WM_WM_MAP message, which is now unused
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
-rw-r--r--hw/xwin/winmultiwindowwm.c13
-rw-r--r--hw/xwin/winwindow.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/hw/xwin/winmultiwindowwm.c b/hw/xwin/winmultiwindowwm.c
index 54d9a8a94..c5404cfe3 100644
--- a/hw/xwin/winmultiwindowwm.c
+++ b/hw/xwin/winmultiwindowwm.c
@@ -243,9 +243,6 @@ MessageName(winWMMessagePtr msg)
case WM_WM_CHANGE_STATE:
return "WM_WM_CHANGE_STATE";
break;
- case WM_WM_MAP:
- return "WM_WM_MAP";
- break;
case WM_WM_MAP2:
return "WM_WM_MAP2";
break;
@@ -772,16 +769,6 @@ winMultiWindowWMProc(void *pArg)
XLowerWindow(pWMInfo->pDisplay, pNode->msg.iWindow);
break;
- case WM_WM_MAP:
- /* Put a note as to the HWND associated with this Window */
- XChangeProperty(pWMInfo->pDisplay, pNode->msg.iWindow, pWMInfo->atmPrivMap, XA_INTEGER,
- 32,
- PropModeReplace,
- (unsigned char *) &(pNode->msg.hwndWindow), sizeof(HWND)/4);
- UpdateName(pWMInfo, pNode->msg.iWindow);
- UpdateIcon(pWMInfo, pNode->msg.iWindow);
- break;
-
case WM_WM_MAP2:
XChangeProperty(pWMInfo->pDisplay, pNode->msg.iWindow, pWMInfo->atmPrivMap, XA_INTEGER,
32,
diff --git a/hw/xwin/winwindow.h b/hw/xwin/winwindow.h
index 129a77cf9..5a1759d1e 100644
--- a/hw/xwin/winwindow.h
+++ b/hw/xwin/winwindow.h
@@ -102,7 +102,6 @@ typedef struct _winWMMessageRec {
#define WM_WM_SIZE (WM_USER + 2)
#define WM_WM_RAISE (WM_USER + 3)
#define WM_WM_LOWER (WM_USER + 4)
-#define WM_WM_MAP (WM_USER + 5)
#define WM_WM_UNMAP (WM_USER + 6)
#define WM_WM_KILL (WM_USER + 7)
#define WM_WM_ACTIVATE (WM_USER + 8)