[haiku-commits] r33746 - haiku/trunk/src/kits/app

  • From: mmlr@xxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 23 Oct 2009 12:33:40 +0200 (CEST)

Author: mmlr
Date: 2009-10-23 12:33:40 +0200 (Fri, 23 Oct 2009)
New Revision: 33746
Changeset: http://dev.haiku-os.org/changeset/33746/haiku

Modified:
   haiku/trunk/src/kits/app/Message.cpp
Log:
The "was dropped" flag is only used to specify whether or not DropPoint()
returns valid data. Since the data is still valid in the copy, we don't need
to clear the corresponding flag when copying a message. This is most probably
the same behaviour as in R5 as Tracker seems to expect that in the case where
a drop is done after a menu was displayed as in #4757. Thanks to aldeck for
tracking that one down inside Tracker, should fix #4757.


Modified: haiku/trunk/src/kits/app/Message.cpp
===================================================================
--- haiku/trunk/src/kits/app/Message.cpp        2009-10-23 08:54:52 UTC (rev 
33745)
+++ haiku/trunk/src/kits/app/Message.cpp        2009-10-23 10:33:40 UTC (rev 
33746)
@@ -192,7 +192,7 @@
        // apply to the clone.
        fHeader->flags &= ~(MESSAGE_FLAG_REPLY_REQUIRED | 
MESSAGE_FLAG_REPLY_DONE
                | MESSAGE_FLAG_IS_REPLY | MESSAGE_FLAG_WAS_DELIVERED
-               | MESSAGE_FLAG_WAS_DROPPED | MESSAGE_FLAG_PASS_BY_AREA);
+               | MESSAGE_FLAG_PASS_BY_AREA);
        // Note, that BeOS R5 seems to keep the reply info.
 
        if (fHeader->field_count > 0) {


Other related posts: