emacs-exwm / exwm

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

exwm-systemtray--init: make idempotent #48

Closed progfolio closed 5 months ago

progfolio commented 5 months ago

Return early if internal state initialized. See: https://github.com/emacs-exwm/exwm/issues/47

Stebalien commented 5 months ago

If we do it this way, I'd:

  1. Early-return on the first (the connection).
  2. Assert the rest.

But we'll still need to figure out how to handle exwm-randr (it'll probably need a new variable).

minad commented 5 months ago

Close in favor of #55 and https://github.com/emacs-exwm/exwm/commit/d41de490e3a63f8da8f11ed4cbde9d849490abda.