mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-15 13:04:29 +00:00
FIx for drag and drop without CPDOMWindowBridge.
Reviewed by me.
This commit is contained in:
1 parent
756885fd53
commit
d2b1df88e8
3 files changed
+24
-5
No files matched your search
@@ -395,6 +395,17 @@ CPTexturedBackgroundWindowMask
|
||||
return self;
|
||||
}
|
||||
|
||||
- (CPPlatformWindow)platformWindow
|
||||
{
|
||||
return _platformWindow;
|
||||
}
|
||||
|
||||
- (void)setPlatformWindow:(CPPlatformWindow)aPlatformWindow
|
||||
{
|
||||
// FIXME: already visible.
|
||||
_platformWindow = aPlatformWindow;
|
||||
}
|
||||
|
||||
/*!
|
||||
@ignore
|
||||
*/
|
||||
@@ -626,9 +637,7 @@ CPTexturedBackgroundWindowMask
|
||||
*/
|
||||
- (void)orderFront:(id)aSender
|
||||
{
|
||||
if (![_platformWindow isVisible])
|
||||
[_platformWindow orderFront:self];
|
||||
|
||||
[_platformWindow orderFront:self];
|
||||
[_platformWindow order:CPWindowAbove window:self relativeTo:nil];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user