Skip to content

Commit

Permalink
Merge branch 'windowclass', renaming to 'fmenu'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Weber committed Oct 3, 2009
2 parents 20d9f28 + ccee593 commit 7829f30
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions fmenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,13 @@ setup(Bool topbar) {
promptw = mw / 5;
text[0] = 0;
match(text);
// Set window class.
XClassHint *ch = XAllocClassHint();
ch->res_name = "fmenu";
ch->res_class = "fmenu";
XSetClassHint(dpy, win, ch);
XFree(ch);
// Map window.
XMapRaised(dpy, win);
}

Expand Down

0 comments on commit 7829f30

Please sign in to comment.