зеркало из https://github.com/mozilla/gecko-dev.git
Making saari's debug output #ifdef DEBUG_FOCUS. r=pavlov.
This commit is contained in:
Родитель
f803b21326
Коммит
7e0981701c
|
@ -9,7 +9,7 @@
|
||||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||||
* implied. See the License for the specific language governing
|
* implied. See the License for the specific language governing
|
||||||
* rights and limitations under the License.
|
* rights and limitations under the License.
|
||||||
*'
|
*
|
||||||
* The Original Code is mozilla.org code.
|
* The Original Code is mozilla.org code.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is Netscape
|
* The Initial Developer of the Original Code is Netscape
|
||||||
|
@ -1126,7 +1126,9 @@ void nsWindow::DispatchLostFocusEvent(void)
|
||||||
|
|
||||||
void nsWindow::DispatchActivateEvent(void)
|
void nsWindow::DispatchActivateEvent(void)
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG_FOCUS
|
||||||
printf("nsWindow::DispatchActivateEvent %p\n", this);
|
printf("nsWindow::DispatchActivateEvent %p\n", this);
|
||||||
|
#endif
|
||||||
|
|
||||||
if(!gJustGotDeactivate)
|
if(!gJustGotDeactivate)
|
||||||
return;
|
return;
|
||||||
|
@ -1150,7 +1152,9 @@ void nsWindow::DispatchActivateEvent(void)
|
||||||
|
|
||||||
void nsWindow::DispatchDeactivateEvent(void)
|
void nsWindow::DispatchDeactivateEvent(void)
|
||||||
{
|
{
|
||||||
|
#ifdef DEBUG_FOCUS
|
||||||
printf("nsWindow::DispatchDeactivateEvent %p\n", this);
|
printf("nsWindow::DispatchDeactivateEvent %p\n", this);
|
||||||
|
#endif
|
||||||
|
|
||||||
gJustGotDeactivate = PR_TRUE;
|
gJustGotDeactivate = PR_TRUE;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче