From: <ke...@us...> - 2008-02-05 17:52:24
|
Revision: 754 http://planeshift.svn.sourceforge.net/planeshift/?rev=754&view=rev Author: kemedes Date: 2008-02-05 09:51:43 -0800 (Tue, 05 Feb 2008) Log Message: ----------- - Fixed FS#914 - Mac users cant right click on the group window [lack of right click]. Modified Paths: -------------- trunk/docs/history.txt trunk/src/common/paws/pawswidget.cpp Modified: trunk/docs/history.txt =================================================================== --- trunk/docs/history.txt 2008-02-05 16:17:38 UTC (rev 753) +++ trunk/docs/history.txt 2008-02-05 17:51:43 UTC (rev 754) @@ -1,3 +1,6 @@ +*** 2008-02-05 by Sasha Levin +- Fixed FS#914 - Mac users cant right click on the group window [lack of right click]. + *** 2008-02-05 by Dave Bentham - Fix bug FS#857: player can only read a book if they have it in their possession. Others just get the description, which is updated when the book gets written. Modified: trunk/src/common/paws/pawswidget.cpp =================================================================== --- trunk/src/common/paws/pawswidget.cpp 2008-02-05 16:17:38 UTC (rev 753) +++ trunk/src/common/paws/pawswidget.cpp 2008-02-05 17:51:43 UTC (rev 754) @@ -1456,7 +1456,7 @@ if ( !PawsManager::GetSingleton().GetDragDropWidget() ) { - if (button == csmbLeft) + if (button == csmbLeft && !(modifiers & CSMASK_CTRL)) { if ( isResizable && showResize ) { @@ -1477,7 +1477,7 @@ return true; } } - else if (button == csmbRight) + else if ((button == csmbRight) || (button == csmbLeft && modifiers & CSMASK_CTRL)) { if (!contextMenu && contextMenuFile != "") { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |