summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-09 11:02:44 -0500
committerDana Jansens <danakj@orodu.net>2009-12-09 11:02:44 -0500
commitd95355ce5830d8e3377729c0a264c5823ca9a06d (patch)
treee9b0110ff16a05a658a598b28e9e694a5c741870 /tests
parentcf033623a0f5519a42d13119db5e023ffe08a1ac (diff)
Add a WM_CLASS to the skiptaskbar test
Diffstat (limited to 'tests')
-rw-r--r--tests/skiptaskbar.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/skiptaskbar.c b/tests/skiptaskbar.c
index 1b246160..bb585c6e 100644
--- a/tests/skiptaskbar.c
+++ b/tests/skiptaskbar.c
@@ -26,6 +26,7 @@ int main () {
Window win;
XEvent report;
Atom state, skip;
+ XClassHint classhint;
int x=10,y=10,h=400,w=400;
display = XOpenDisplay(NULL);
@@ -47,6 +48,10 @@ int main () {
XChangeProperty(display, win, state, XA_ATOM, 32,
PropModeReplace, (unsigned char*)&skip, 1);
+ classhint.res_name = "test";
+ classhint.res_class = "Test";
+ XSetClassHint(display, win, &classhint);
+
XMapWindow(display, win);
XFlush(display);