summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylandshellsurface.h
diff options
context:
space:
mode:
authorPier Luigi Fiorini <pierluigi.fiorini@gmail.com>2012-11-05 22:11:15 +0100
committerAndy Nichols <andy.nichols@digia.com>2013-01-04 14:26:23 +0100
commit819d3b1f159d34116fb27f00468371410322c1c8 (patch)
tree9dd364b254ba525fad65472372aa0bbe5eec2829 /src/plugins/platforms/wayland/qwaylandshellsurface.h
parent4323bf663ea131897857ff564943b17e914ccd9b (diff)
Set surface class name.
The class name identifies the general class of applications to which the surface belongs. The class is the name of the desktop file and is derived from the process name. We might want to add a new method to QWindow in order to set a custom class name. It's quiet similar to WM_CLASS on X11, for more information see https://live.gnome.org/GnomeShell/ApplicationBased Change-Id: I5be90fb45e82e79710dda376f42c18c126d2a80f Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandshellsurface.h')
-rw-r--r--src/plugins/platforms/wayland/qwaylandshellsurface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandshellsurface.h b/src/plugins/platforms/wayland/qwaylandshellsurface.h
index 4772e69be..d18bda36d 100644
--- a/src/plugins/platforms/wayland/qwaylandshellsurface.h
+++ b/src/plugins/platforms/wayland/qwaylandshellsurface.h
@@ -64,6 +64,8 @@ public:
struct wl_shell_surface *handle() const { return m_shell_surface; }
+ void setClassName(const char *_class);
+
void setTitle(const char *title);
private: