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
d7a091a6
Commit
d7a091a6
authored
May 26, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
Oct 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Screen.c: drop unneccessary mask variable
parent
d07c7888
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
9 deletions
+3
-9
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+3
-9
No files found.
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
d7a091a6
...
@@ -846,7 +846,6 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
...
@@ -846,7 +846,6 @@ Bool nxagentOpenScreen(ScreenPtr pScreen,
int
depthIndex
;
int
depthIndex
;
unsigned
long
valuemask
;
unsigned
long
valuemask
;
XSetWindowAttributes
attributes
;
XSetWindowAttributes
attributes
;
Mask
mask
;
Bool
resetAgentPosition
=
False
;
Bool
resetAgentPosition
=
False
;
VisualID
defaultVisual
;
VisualID
defaultVisual
;
...
@@ -1714,9 +1713,7 @@ N/A
...
@@ -1714,9 +1713,7 @@ N/A
{
{
nxagentDefaultWindows
[
pScreen
->
myNum
]
=
nxagentParentWindow
;
nxagentDefaultWindows
[
pScreen
->
myNum
]
=
nxagentParentWindow
;
mask
=
nxagentGetDefaultEventMask
();
XSelectInput
(
nxagentDisplay
,
nxagentDefaultWindows
[
pScreen
->
myNum
],
nxagentGetDefaultEventMask
());
XSelectInput
(
nxagentDisplay
,
nxagentDefaultWindows
[
pScreen
->
myNum
],
mask
);
}
}
else
else
{
{
...
@@ -1757,8 +1754,7 @@ N/A
...
@@ -1757,8 +1754,7 @@ N/A
if
(
nxagentOption
(
Rootless
)
==
0
)
if
(
nxagentOption
(
Rootless
)
==
0
)
{
{
valuemask
=
CWEventMask
;
valuemask
=
CWEventMask
;
mask
=
PointerMotionMask
;
attributes
.
event_mask
=
PointerMotionMask
;
attributes
.
event_mask
=
mask
;
nxagentInputWindows
[
pScreen
->
myNum
]
=
nxagentInputWindows
[
pScreen
->
myNum
]
=
XCreateWindow
(
nxagentDisplay
,
XCreateWindow
(
nxagentDisplay
,
...
@@ -1845,9 +1841,7 @@ N/A
...
@@ -1845,9 +1841,7 @@ N/A
strlen
(
"X-AGENT"
));
strlen
(
"X-AGENT"
));
}
}
mask
=
nxagentGetDefaultEventMask
();
XSelectInput
(
nxagentDisplay
,
nxagentFullscreenWindow
,
nxagentGetDefaultEventMask
());
XSelectInput
(
nxagentDisplay
,
nxagentFullscreenWindow
,
mask
);
}
}
XSizeHints
*
sizeHints
=
XAllocSizeHints
();
XSizeHints
*
sizeHints
=
XAllocSizeHints
();
...
...
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