Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
2f2ca0c4
Commit
2f2ca0c4
authored
18 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add simple accessor func. for window it.
parent
965ec8a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/include/ZMap/zmapXRemote.h
+4
-3
4 additions, 3 deletions
src/include/ZMap/zmapXRemote.h
src/zmapControl/remote/zmapXRemote.c
+13
-3
13 additions, 3 deletions
src/zmapControl/remote/zmapXRemote.c
with
17 additions
and
6 deletions
src/include/ZMap/zmapXRemote.h
+
4
−
3
View file @
2f2ca0c4
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See ZMap/zmapXRemote.h (this file)
* HISTORY:
* Last edited: Mar
8
1
7:17
2007 (
rds
)
* Last edited: Mar
9
1
0:29
2007 (
edgrif
)
* Created: Wed Apr 13 19:02:52 2005 (rds)
* CVS info: $Id: zmapXRemote.h,v 1.1
4
2007-03-09
08:24:56 rds
Exp $
* CVS info: $Id: zmapXRemote.h,v 1.1
5
2007-03-09
10:29:10 edgrif
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -48,7 +48,7 @@
#include
<X11/Xatom.h>
/* These are here just to allow checking */
#define ZMAP_XREMOTE_CURRENT_VERSION "$Revision: 1.1
4
$"
#define ZMAP_XREMOTE_CURRENT_VERSION "$Revision: 1.1
5
$"
#define ZMAP_XREMOTE_CURRENT_VERSION_ATOM "_ZMAP_XREMOTE_VERSION"
#define ZMAP_XREMOTE_APPLICATION_ATOM "_ZMAP_XREMOTE_APP"
...
...
@@ -157,6 +157,7 @@ void zMapXRemoteSetResponseAtomName(zMapXRemoteObj object, char *name); /* Ditto
void
zMapXRemoteSetWindowID
(
zMapXRemoteObj
object
,
unsigned
long
window_id
);
/* Ditto */
char
*
zMapXRemoteGetResponse
(
zMapXRemoteObj
object
);
Window
zMapXRemoteGetWindowID
(
zMapXRemoteObj
object
)
;
GdkAtom
zMapXRemoteGdkRequestAtom
(
zMapXRemoteObj
object
);
GdkAtom
zMapXRemoteGdkResponseAtom
(
zMapXRemoteObj
object
);
...
...
This diff is collapsed.
Click to expand it.
src/zmapControl/remote/zmapXRemote.c
+
13
−
3
View file @
2f2ca0c4
...
...
@@ -27,9 +27,9 @@
*
* Exported functions: See ZMap/zmapXRemote.h
* HISTORY:
* Last edited: Mar 9 0
8
:2
3
2007 (
rds
)
* Last edited: Mar 9
1
0:2
8
2007 (
edgrif
)
* Created: Wed Apr 13 19:04:48 2005 (rds)
* CVS info: $Id: zmapXRemote.c,v 1.2
1
2007-03-09
08:23:48 rds
Exp $
* CVS info: $Id: zmapXRemote.c,v 1.2
2
2007-03-09
10:29:10 edgrif
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -279,13 +279,14 @@ int zMapXRemoteSendRemoteCommand(zMapXRemoteObj object, char *command, char **re
XSelectInput
(
object
->
display
,
object
->
window_id
,
event_mask
);
result
=
zmapXRemoteChangeProperty
(
object
,
object
->
request_atom
,
command
);
zmapXDebug
(
"sent '%s'...
\n
"
,
command
);
while
(
!
isDone
&&
!
windowError
)
{
zmapXDebug
(
"%s"
,
" - while: I'm still waiting...
\n
"
);
// if(XPending(dpy))
XNextEvent
(
object
->
display
,
&
event
);
...
...
@@ -451,6 +452,15 @@ void zMapXRemoteResponseSplit(zMapXRemoteObj object, char *full_response, int *c
return
;
}
/* Get the window id. */
Window
zMapXRemoteGetWindowID
(
zMapXRemoteObj
object
)
{
zMapAssert
(
object
)
;
return
object
->
window_id
;
}
/*! zMapXRemoteGetResponse
* ------------------------
* Generally for the perl bit so it can get the response.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment