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
dbe3cc1f
You need to sign in or sign up before continuing.
Commit
dbe3cc1f
authored
Sep 05, 2019
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Composite.c: reformat comments
parent
560b7c6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
13 deletions
+10
-13
Composite.c
nx-X11/programs/Xserver/hw/nxagent/Composite.c
+10
-13
No files found.
nx-X11/programs/Xserver/hw/nxagent/Composite.c
View file @
dbe3cc1f
...
@@ -44,8 +44,7 @@
...
@@ -44,8 +44,7 @@
#undef DEBUG
#undef DEBUG
/*
/*
* Set if the composite extension is supported
* Set if the composite extension is supported by the remote display.
* by the remote display.
*/
*/
int
nxagentCompositeEnable
=
UNDEFINED
;
int
nxagentCompositeEnable
=
UNDEFINED
;
...
@@ -53,8 +52,7 @@ int nxagentCompositeEnable = UNDEFINED;
...
@@ -53,8 +52,7 @@ int nxagentCompositeEnable = UNDEFINED;
void
nxagentCompositeExtensionInit
(
void
)
void
nxagentCompositeExtensionInit
(
void
)
{
{
/*
/*
* Set the flag only if the initialization
* Set the flag only if the initialization completes.
* completes.
*/
*/
nxagentCompositeEnable
=
0
;
nxagentCompositeEnable
=
0
;
...
@@ -70,8 +68,8 @@ void nxagentCompositeExtensionInit(void)
...
@@ -70,8 +68,8 @@ void nxagentCompositeExtensionInit(void)
if
(
XCompositeQueryExtension
(
nxagentDisplay
,
&
eventBase
,
&
errorBase
)
==
1
)
if
(
XCompositeQueryExtension
(
nxagentDisplay
,
&
eventBase
,
&
errorBase
)
==
1
)
{
{
/*
/*
* At the moment we don't need to care
* At the moment we don't need to care
the version of the
*
the version of the
extension.
* extension.
*/
*/
#ifdef TEST
#ifdef TEST
...
@@ -143,13 +141,12 @@ void nxagentRedirectDefaultWindows(void)
...
@@ -143,13 +141,12 @@ void nxagentRedirectDefaultWindows(void)
#endif
#endif
/*
/*
* When trying to redirect only the top level window,
* When trying to redirect only the top level window, and not the
* and not the subwindows, we incur in a strange be-
* subwindows, we incur in a strange be- haviour. The top level is
* haviour. The top level is unmapped, mapped, unmap-
* unmapped, mapped, unmap- ped and then reparented. This at first
* ped and then reparented. This at first makes the
* makes the agent think that the window manager is gone, then the
* agent think that the window manager is gone, then
* agent window disappears. To make thinks even more weird, this
* the agent window disappears. To make thinks even
* happens only at reconnection.
* more weird, this happens only at reconnection.
*/
*/
XCompositeRedirectSubwindows
(
nxagentDisplay
,
nxagentDefaultWindows
[
pScreen
->
myNum
],
XCompositeRedirectSubwindows
(
nxagentDisplay
,
nxagentDefaultWindows
[
pScreen
->
myNum
],
...
...
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