[libwnck/wip/muktupavels/use-wnck-handle] screen: use WnckHandle to get application



commit 10fea1235b467ae339c1af33bbd7313dcb9f7ecd
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Feb 24 14:01:47 2022 +0200

    screen: use WnckHandle to get application

 libwnck/screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libwnck/screen.c b/libwnck/screen.c
index ecd8dc2e..26cc5af0 100644
--- a/libwnck/screen.c
+++ b/libwnck/screen.c
@@ -1424,7 +1424,7 @@ update_client_list (WnckScreen *screen)
 
           leader = wnck_window_get_group_leader (window);
 
-          app = wnck_application_get (leader);
+          app = _wnck_handle_get_application (screen->priv->handle, leader);
           if (app == NULL)
             {
               app = _wnck_application_create (leader, screen);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]