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
1b7f37a8
Commit
1b7f37a8
authored
Dec 30, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
Jan 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxagent: make nxagentShadowResize a Boolean
parent
3e093f9e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
Events.c
nx-X11/programs/Xserver/hw/nxagent/Events.c
+1
-1
Handlers.c
nx-X11/programs/Xserver/hw/nxagent/Handlers.c
+2
-2
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+1
-1
Screen.h
nx-X11/programs/Xserver/hw/nxagent/Screen.h
+1
-1
No files found.
nx-X11/programs/Xserver/hw/nxagent/Events.c
View file @
1b7f37a8
...
...
@@ -3373,7 +3373,7 @@ int nxagentHandleConfigureNotify(XEvent* X)
(
nxagentOption
(
Width
)
!=
X
->
xconfigure
.
width
||
nxagentOption
(
Height
)
!=
X
->
xconfigure
.
height
))
{
nxagentShadowResize
=
1
;
nxagentShadowResize
=
True
;
}
if
(
nxagentOption
(
Width
)
!=
X
->
xconfigure
.
width
||
nxagentOption
(
Height
)
!=
X
->
xconfigure
.
height
)
...
...
nx-X11/programs/Xserver/hw/nxagent/Handlers.c
View file @
1b7f37a8
...
...
@@ -732,9 +732,9 @@ void nxagentShadowBlockHandler(void * data, struct timeval **timeout, void * mas
nxagentDispatchEvents
(
NULL
);
}
if
(
nxagentShadowResize
==
1
)
if
(
nxagentShadowResize
)
{
nxagentShadowResize
=
0
;
nxagentShadowResize
=
False
;
nxagentShadowAdaptToRatio
();
}
...
...
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
1b7f37a8
...
...
@@ -176,7 +176,7 @@ void nxagentPrintAgentGeometry(char *hdrMessage, char *prefix);
* These variables are for shadowing feature.
*/
int
nxagentShadowResize
=
0
;
Bool
nxagentShadowResize
=
False
;
WindowPtr
nxagentShadowWindowPtr
=
NULL
;
...
...
nx-X11/programs/Xserver/hw/nxagent/Screen.h
View file @
1b7f37a8
...
...
@@ -67,7 +67,7 @@ extern RegionRec nxagentShadowUpdateRegion;
extern
WindowPtr
nxagentShadowWindowPtr
;
extern
int
nxagentShadowResize
;
extern
Bool
nxagentShadowResize
;
extern
short
nxagentShadowUid
;
...
...
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