mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-23 16:10:52 +00:00
Use defScreen istead of 0.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@25452 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6652a87b27
commit
1100345667
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-09-05 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/x11/XGServerWindow.m (-_checkStyle:, -windowlist): Use
|
||||
defScreen instead of 0.
|
||||
|
||||
2007-09-05 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* configure.ac,
|
||||
|
|
|
@ -691,13 +691,13 @@ _get_next_prop_new_event(Display *display, XEvent *event, char *arg)
|
|||
|
||||
NSDebugLLog(@"Offset", @"Checking offsets for style %d\n", style);
|
||||
|
||||
root = [self _rootWindowForScreen: 0];
|
||||
context = [self xrContextForScreen: 0];
|
||||
root = [self _rootWindowForScreen: defScreen];
|
||||
context = [self xrContextForScreen: defScreen];
|
||||
|
||||
window = objc_malloc(sizeof(gswindow_device_t));
|
||||
memset(window, '\0', sizeof(gswindow_device_t));
|
||||
window->display = dpy;
|
||||
window->screen = 0;
|
||||
window->screen = defScreen;
|
||||
|
||||
window->win_attrs.flags |= GSWindowStyleAttr;
|
||||
window->win_attrs.window_style = style;
|
||||
|
@ -3232,7 +3232,7 @@ static BOOL didCreatePixmaps;
|
|||
if (!client_stack_atom)
|
||||
client_stack_atom = XInternAtom(dpy, "_NET_CLIENT_LIST_STACKING", False);
|
||||
|
||||
rootWindow = [self _rootWindowForScreen:0];
|
||||
rootWindow = [self _rootWindowForScreen: defScreen];
|
||||
|
||||
windowOrder = (Window *)PropGetCheckProperty(dpy, rootWindow->ident,
|
||||
client_stack_atom,
|
||||
|
|
Loading…
Reference in a new issue