diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2013-12-07 17:48:12 +0100 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2013-12-07 17:48:12 +0100 |
commit | 1bb2debd5f1f02397458de593531f9712cfeb068 (patch) | |
tree | 42b0950aa773227f70c027e0c081a3b2f6a946f4 /src/nsterm.h | |
parent | fa6fa1a1773f255b5efbe52a743b017f4908a6cb (diff) | |
download | emacs-1bb2debd5f1f02397458de593531f9712cfeb068.tar.gz |
Fix GNUStep issues with startup.
* nsterm.h (EmacsApp): Add applicationDidFinishLaunchingCalled.
Pixel resize changes for NS.
* nsterm.m (x_set_window_size): Change parameters rows/cols to
height/width. row/cols are locals.
Pass pixelwise to check_frame_size. Don't set FRAME_PIXEL_WIDTH/HEIGHT.
(updateFrameSize:): Remove gsextra. Adjust for pixelwise resize.
(windowWillResize): Remove gsextra. Calculate extra as in
updateFrameSize.
(x_new_font): Don't change frame size if fullscreen. Change
size pixelwise.
* nsterm.m (x_set_window_size): Remove fprintf.
(init): Define always. Set applicationDidFinishLaunchingCalled
for GNUStep.
(applicationDidFinishLaunching:): Set
applicationDidFinishLaunchingCalled,
(applicationDidBecomeActive:): Call applicationDidFinishLaunching if
not called.
Diffstat (limited to 'src/nsterm.h')
-rw-r--r-- | src/nsterm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nsterm.h b/src/nsterm.h index 976347ad3b4..0215f13dffd 100644 --- a/src/nsterm.h +++ b/src/nsterm.h @@ -90,6 +90,7 @@ typedef float EmacsCGFloat; BOOL isFirst; #endif #ifdef NS_IMPL_GNUSTEP + BOOL applicationDidFinishLaunchingCalled; @public int nextappdefined; #endif |