sowm: skip setting unneeded variables.

This commit is contained in:
Dylan Araps 2019-10-17 14:28:17 +03:00
parent c4d0b2ee8c
commit 7a995a4970
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
sowm.c
View File

@ -333,7 +333,7 @@ void win_kill() {
void win_center(const Arg arg) {
Window w = arg.w ? arg.w : win_current();
win_size(w, &wx, &wy, &ww, &wh);
win_size(w, &(int){0}, &(int){0}, &ww, &wh);
XMoveWindow(d, w, sw / 2 - ww / 2,
sh / 2 - wh / 2);