Skip to content

Commit

Permalink
wlc: Update documentation for wlc_init2
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudef committed Mar 24, 2016
1 parent e9df447 commit d7640a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/wlc/wlc.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ bool wlc_init(const struct wlc_interface *interface, int argc, char *argv[]);
* privileges on non logind systems where compositor binary needs to be suid.
*
* wlc_init's purpose is to initialize and drop privileges as soon as possible.
*
* Callbacks should be set using wlc_set_*_cb functions before calling wlc_init2,
* failing to do so will cause any callback the init may trigger to not be called.
*/
bool wlc_init2(void);

Expand Down

0 comments on commit d7640a4

Please sign in to comment.