Setting Application.Busy now displays the busy cursor correctly again.
[GB.GTK] * BUG: Setting Application.Busy now displays the busy cursor correctly again. [GB.GTK3] * BUG: Setting Application.Busy now displays the busy cursor correctly again.
This commit is contained in:
parent
d10aa23ffb
commit
0fccd1d5ee
1 changed files with 2 additions and 8 deletions
|
@ -1053,7 +1053,7 @@ GdkCursor *gControl::getGdkCursor()
|
|||
int m = _mouse;
|
||||
|
||||
if (gApplication::isBusy())
|
||||
m = GDK_WATCH;
|
||||
m = CURSOR_WAIT;
|
||||
|
||||
if (m == CURSOR_CUSTOM)
|
||||
{
|
||||
|
@ -1119,14 +1119,8 @@ void gControl::setMouse(int m)
|
|||
return;
|
||||
}
|
||||
|
||||
/*if (m == CURSOR_CUSTOM)
|
||||
{
|
||||
if (!curs || !curs->cur)
|
||||
m = CURSOR_DEFAULT;
|
||||
}*/
|
||||
|
||||
//fprintf(stderr, "setMouse: %s\n", name());
|
||||
_mouse = m;
|
||||
|
||||
updateCursor(getGdkCursor());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue