Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
4c5331af
Commit
4c5331af
authored
May 22, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Nov 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NXevents.c: call upstream DefineInitialRootWindow()
parent
b64e1f60
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
36 deletions
+5
-36
events.c
nx-X11/programs/Xserver/dix/events.c
+4
-2
NXevents.c
nx-X11/programs/Xserver/hw/nxagent/NXevents.c
+1
-34
No files found.
nx-X11/programs/Xserver/dix/events.c
View file @
4c5331af
...
...
@@ -2070,9 +2070,12 @@ void ReinitializeRootWindow(WindowPtr win, int xoff, int yoff)
}
#endif
#ifndef NXAGENT_SERVER
void
#ifdef NXAGENT_SERVER
xorg_DefineInitialRootWindow
(
register
WindowPtr
win
)
#else
DefineInitialRootWindow
(
register
WindowPtr
win
)
#endif
{
register
ScreenPtr
pScreen
=
win
->
drawable
.
pScreen
;
...
...
@@ -2112,7 +2115,6 @@ DefineInitialRootWindow(register WindowPtr win)
}
#endif
}
#endif
/* NXAGENT_SERVER */
/*
* This does not take any shortcuts, and even ignores its argument, since
...
...
nx-X11/programs/Xserver/hw/nxagent/NXevents.c
View file @
4c5331af
...
...
@@ -436,41 +436,8 @@ void
DefineInitialRootWindow
(
register
WindowPtr
win
)
{
register
ScreenPtr
pScreen
=
win
->
drawable
.
pScreen
;
sprite
.
hotPhys
.
pScreen
=
pScreen
;
sprite
.
hotPhys
.
x
=
pScreen
->
width
/
2
;
sprite
.
hotPhys
.
y
=
pScreen
->
height
/
2
;
sprite
.
hot
=
sprite
.
hotPhys
;
sprite
.
hotLimits
.
x2
=
pScreen
->
width
;
sprite
.
hotLimits
.
y2
=
pScreen
->
height
;
sprite
.
win
=
win
;
sprite
.
current
=
wCursor
(
win
);
sprite
.
current
->
refcnt
++
;
spriteTraceGood
=
1
;
ROOT
=
win
;
(
*
pScreen
->
CursorLimits
)
(
pScreen
,
sprite
.
current
,
&
sprite
.
hotLimits
,
&
sprite
.
physLimits
);
sprite
.
confined
=
FALSE
;
(
*
pScreen
->
ConstrainCursor
)
(
pScreen
,
&
sprite
.
physLimits
);
(
*
pScreen
->
SetCursorPosition
)
(
pScreen
,
sprite
.
hot
.
x
,
sprite
.
hot
.
y
,
FALSE
);
(
*
pScreen
->
DisplayCursor
)
(
pScreen
,
sprite
.
current
);
#ifdef PANORAMIX
if
(
!
noPanoramiXExtension
)
{
sprite
.
hotLimits
.
x1
=
-
panoramiXdataPtr
[
0
].
x
;
sprite
.
hotLimits
.
y1
=
-
panoramiXdataPtr
[
0
].
y
;
sprite
.
hotLimits
.
x2
=
PanoramiXPixWidth
-
panoramiXdataPtr
[
0
].
x
;
sprite
.
hotLimits
.
y2
=
PanoramiXPixHeight
-
panoramiXdataPtr
[
0
].
y
;
sprite
.
physLimits
=
sprite
.
hotLimits
;
sprite
.
confineWin
=
NullWindow
;
#ifdef SHAPE
sprite
.
hotShape
=
NullRegion
;
#endif
sprite
.
screen
=
pScreen
;
/* gotta UNINIT these someplace */
RegionNull
(
&
sprite
.
Reg1
);
RegionNull
(
&
sprite
.
Reg2
);
}
#endif
xorg_DefineInitialRootWindow
(
win
);
#ifdef VIEWPORT_FRAME
nxagentInitViewportFrame
(
pScreen
,
win
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment