[libwnck/wip/muktupavels/use-wnck-handle] screen: use WnckHandle to get window
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/use-wnck-handle] screen: use WnckHandle to get window
- Date: Thu, 24 Feb 2022 15:20:05 +0000 (UTC)
commit a129eac3e83a17f2c1ef8dd876e8ee9077f83381
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Thu Feb 24 14:00:20 2022 +0200
screen: use WnckHandle to get window
libwnck/screen.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libwnck/screen.c b/libwnck/screen.c
index 094f23ef..5692720f 100644
--- a/libwnck/screen.c
+++ b/libwnck/screen.c
@@ -1405,7 +1405,7 @@ update_client_list (WnckScreen *screen)
{
WnckWindow *window;
- window = wnck_window_get (mapping[i]);
+ window = _wnck_handle_get_window (screen->priv->handle, mapping[i]);
if (window == NULL)
{
@@ -1501,7 +1501,7 @@ update_client_list (WnckScreen *screen)
{
WnckWindow *window;
- window = wnck_window_get (stack[i]);
+ window = _wnck_handle_get_window (screen->priv->handle, stack[i]);
g_assert (window != NULL);
@@ -1915,7 +1915,7 @@ update_active_window (WnckScreen *screen)
_wnck_atom_get ("_NET_ACTIVE_WINDOW"),
&xwindow);
- window = wnck_window_get (xwindow);
+ window = _wnck_handle_get_window (screen->priv->handle, xwindow);
if (window == screen->priv->active_window)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]