mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 16:22:40 -06:00
*SysInfo: Bug fixe.
git-svn-id: svn://ultimatepp.org/upp/trunk@9655 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0d64519c5b
commit
98eec355c6
2 changed files with 2 additions and 2 deletions
|
|
@ -1059,7 +1059,7 @@ void GetWindowsList(Array<int64> &hWnd, Array<int64> &processId, Array<String> &
|
|||
EnumWindows(EnumGetWindowsList, (LPARAM)&hWnd);
|
||||
for (int i = 0; i < hWnd.GetCount(); ++i) {
|
||||
if (!getAll) {
|
||||
int style = GetWindowLongPtr(reinterpret_cast<HWND>(hWnd[i]), GWL_STYLE);
|
||||
LONG_PTR style = GetWindowLongPtr(reinterpret_cast<HWND>(hWnd[i]), GWL_STYLE);
|
||||
if (style & WS_ICONIC || style & WS_MINIMIZE)
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ bool Mouse_GetPos(long &x, long &y) {
|
|||
_XDisplay *dpy = XOpenDisplay (NULL);
|
||||
if (!dpy) {
|
||||
SetX11ErrorHandler();
|
||||
return false;
|
||||
return false; ::GetKeyboardState() :GetKey()
|
||||
}
|
||||
bool ret = false;
|
||||
Window root, child;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue