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
c9983230
You need to sign in or sign up before continuing.
Commit
c9983230
authored
Oct 10, 2011
by
Reinhard Tartler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Imported nxagent-3.2.0-6.tar.gz
Summary: Imported nxagent-3.2.0-6.tar.gz Keywords: Imported nxagent-3.2.0-6.tar.gz into Git repository
parent
b7916400
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
52 deletions
+15
-52
CHANGELOG
nx-X11/programs/Xserver/hw/nxagent/CHANGELOG
+9
-0
Events.c
nx-X11/programs/Xserver/hw/nxagent/Events.c
+5
-51
Image.c
nx-X11/programs/Xserver/hw/nxagent/Image.c
+1
-1
No files found.
nx-X11/programs/Xserver/hw/nxagent/CHANGELOG
View file @
c9983230
ChangeLog:
ChangeLog:
nxagent-3.2.0-6
- Fixed TR05F02063. Ignore ReparentNotify events for non-rootless
sessions.
- Fixed TR06F02068. Try to pack images only if format is ZPixmap.
- Don't require reparent on close of NX window.
nxagent-3.2.0-5
nxagent-3.2.0-5
- Fixed TR04F02044. Restored the original MakeRootTile() function in
- Fixed TR04F02044. Restored the original MakeRootTile() function in
...
...
nx-X11/programs/Xserver/hw/nxagent/Events.c
View file @
c9983230
...
@@ -2261,7 +2261,11 @@ int nxagentHandleClientMessageEvent(XEvent *X, enum HandleEventResult *result)
...
@@ -2261,7 +2261,11 @@ int nxagentHandleClientMessageEvent(XEvent *X, enum HandleEventResult *result)
{
{
pScreen
=
nxagentScreen
(
X
->
xmap
.
window
);
pScreen
=
nxagentScreen
(
X
->
xmap
.
window
);
nxagentMaximizeToFullScreen
(
pScreen
);
XMapRaised
(
nxagentDisplay
,
nxagentFullscreenWindow
);
XIconifyWindow
(
nxagentDisplay
,
nxagentIconWindow
,
DefaultScreen
(
nxagentDisplay
));
}
}
if
(
X
->
xclient
.
window
==
(
nxagentOption
(
Fullscreen
)
?
if
(
X
->
xclient
.
window
==
(
nxagentOption
(
Fullscreen
)
?
...
@@ -3058,56 +3062,6 @@ int nxagentHandleReparentNotify(XEvent* X)
...
@@ -3058,56 +3062,6 @@ int nxagentHandleReparentNotify(XEvent* X)
return
1
;
return
1
;
}
}
else
{
/*
* This code is supposed to detect if a window manager
* is running but in some cases it may be unreliable.
* Each window manager behaves differently so the check
* can fail for some less common WMs.
*/
if
(
!
nxagentWMIsRunning
&&
nxagentOption
(
Fullscreen
)
&&
X
->
xreparent
.
window
==
nxagentDefaultWindows
[
pScreen
->
myNum
])
{
#ifdef WARNING
fprintf
(
stderr
,
"Warning: The agent window was reparented. Is a "
"window manager running?
\n
"
);
#endif
/*
* If no window manager is running and we are supposed to
* be in fullscreen mode then don't wait for the reparent
* event. We can assume that there is an undetected window
* manager and, as switching to fullscreen could have fail-
* ed, we try it again.
*/
nxagentSwitchFullscreen
(
pScreen
,
True
);
nxagentWMIsRunning
=
True
;
}
else
if
(
nxagentWMIsRunning
&&
X
->
xreparent
.
window
==
nxagentDefaultWindows
[
pScreen
->
myNum
]
&&
X
->
xreparent
.
parent
==
RootWindow
(
nxagentDisplay
,
(
pScreen
->
myNum
)))
{
#ifdef WARNING
fprintf
(
stderr
,
"Warning: The agent window has been reparented to the root.
\n
"
);
fprintf
(
stderr
,
"Warning: No window manager seems to be running.
\n
"
);
#endif
/*
* The agent window was unexpectedly reparented
* to the root window. We assume that the window
* manager was terminated.
*/
nxagentWMIsRunning
=
False
;
}
}
return
1
;
return
1
;
}
}
...
...
nx-X11/programs/Xserver/hw/nxagent/Image.c
View file @
c9983230
...
@@ -1176,7 +1176,7 @@ FIXME: Should use an unpack resource here.
...
@@ -1176,7 +1176,7 @@ FIXME: Should use an unpack resource here.
*/
*/
pack
=
(
nxagentOption
(
LinkType
)
!=
LINK_TYPE_NONE
&&
pack
=
(
nxagentOption
(
LinkType
)
!=
LINK_TYPE_NONE
&&
packMethod
!=
PACK_NONE
&&
depth
>
8
);
packMethod
!=
PACK_NONE
&&
depth
>
8
&&
format
==
ZPixmap
);
lossless
=
(
packMethod
==
nxagentPackLossless
);
lossless
=
(
packMethod
==
nxagentPackLossless
);
...
...
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