mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:10:37 +00:00
Take care that images render to the correct screen.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21963 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
88b2a97fdb
commit
e692c0a7f0
3 changed files with 15 additions and 7 deletions
|
@ -1363,10 +1363,8 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
{
|
||||
if ([GSCurrentContext() isDrawingToScreen] == YES)
|
||||
{
|
||||
int screen = [[[GSCurrentServer() attributes]
|
||||
objectForKey: GSScreenNumber] intValue];
|
||||
deviceDescription = [[[NSScreen screens] objectAtIndex: screen]
|
||||
deviceDescription];
|
||||
// Take the device description from the current context.
|
||||
deviceDescription = [GSCurrentContext() attributes];
|
||||
}
|
||||
else if ([NSPrintOperation currentOperation])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue