mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
shell/tray-icon: Adapt to moved xwindow property to XWindow
Associated merge request: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3211 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3026>
This commit is contained in:
parent
d3b2784db0
commit
129fe3a07e
1 changed files with 2 additions and 1 deletions
|
|
@ -64,7 +64,8 @@ shell_tray_icon_window_created_cb (MetaDisplay *display,
|
|||
MetaWindow *window,
|
||||
ShellTrayIcon *tray_icon)
|
||||
{
|
||||
Window xwindow = meta_window_get_xwindow (window);
|
||||
MetaX11Display *x11_display = meta_display_get_x11_display (display);
|
||||
Window xwindow = meta_x11_display_lookup_xwindow (x11_display, window);
|
||||
|
||||
if (tray_icon->tray_child &&
|
||||
xwindow == na_xembed_get_socket_window (NA_XEMBED (tray_icon->tray_child)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue