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
f323ada3
Commit
f323ada3
authored
Sep 05, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Sep 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxagent: move atom initiatialization to Init.c
It is not dependent on any root window and needs only be called once on startup.
parent
4fa0ea26
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Init.c
nx-X11/programs/Xserver/hw/nxagent/Init.c
+3
-0
NXwindow.c
nx-X11/programs/Xserver/hw/nxagent/NXwindow.c
+0
-3
No files found.
nx-X11/programs/Xserver/hw/nxagent/Init.c
View file @
f323ada3
...
@@ -71,6 +71,7 @@ is" without express or implied warranty.
...
@@ -71,6 +71,7 @@ is" without express or implied warranty.
#include "Millis.h"
#include "Millis.h"
#include "Error.h"
#include "Error.h"
#include "Keystroke.h"
#include "Keystroke.h"
#include "Atoms.h"
#include <nx/NX.h>
#include <nx/NX.h>
#include "compext/Compext.h"
#include "compext/Compext.h"
...
@@ -414,6 +415,8 @@ FIXME: These variables, if not removed at all because have probably
...
@@ -414,6 +415,8 @@ FIXME: These variables, if not removed at all because have probably
#ifdef NXAGENT_CLIPBOARD
#ifdef NXAGENT_CLIPBOARD
AddCallback
(
&
SelectionCallback
,
nxagentSetSelectionCallback
,
NULL
);
AddCallback
(
&
SelectionCallback
,
nxagentSetSelectionCallback
,
NULL
);
#endif
#endif
nxagentInitAtoms
();
}
}
void
void
...
...
nx-X11/programs/Xserver/hw/nxagent/NXwindow.c
View file @
f323ada3
...
@@ -106,7 +106,6 @@ Equipment Corporation.
...
@@ -106,7 +106,6 @@ Equipment Corporation.
#include "Screen.h"
#include "Screen.h"
#include "Options.h"
#include "Options.h"
#include "Atoms.h"
#include "Clipboard.h"
#include "Clipboard.h"
#include "Splash.h"
#include "Splash.h"
#include "Rootless.h"
#include "Rootless.h"
...
@@ -204,8 +203,6 @@ InitRootWindow(WindowPtr pWin)
...
@@ -204,8 +203,6 @@ InitRootWindow(WindowPtr pWin)
fprintf
(
stderr
,
"InitRootWindow: Mapping default windows.
\n
"
);
fprintf
(
stderr
,
"InitRootWindow: Mapping default windows.
\n
"
);
#endif
#endif
nxagentInitAtoms
();
nxagentInitClipboard
(
pWin
);
nxagentInitClipboard
(
pWin
);
nxagentMapDefaultWindows
();
nxagentMapDefaultWindows
();
...
...
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