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
@ -64,7 +64,8 @@ shell_tray_icon_window_created_cb (MetaDisplay *display,
|
|||||||
MetaWindow *window,
|
MetaWindow *window,
|
||||||
ShellTrayIcon *tray_icon)
|
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 &&
|
if (tray_icon->tray_child &&
|
||||||
xwindow == na_xembed_get_socket_window (NA_XEMBED (tray_icon->tray_child)))
|
xwindow == na_xembed_get_socket_window (NA_XEMBED (tray_icon->tray_child)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user