Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Crashes on launch #46

Open
mmhobi7 opened this issue Jan 19, 2022 · 1 comment
Open

Crashes on launch #46

mmhobi7 opened this issue Jan 19, 2022 · 1 comment

Comments

@mmhobi7
Copy link

mmhobi7 commented Jan 19, 2022

➜ oguri git:(master) ✗ build/oguri
oguri: ../oguri.c:308: main: Assertion `oguri.display' failed.
[1] 165840 IOT instruction (core dumped) builda/oguri

@mmhobi7
Copy link
Author

mmhobi7 commented Jan 19, 2022

https://github.com/vilhalmer/oguri/blob/master/oguri.c#L308
This line is checking whether it can create a wl_display_connect. The program is crashing because I am on x11 and not wayland right now and thus cannot create a wl_display_connect. I propose adding a message to let users know why the app does not run.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant