mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Don't draw over the popdown tree if one is showing.
This commit is contained in:
parent
b4f3828239
commit
e11c092cc3
@ -29,6 +29,7 @@
|
||||
#include "il_util.h"
|
||||
#include "il_icons.h"
|
||||
#include "CBrowserContext.h"
|
||||
#include "CBrowserWindow.h" // for CBrowserWindow::ClipOutPopdown()
|
||||
#include "CIconContext.h"
|
||||
#include "CHTMLView.h"
|
||||
#include "RandomFrontEndCrap.h"
|
||||
@ -414,7 +415,13 @@ _IMGCB_DisplayPixmap(struct IMGCB* /*self*/, jint /*op*/, void* inContext, IL_Pi
|
||||
fe_mask = mask != NULL ? (NS_PixMap *) mask->client_data : NULL;
|
||||
|
||||
if ( fe_pixmap != NULL )
|
||||
{
|
||||
{
|
||||
// pinkerton
|
||||
// we need a way to prevent images in the HTML area from drawing over the
|
||||
// popdown treeView if it is visible. Clip it out.
|
||||
StClipRgnState savedClip;
|
||||
CBrowserWindow::ClipOutPopdown(theHTMLView);
|
||||
|
||||
topLeftImage.h = x + x_offset + x_origin;
|
||||
topLeftImage.v = y + y_offset + y_origin;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user