hw/xwin: Use Bool type in winShowWindowOnTaskbar() prototype

Use the Bool type from X11/Xdefs.h for winShowWindowOnTaskbar().

This is the boolean type we should be using inside the X server, rather than
BOOL, which evaluates to either the Win32 API type, or the Xlib API type,
depending on the context...

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
Jon Turney 2016-04-07 17:40:56 +01:00
parent 7397a2191f
commit 356b912906
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ DECLARE_INTERFACE_(ITaskbarList, IUnknown)
seem to be the case
*/
void winShowWindowOnTaskbar(HWND hWnd, BOOL show)
void winShowWindowOnTaskbar(HWND hWnd, Bool show)
{
ITaskbarList* pTaskbarList = NULL;

View File

@ -160,7 +160,7 @@ void
winSetAppUserModelID(HWND hWnd, const char *AppID);
void
winShowWindowOnTaskbar(HWND hWnd, BOOL show);
winShowWindowOnTaskbar(HWND hWnd, Bool show);
#endif /* XWIN_MULTIWINDOW */
#endif