-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #177 from zandrmartin/add-pid-to-views
implement wlc_view_get_pid()
- Loading branch information
Showing
5 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
.TH WLC_VIEW_GET_PID 3 2016-07-29 WLC "WLC Core API Functions" | ||
|
||
.SH NAME | ||
wlc_view_get_pid - get the process id for a given view | ||
|
||
.SH SYNOPSIS | ||
.B #include <wlc/wlc.h> | ||
|
||
.BI "pid_t wlc_view_get_pid(wlc_handle "view ");" | ||
|
||
.SS Wayland protocol requirements: | ||
.RS | ||
.BR wlc_view_get_pid (): | ||
xdg_shell | ||
.RE | ||
|
||
.SH DESCRIPTION | ||
.BR wlc_view_get_pid () | ||
can be used to acquire the process id of a given | ||
.I view. | ||
|
||
.SH RETURN VALUE | ||
.BR wlc_view_get_pid () | ||
returns the process id for | ||
.I view | ||
if it is available. Returns 0 (not a valid pid) if it is not. For X11 | ||
views this requires the application set the __NET_WM_PID property. | ||
|
||
.SH ALSO SEE | ||
The XDG Shell protocol extension | ||
.UR http://cgit.freedesktop.org/wayland/weston/tree/protocol/xdg-shell.xml | ||
.UE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters