-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support non-X11 windowing systems #504
Conversation
@wmww |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have not tested, but code looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't work on Wayland (older wayfire version in use for this test) with a MATE x11 session also running: got
cannot parse arguments: cannot open display
Does master on X11 work for you? I don't understand how this PR could have broken it on X11. |
Didn't break it, master had same issue. Might be pickng up that X is running on another VT though, I did not have time to shut my session down and test with only a wayland session running
|
I tested that this works on both Wayfire (Wayland) and Openbox (X11). @lukefromdc: GTK prefers Wayland over X11, so I have no idea how you could get that error on Wayland. |
Probably didn't lile trying to open on Wayland while an x11 session.was also running on another VT, those kind of hassles seem to have increased lately. Some programs in this environment open in rhe wayland session if started from.the x11 session, some if started from the wayland session, some.not at all. A real nuisance for quick wayland testing on a bare metal-only setup
|
@lukefromdc you can generally fix that sort of thing with environment variables. I don't know your exact setup so I can't give a magic incantation, but somewhere in here is probably the solution to your problem: https://discourse.ubuntu.com/t/environment-variables-for-wayland-hackers/12750 |
I get a crash in wayfire session with that PR in a virtual machine with fedora 32. Of course atril runs fine under X11.
|
Hmm, |
@raveit65: In the VM where it doesn't work, could you run Atril in GDB and post the backtrace? And does it also happen in Weston? |
Ok, and now the cordump from wayfire session in VM
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM,
atril runs fine under wayfire session on baremetal and weston session in VM.
I tested also presentation and fullscreen mode with pdf. Works like expected.
@lukefromdc |
Proceed to merge: I have not had time to debug
this and consider the test invalidated by same
behavior on master.
|
Fixes #492