diff options
author | Colomban Wendling <[email protected]> | 2024-01-25 10:53:38 +0100 |
---|---|---|
committer | Luke from DC <[email protected]> | 2024-01-25 18:18:56 +0000 |
commit | ad39a8ba88f4286c8f1e5f0cb9ac2b89b1d79726 (patch) | |
tree | 1d40b037a9d08c0d540491841b8033778490f5c2 /applets/Makefile.am | |
parent | 5f5d0a538d5fadb54c20bb92a5f737b7bcd1d06f (diff) | |
download | mate-panel-ad39a8ba88f4286c8f1e5f0cb9ac2b89b1d79726.tar.bz2 mate-panel-ad39a8ba88f4286c8f1e5f0cb9ac2b89b1d79726.tar.xz |
run-dialog: Don't needlessly override DISPLAY environment variable
This code got introduced with 3c21f66bf30810fcb25dfe8c3c0960df270dc416
trying to mimic `gdk_spawn_on_screen()`, but does not: what
`gdk_spawn_on_screen()` did (on X11) was to append the screen number to
the display, so that it worked on a multi-screen setup where the app is
not on the default X screen.
However, the code that got introduced just sets the display, which is
gonna be already there anyway (yet possibly loosing the default screen
in the process?), and AFAIK GDK dropped support for multi-screen setups
anyway (not to be confused with multi-monitor with e.g. Xinerama).
We should actually be better of without any of this, as it most likely
doesn't do what it is supposed to, nobody needs what it failed to do,
and it breaks XWayland on Wayland.
Fixes #1387.
Diffstat (limited to 'applets/Makefile.am')
0 files changed, 0 insertions, 0 deletions