summaryrefslogtreecommitdiff
path: root/libwnck/screen.c
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2011-07-30 03:27:17 +0200
committerVincent Untz <vuntz@gnome.org>2011-08-12 11:56:56 +0200
commit065fb8394e5437a741da50bb22558babcf5ce9c1 (patch)
tree7cfd55aa1a9bd64839829382d5c0db56b224c8f5 /libwnck/screen.c
parent862a730f68c64ac8659cb45e898fb533b66cfdb9 (diff)
downloadlibwnck-065fb8394e5437a741da50bb22558babcf5ce9c1.tar.gz
core: Add API to get WM_CLASS group name & instance name of a WnckWindow
The old private getters for getting a window WM_CLASS name or WM_CLASS are now public as wnck_window_get_class_group_name() and wnck_window_get_class_instance_name(). It's important to be able to get the instance name as they could differ for special windows or for sub-applications (i.e. chromium web-apps). Also make wnckprop print out the window class instance. https://bugzilla.gnome.org/show_bug.cgi?id=168718
Diffstat (limited to 'libwnck/screen.c')
-rw-r--r--libwnck/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libwnck/screen.c b/libwnck/screen.c
index 07d66cf..fabbac0 100644
--- a/libwnck/screen.c
+++ b/libwnck/screen.c
@@ -1530,7 +1530,7 @@ update_client_list (WnckScreen *screen)
/* Class group */
- res_class = _wnck_window_get_resource_class (window);
+ res_class = wnck_window_get_class_group_name (window);
class_group = wnck_class_group_get (res_class);
if (class_group == NULL)