mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
* Source/x11/XGServerWindow.m
(hideApplication:): send application's root window to WindowMaker (WM) because it's a "group leader" that clearly identifies application inside WM. WM uses XFindContext to get WApplication structure and "group leader" window ID is a key to find it.
This commit is contained in:
parent
3e279f106d
commit
2f4a0cd26a
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2020-09-16 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
||||
* Source/x11/XGServerWindow.m
|
||||
(hideApplication:): send application's root window to WindowMaker (WM)
|
||||
because it's a "group leader" that clearly identifies application
|
||||
inside WM. WM uses XFindContext to get WApplication structure and
|
||||
"group leader" window ID is a key to find it.
|
||||
|
||||
2020-04-05 Ivan Vucica <ivan@vucica.net>
|
||||
|
||||
* ANNOUNCE:
|
||||
|
|
|
@ -1611,7 +1611,7 @@ _get_next_prop_new_event(Display *display, XEvent *event, char *arg)
|
|||
{
|
||||
NSDebugLLog(@"XGTrace", @"WindowMaker hack: Preparing app icon window");
|
||||
_wmAppIcon =
|
||||
[self window: NSZeroRect : NSBackingStoreBuffered
|
||||
[self window: NSZeroRect : NSBackingStoreBuffered
|
||||
: NSIconWindowMask : defScreen];
|
||||
[self orderwindow: NSWindowAbove : -1 : _wmAppIcon];
|
||||
NSDebugLLog(@"XGTrace", @"WindowMaker hack: icon window = %d", _wmAppIcon);
|
||||
|
@ -2609,7 +2609,7 @@ _get_next_prop_new_event(Display *display, XEvent *event, char *arg)
|
|||
window = [XGServer _windowWithTag: win];
|
||||
[self _sendRoot: window->root
|
||||
type: generic._WINDOWMAKER_WM_FUNCTION_ATOM
|
||||
window: window->ident
|
||||
window: ROOT
|
||||
data0: WMFHideApplication
|
||||
data1: CurrentTime
|
||||
data2: 0
|
||||
|
|
Loading…
Reference in a new issue