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:
parent
ba98d1b0cd
commit
2b7b3ade5c
@ -192,7 +192,6 @@ enum {
|
||||
AS_SCREENMODE_CHANGED,
|
||||
|
||||
// Graphics calls
|
||||
// Are these TRANSACTION codes needed ?
|
||||
AS_BEGIN_TRANSACTION,
|
||||
AS_END_TRANSACTION,
|
||||
AS_SET_HIGH_COLOR,
|
||||
|
@ -1222,15 +1222,32 @@ if (myRootLayer)
|
||||
fLink.Flush();
|
||||
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:
|
||||
{
|
||||
STRACE(("ServerWindow %s: Message Enable_Updates unimplemented\n", Title()));
|
||||
STRACE(("ServerWindow %s: Message AS_ENABLE_UPDATES unimplemented\n",
|
||||
Title()));
|
||||
fWinBorder->EnableUpdateRequests();
|
||||
break;
|
||||
}
|
||||
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();
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user