davesteele / gnome-gmail

Integrate GMail into the Linux Desktop
https://davesteele.github.io/gnome-gmail/
GNU General Public License v2.0
50 stars 13 forks source link

Fail OAuth gracefully when default screen cannot be accessed #53

Closed scop closed 7 years ago

scop commented 7 years ago

Wnck.Screen.get_default may return None on non-X11, e.g. Wayland; this happens for me in Fedora 25. Would be nice to get things working with Wayland as well, but I think this is better than the unexplained traceback.

scop commented 7 years ago

(One workaround appears to be to run gnome-gmail with GDK_BACKEND=x11 in the environment.)

davesteele commented 7 years ago

Addresses #51.

Looks fine for my environment. I'll trust that it works for yours.

davesteele commented 7 years ago

So how does one iterate over windows in Wayland?

scop commented 7 years ago

I don't know.