mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 21:27:40 +00:00
* Source/NSWindow.m: Remove unnecessary FIXMEs related to
user space scale factor * Source/NSAppliation.m: Correct app icon sizing which was mixing up window frame coordinates and user space coordinates * Source/NSCachedImageRep.m: Add NSUnscaledWindowMask to the window used internally git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32897 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b4e8ecd7cf
commit
346f604cb7
4 changed files with 23 additions and 11 deletions
|
@ -92,7 +92,7 @@
|
|||
frame.origin = NSMakePoint(0,0);
|
||||
frame.size = aSize;
|
||||
win = [[GSCacheW alloc] initWithContentRect: frame
|
||||
styleMask: NSBorderlessWindowMask
|
||||
styleMask: NSBorderlessWindowMask | NSUnscaledWindowMask
|
||||
backing: NSBackingStoreRetained
|
||||
defer: NO];
|
||||
self = [self initWithWindow: win rect: frame];
|
||||
|
@ -136,7 +136,7 @@
|
|||
}
|
||||
if (!_window)
|
||||
_window = [[GSCacheW alloc] initWithContentRect: _rect
|
||||
styleMask: NSBorderlessWindowMask
|
||||
styleMask: NSBorderlessWindowMask | NSUnscaledWindowMask
|
||||
backing: NSBackingStoreRetained
|
||||
defer: NO];
|
||||
[self setSize: _rect.size];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue