GKFX / hide-ff-title-bar

A WebExtension for Firefox to hide the title bar on GTK 3 systems.
https://addons.mozilla.org/en-US/firefox/addon/hide-title-bar/
Other
15 stars 5 forks source link

Does not work with Wayland #12

Open lorenzleutgeb opened 7 years ago

lorenzleutgeb commented 7 years ago

Hi!

It seems like you expect some X11ish object there, but I am running Wayland, which is the default on Fedora.

Traceback (most recent call last):
  File "native.py", line 44, in <module>
    gdk_window = GdkX11.X11Window.foreign_new_for_display(gdk_display, ffPid)
TypeError: argument display: Expected GdkX11.X11Display, but got __gi__.GdkWaylandDisplay
gpfl commented 7 years ago

Not a solution, but I found a workaround for that problem. I installed xorg-server-xwayland to run X11 applications on Wayland, then created a "Nightly.desktop" launcher with Exec=env GDK_BACKEND=x11 firefox-nightly --class=FirefoxNightly %u