emacs-exwm / exwm

Emacs X Window Manager
https://elpa.gnu.org/packages/exwm.html
GNU General Public License v3.0
189 stars 7 forks source link

Support pgtk? #37

Open BooAA opened 1 month ago

BooAA commented 1 month ago

There was a bug in the old repo about extending EXWM to support pgtk build. https://github.com/ch11ng/exwm/issues/860. Does the plan still exist now? Personally I found the pgtk branch snappier, also it's the only one that --with-xwidget works currently (which is the reason why I'm using that branch).

From the discussion in the old bug looks like no technical limitation preventing EXWM to work with pgtk, so I'm looking forward to see it works on pgtk. Thanks.

Stebalien commented 1 month ago

I'm happy to review a patch but I personally run EXWM without any toolkit and won't implement this. Note from the Emacs "INSTALL" file:

If you use exclusively X, do not use the PGTK port. There are a number of respects in which the regular --with-x-toolkit=gtk build works better. The PGTK port should not be considered a simple upgrade from --with-x-toolkit=gtk.

Given that EXWM is an X window manager, PGTK support isn't going to be a priority.

walseb commented 1 month ago

Building Emacs with GTK-3 works perfectly with EXWM. I believe that supports xwidgets also? Perhaps you can try that.

walseb commented 1 month ago

It seems like building with GTK 3 is enough to support xwidgets according to this https://www.emacswiki.org/emacs/EmacsXWidgets