Purely mechanical; unify 'num', 'no' and 'shortcut'.
This commit is contained in:
4
xutil.c
4
xutil.c
@@ -291,10 +291,10 @@ xu_ewmh_net_desktop_names(struct screen_ctx *sc, char *data, int n)
|
||||
void
|
||||
xu_ewmh_net_wm_desktop(struct client_ctx *cc)
|
||||
{
|
||||
long no = cc->group->shortcut;
|
||||
long num = cc->group->num;
|
||||
|
||||
XChangeProperty(X_Dpy, cc->win, ewmh[_NET_WM_DESKTOP],
|
||||
XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&no, 1);
|
||||
XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&num, 1);
|
||||
}
|
||||
|
||||
Atom *
|
||||
|
||||
Reference in New Issue
Block a user