mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user