[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master fe7c015b20: Support XFCE in wallpaper.el
From: |
Eli Zaretskii |
Subject: |
Re: master fe7c015b20: Support XFCE in wallpaper.el |
Date: |
Tue, 27 Sep 2022 08:56:15 +0300 |
> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Mon, 26 Sep 2022 15:42:51 -0400
> Cc: emacs-devel@gnu.org, Thierry Volpiatto <thievol@posteo.net>
>
> Po Lu <luangruo@yahoo.com> writes:
>
> > The screen number should be the following part of the `display' frame
> > parameter:
> >
> > 1.1.1.1:0.5
> > ^ screen number is 5
> >
> > if there is no period after the separator, then the screen number is 0.
> >
> > The currently active workspace can be obtained like so:
> >
> > (x-window-property "_NET_CURRENT_DESKTOP" nil "CARDINAL" 0 nil t)
> >
> > if it fails by returning NULL, then you should fall back to:
> >
> > (x-window-property "WIN_WORKSPACE" nil "CARDINAL" 0 nil t)
> >
> > and failing that, 0.
> >
> > The monitor name should also be easy to extract with
> > display-monitor-attributes-list, but if the source is anything other
> > than "XRandr", "XRandr 1.5" or "Gdk", you should fall back to using "0".
>
> Thanks, I've pushed a fix to master based on the above. I very much
> appreciated the clear instructions above, which saved me a ton of time.
It would be good to have at least the important properties accepted by
x-window-property documented in the doc string.
- Re: master fe7c015b20: Support XFCE in wallpaper.el, (continued)
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Thierry Volpiatto, 2022/09/19
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/26
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stephen Berman, 2022/09/26
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/26
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stephen Berman, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/26
- Re: master fe7c015b20: Support XFCE in wallpaper.el,
Eli Zaretskii <=
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Eli Zaretskii, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Eli Zaretskii, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Thierry Volpiatto, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Thierry Volpiatto, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Po Lu, 2022/09/27
- Re: master fe7c015b20: Support XFCE in wallpaper.el, Stefan Kangas, 2022/09/27