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:
parent
7397a2191f
commit
356b912906
@ -66,7 +66,7 @@ DECLARE_INTERFACE_(ITaskbarList, IUnknown)
|
|||||||
seem to be the case
|
seem to be the case
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void winShowWindowOnTaskbar(HWND hWnd, BOOL show)
|
void winShowWindowOnTaskbar(HWND hWnd, Bool show)
|
||||||
{
|
{
|
||||||
ITaskbarList* pTaskbarList = NULL;
|
ITaskbarList* pTaskbarList = NULL;
|
||||||
|
|
||||||
|
@ -160,7 +160,7 @@ void
|
|||||||
winSetAppUserModelID(HWND hWnd, const char *AppID);
|
winSetAppUserModelID(HWND hWnd, const char *AppID);
|
||||||
|
|
||||||
void
|
void
|
||||||
winShowWindowOnTaskbar(HWND hWnd, BOOL show);
|
winShowWindowOnTaskbar(HWND hWnd, Bool show);
|
||||||
|
|
||||||
#endif /* XWIN_MULTIWINDOW */
|
#endif /* XWIN_MULTIWINDOW */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user