#include "wine/server.h"
#include "wine/debug.h"
-#define ETERSOFT_FUNC_GETWM
#include "wine/etersoft.h"
WINE_DEFAULT_DEBUG_CHANNEL(win);
if (SendMessageW( hwnd, WM_QUERYNEWPALETTE, 0, 0 ))
SendMessageTimeoutW( HWND_BROADCAST, WM_PALETTEISCHANGING, (WPARAM)hwnd, 0,
SMTO_ABORTIFHUNG, 2000, NULL );
-
- /* This hack is needed to solve
- * eterbug #1837 in Gnome only
- */
- LOADETER_FUNC(etersoft_getwm)
- if (etersoft_getwm() == 2)
- {
- LOADETER_FUNC(etersoft_1version);
- if ( etersoft_1version && ((etersoft_1version() == 8) || (etersoft_1version() == 7)) )
- {
- if((!GetPropA( hwnd, "__wine_x11_managed" ) && (etersoft_1version() == 8))
- || (GetWindowLongW( hwnd, GWL_STYLE ) & WS_POPUP))
- SetWindowPos( hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE );
- }
- else
- SetWindowPos( hwnd, HWND_TOP, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE );
- }
if (!IsWindow(hwnd)) return FALSE;
}