summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2009-12-11 19:02:11 -0500
committerDana Jansens <danakj@orodu.net>2009-12-11 19:02:11 -0500
commitacafa38c8ea210b12ed92fc16281b915ab61542c (patch)
treece4c7d2a4a9b3478a4d48af2c54ada06593ed022 /tests
parent2f09e0ce388f63c341cb328d795766e2bd0dc24b (diff)
parent9ba2b04e96449fea5b6bd212aa3d431638754bdd (diff)
Merge branch 'backport' into work
Conflicts: openbox/config.c openbox/event.c openbox/prop.c openbox/prop.h openbox/screen.c openbox/screen.h
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);