mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-28 01:40:17 -05:00
changelog: crash when xdg token is set, but compositor does not support activation
This commit is contained in:
parent
9257273d84
commit
b2963bbf80
2 changed files with 4 additions and 1 deletions
|
|
@ -93,10 +93,13 @@
|
||||||
another opaque, maximized window ([#1464][1464]).
|
another opaque, maximized window ([#1464][1464]).
|
||||||
* Double-width characters, and grapheme clusters breaking URL
|
* Double-width characters, and grapheme clusters breaking URL
|
||||||
auto-detection ([#1465][1465]).
|
auto-detection ([#1465][1465]).
|
||||||
|
* Crash when `XDG_ACTIVATION_TOKEN` is set, but compositor does not
|
||||||
|
support XDG activation ([#1493][1493]).
|
||||||
|
|
||||||
[1436]: https://codeberg.org/dnkl/foot/issues/1436
|
[1436]: https://codeberg.org/dnkl/foot/issues/1436
|
||||||
[1464]: https://codeberg.org/dnkl/foot/issues/1464
|
[1464]: https://codeberg.org/dnkl/foot/issues/1464
|
||||||
[1465]: https://codeberg.org/dnkl/foot/issues/1465
|
[1465]: https://codeberg.org/dnkl/foot/issues/1465
|
||||||
|
[1493]: https://codeberg.org/dnkl/foot/pulls/1493
|
||||||
|
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
||||||
|
|
@ -1701,7 +1701,7 @@ wayl_win_init(struct terminal *term, const char *token)
|
||||||
wl_surface_commit(win->surface.surf);
|
wl_surface_commit(win->surface.surf);
|
||||||
|
|
||||||
/* Complete XDG startup notification */
|
/* Complete XDG startup notification */
|
||||||
if (token && wayl->xdg_activation)
|
if (token && wayl->xdg_activation != NULL)
|
||||||
xdg_activation_v1_activate(wayl->xdg_activation, token, win->surface.surf);
|
xdg_activation_v1_activate(wayl->xdg_activation, token, win->surface.surf);
|
||||||
|
|
||||||
if (!wayl_win_subsurface_new(win, &win->overlay, false)) {
|
if (!wayl_win_subsurface_new(win, &win->overlay, false)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue