unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* i3 compatibility with Emacs 30
@ 2023-04-08 15:35 Nathaniel Nicandro
  2023-04-09  0:35 ` Po Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Nathaniel Nicandro @ 2023-04-08 15:35 UTC (permalink / raw)
  To: emacs-devel


Hello,

I use Sway (https://swaywm.org/) as a window manager in combination with
the i3-emacs package (https://github.com/vava/i3-emacs) which has been
working well for me.  i3-emacs has a feature where it will only use the
frames on the current workspace to open new Emacs windows.  Now after
switching to Emacs 30, some windows will pop-up on a frame in a
different workspace which means that I now have the extra burden of
switching to a different workspace to view the window.

I've found that in my version of Emacs I don't have an outer-window-id
frame property for some reason, just window-id, which seems extremely
odd.  i3-emacs depends on the outer-window-id to filter all the frames
to only those on the current workspace.

How could it possibly be that I'm missing the outer-window-id frame
property?

My Emacs configuration:

Emacs version:

    GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)

Configuration Features:

    ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER XIM XWIDGETS GTK3 ZLIB

Configuration options:

    CONFIG_SHELL=/gnu/store/…-bash-minimal-5.1.8/bin/bash SHELL=/gnu/store/…-bash-minimal-5.1.8/bin/bash --prefix=/gnu/store/…-emacs-next-pgtk-29.0.60-0.ac7ec87 --enable-fast-install --with-pgtk --with-xwidgets --with-modules --with-cairo --with-native-compilation --disable-build-details


-- 
Nathaniel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: i3 compatibility with Emacs 30
  2023-04-08 15:35 i3 compatibility with Emacs 30 Nathaniel Nicandro
@ 2023-04-09  0:35 ` Po Lu
  2023-04-17 20:59   ` Björn Bidar
  0 siblings, 1 reply; 4+ messages in thread
From: Po Lu @ 2023-04-09  0:35 UTC (permalink / raw)
  To: Nathaniel Nicandro; +Cc: emacs-devel

Nathaniel Nicandro <nathanielnicandro@gmail.com> writes:

> My Emacs configuration:
>
> Emacs version:
>
>     GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
>
> Configuration Features:
>
>     ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
> JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES
> NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3
> THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER XIM XWIDGETS GTK3 ZLIB
>
> Configuration options:
>
>     CONFIG_SHELL=/gnu/store/…-bash-minimal-5.1.8/bin/bash
> SHELL=/gnu/store/…-bash-minimal-5.1.8/bin/bash
> --prefix=/gnu/store/…-emacs-next-pgtk-29.0.60-0.ac7ec87
> --enable-fast-install --with-pgtk --with-xwidgets --with-modules
> --with-cairo --with-native-compilation --disable-build-details

You're using PGTK.  We do not support using such a configuration on X,
and that's also why `outer-window-id' isn't working as expected.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: i3 compatibility with Emacs 30
  2023-04-09  0:35 ` Po Lu
@ 2023-04-17 20:59   ` Björn Bidar
  2023-04-17 23:06     ` Po Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Björn Bidar @ 2023-04-17 20:59 UTC (permalink / raw)
  To: Po Lu; +Cc: Nathaniel Nicandro, emacs-devel

Po Lu <luangruo@yahoo.com> writes:

> You're using PGTK.  We do not support using such a configuration on X,
> and that's also why `outer-window-id' isn't working as expected.

Sway isn't running on X.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: i3 compatibility with Emacs 30
  2023-04-17 20:59   ` Björn Bidar
@ 2023-04-17 23:06     ` Po Lu
  0 siblings, 0 replies; 4+ messages in thread
From: Po Lu @ 2023-04-17 23:06 UTC (permalink / raw)
  To: Björn Bidar; +Cc: Nathaniel Nicandro, emacs-devel

Björn Bidar <bjorn.bidar@thaodan.de> writes:

> Po Lu <luangruo@yahoo.com> writes:
>
>> You're using PGTK.  We do not support using such a configuration on X,
>> and that's also why `outer-window-id' isn't working as expected.
>
> Sway isn't running on X.

Ah.  Wayland has no replacement for `outer-window-id'.  Previously, you
were using the window ID Emacs allocated from the Xwayland compatibility
layer.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-17 23:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-08 15:35 i3 compatibility with Emacs 30 Nathaniel Nicandro
2023-04-09  0:35 ` Po Lu
2023-04-17 20:59   ` Björn Bidar
2023-04-17 23:06     ` Po Lu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).