mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
Change comments upon request of @fredkiefer.
This commit is contained in:
parent
07dcc41ad0
commit
f5bcf3019b
3 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,9 @@
|
|||
2019-04-06 Sergii Stoian <stoyan255@ukr.net>
|
||||
|
||||
* Source/NSApplication.m (hide:): Change comment before call to `hidwindow`.
|
||||
|
||||
* Source/GSDisplayServer.m (hidewindow:): fixes to return value and type.
|
||||
Change comment.
|
||||
|
||||
2019-04-05 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
||||
|
|
|
@ -601,7 +601,8 @@ GSCurrentServer(void)
|
|||
[self subclassResponsibility: _cmd];
|
||||
}
|
||||
|
||||
/** Hides all application windows */
|
||||
/** Ask the window manager to hide all the application windows for us.
|
||||
Return whether they have been hidden. */
|
||||
- (BOOL) hidewindow: (int) win
|
||||
{
|
||||
return NO;
|
||||
|
|
|
@ -2496,9 +2496,8 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
[_hidden_main resignMainWindow];
|
||||
}
|
||||
|
||||
// Sends -hidewindow: to the main menu. If window manager supports
|
||||
// _GNUSTEP_WM_HIDE_APP atom - call succeeds - our windows will be
|
||||
// hidden by window manager, next application should be activated.
|
||||
/** Ask the window manager to hide all the application windows for us.
|
||||
Return whether they have been hidden. */
|
||||
win = [[self mainMenu] window];
|
||||
if ([GSServerForWindow(win) hidewindow: [win windowNumber]] == NO)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue