sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 9afcfd44c425691180a96d4e0d6673e5ac96dcce
parent 6a694853e5b65ab44b1b83572cc0f1c0ad8da960
Author: Tony Crisci <tony@dubstepdish.com>
Date:   Sun,  3 Dec 2017 17:00:17 -0500

wl-shell: class instead of app_id

Diffstat:
Minclude/sway/view.h | 1+
Msway/desktop/wl_shell.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/sway/view.h b/include/sway/view.h @@ -42,6 +42,7 @@ enum sway_view_type { enum sway_view_prop { VIEW_PROP_TITLE, VIEW_PROP_APP_ID, + VIEW_PROP_CLASS, VIEW_PROP_INSTANCE, }; diff --git a/sway/desktop/wl_shell.c b/sway/desktop/wl_shell.c @@ -21,7 +21,7 @@ static const char *get_prop(struct sway_view *view, enum sway_view_prop prop) { switch (prop) { case VIEW_PROP_TITLE: return view->wlr_wl_shell_surface->title; - case VIEW_PROP_APP_ID: + case VIEW_PROP_CLASS: return view->wlr_wl_shell_surface->class; default: return NULL;