haiku/headers/os/app
Stephan Aßmus 588259b66d various changes to handling custom cursors:
* all cursors owned by a team are visually different,
  or (iaw) an already existing cursor is reused when
  it is set by the client again
* changed various occurances of cursor data from "int8*"
  to "uint8*"
* ServerCursors also remember the R5 data from which
  they were created
* the reference counting and destruction of
  ServerCursors changed: The cursor knows it is attached
  to a CursorManager and one can simply use
  ServerCursor::Acquire() and Release() and the reference
  counting and everything is being taken care of
* destroying a ViewLayer will now correctly release a set
  ServerCursor
* fixed a race condition when setting a cursor through
  BView::SetViewCursor(): If the client code looks like this:

  BCursor cursor(cursorData);
  someView->SetViewCursor(&cursor, false);

  there is a relatively high chance the BCursor destructor
  told the ServerApp thread to destroy the cursor before
  the ServerWindow thread got to "acquire" the cursor for
  use by the view layer. The very same problem is likely the
  reason that SetViewCursor works to unreliably on R5, even
  when the "sync" flag is set to "true" (although it should
  theoretically work in that case).

all these fixes make WonderBrush work fine again with the
new support of custom cursors.... coded by axeld and myself
(the joys of pair programming :-)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-02-26 18:15:31 +00:00
..
AppDefs.h cleanup 2006-02-21 11:18:17 +00:00
Application.h Misc style changes 2005-11-30 17:56:56 +00:00
Clipboard.h * Got rid of the BClipboard::fCount. It was modified, but never read. 2005-01-13 00:54:00 +00:00
Cursor.h various changes to handling custom cursors: 2006-02-26 18:15:31 +00:00
Handler.h It is accomplished ... 2002-07-09 12:24:59 +00:00
Invoker.h Cleanup! 2006-01-03 09:23:08 +00:00
Looper.h Huge cleanup and fixes: 2005-11-21 16:58:36 +00:00
Message4.h * Fixed some more bugs in the message passing by area 2006-02-23 09:02:03 +00:00
Message.h * reverted Adi's premature changes to BWindow and restored _DetermineTarget() and 2005-11-20 16:24:23 +00:00
MessageFilter.h Cleanup! 2006-01-03 09:23:08 +00:00
MessageQueue.h * almost rewrote BMessageQueue; simplified code, removed over-extensive documentation, 2005-11-16 13:01:59 +00:00
MessageRunner.h Rewrote the header from the scratch. 2003-06-04 20:29:23 +00:00
Messenger.h * reverted Adi's premature changes to BWindow and restored _DetermineTarget() and 2005-11-20 16:24:23 +00:00
PropertyInfo.h Remove R3 compatibility details from BPropertyInfo, fix memory leak and implement endian-ness 2002-08-21 06:44:27 +00:00
Roster.h Cleanup. 2006-02-16 17:37:36 +00:00