diff options
author | marha <marha@users.sourceforge.net> | 2012-08-01 11:13:44 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-08-01 11:13:44 +0200 |
commit | ebfd1ae8f80dd16f99f9ef89c28a06f809d07f8d (patch) | |
tree | 5934936b4eab90a9d29753a6dd80b557e111fc0a /xorg-server/hw/xwin/winwin32rootlesswindow.c | |
parent | e7912ee7dc5d7556254e1fd831174520d7447608 (diff) | |
download | vcxsrv-ebfd1ae8f80dd16f99f9ef89c28a06f809d07f8d.tar.gz vcxsrv-ebfd1ae8f80dd16f99f9ef89c28a06f809d07f8d.tar.bz2 vcxsrv-ebfd1ae8f80dd16f99f9ef89c28a06f809d07f8d.zip |
Synchronised with xwin master branch
Diffstat (limited to 'xorg-server/hw/xwin/winwin32rootlesswindow.c')
-rw-r--r-- | xorg-server/hw/xwin/winwin32rootlesswindow.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/xorg-server/hw/xwin/winwin32rootlesswindow.c b/xorg-server/hw/xwin/winwin32rootlesswindow.c index 19478ad60..e76da2dd9 100644 --- a/xorg-server/hw/xwin/winwin32rootlesswindow.c +++ b/xorg-server/hw/xwin/winwin32rootlesswindow.c @@ -147,39 +147,8 @@ winMWExtWMMoveResizeXWindow(WindowPtr pWin, int x, int y, int w, int h) } /* - * winMWExtWMUpdateIcon - * Change the Windows window icon - */ - -void -winMWExtWMUpdateIcon(Window id) -{ - WindowPtr pWin; - HICON hIcon, hiconOld; - - dixLookupResourceByType((pointer) &pWin, id, RT_WINDOW, NullClient, - DixUnknownAccess); - hIcon = winOverrideIcon((unsigned long) pWin); - - if (!hIcon) - hIcon = winXIconToHICON(pWin, GetSystemMetrics(SM_CXICON)); - if (hIcon) { - win32RootlessWindowPtr pRLWinPriv - = (win32RootlessWindowPtr) RootlessFrameForWindow(pWin, FALSE); - if (pRLWinPriv->hWnd) { - - hiconOld = (HICON) SendMessage(pRLWinPriv->hWnd, - WM_SETICON, ICON_BIG, - (LPARAM) hIcon); - winDestroyIcon(hiconOld); - } - hIcon = NULL; - } -} - -/* * winMWExtWMDecorateWindow - Update window style. Called by EnumWindows. */ |