mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
Update to new WLC API
This commit is contained in:
parent
686530d5e8
commit
5c85c018b4
3 changed files with 23 additions and 37 deletions
|
|
@ -187,7 +187,8 @@ int main(int argc, char **argv) {
|
|||
/* Changing code earlier than this point requires detailed review */
|
||||
/* (That code runs as root on systems without logind, and wlc_init drops to
|
||||
* another user.) */
|
||||
if (!wlc_init(&interface, argc, argv)) {
|
||||
register_wlc_handlers();
|
||||
if (!wlc_init2()) {
|
||||
return 1;
|
||||
}
|
||||
register_extensions();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue