Added more or less empty "begin/end transaction" handling in ServerWindow.
Right now, only the updates are disabled as a start. I am not sure what else we can do here, but there probably is something :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14855 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -192,7 +192,6 @@ enum {
|
|||||||
AS_SCREENMODE_CHANGED,
|
AS_SCREENMODE_CHANGED,
|
||||||
|
|
||||||
// Graphics calls
|
// Graphics calls
|
||||||
// Are these TRANSACTION codes needed ?
|
|
||||||
AS_BEGIN_TRANSACTION,
|
AS_BEGIN_TRANSACTION,
|
||||||
AS_END_TRANSACTION,
|
AS_END_TRANSACTION,
|
||||||
AS_SET_HIGH_COLOR,
|
AS_SET_HIGH_COLOR,
|
||||||
|
|||||||
@@ -1222,15 +1222,32 @@ if (myRootLayer)
|
|||||||
fLink.Flush();
|
fLink.Flush();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case AS_BEGIN_TRANSACTION:
|
||||||
|
{
|
||||||
|
STRACE(("ServerWindow %s: Message AS_BEGIN_TRANSACTION unimplemented\n",
|
||||||
|
Title()));
|
||||||
|
// TODO: we could probably do a bit more here...
|
||||||
|
fWinBorder->DisableUpdateRequests();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case AS_END_TRANSACTION:
|
||||||
|
{
|
||||||
|
STRACE(("ServerWindow %s: Message AS_END_TRANSACTION unimplemented\n",
|
||||||
|
Title()));
|
||||||
|
fWinBorder->EnableUpdateRequests();
|
||||||
|
break;
|
||||||
|
}
|
||||||
case AS_ENABLE_UPDATES:
|
case AS_ENABLE_UPDATES:
|
||||||
{
|
{
|
||||||
STRACE(("ServerWindow %s: Message Enable_Updates unimplemented\n", Title()));
|
STRACE(("ServerWindow %s: Message AS_ENABLE_UPDATES unimplemented\n",
|
||||||
|
Title()));
|
||||||
fWinBorder->EnableUpdateRequests();
|
fWinBorder->EnableUpdateRequests();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case AS_DISABLE_UPDATES:
|
case AS_DISABLE_UPDATES:
|
||||||
{
|
{
|
||||||
STRACE(("ServerWindow %s: Message Disable_Updates unimplemented\n", Title()));
|
STRACE(("ServerWindow %s: Message AS_DISABLE_UPDATES unimplemented\n",
|
||||||
|
Title()));
|
||||||
fWinBorder->DisableUpdateRequests();
|
fWinBorder->DisableUpdateRequests();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user