Skip to content

Commit

Permalink
fix C warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Jun 23, 2024
1 parent 880778e commit 5d4ad81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xresize.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ int send_resize_to_pid(int pid, int w, int h) {
Window windows[128];
Window root = DefaultRootWindow(display);

int n = find_windows_by_pid(display, root, pid, &windows, 0);
int n = find_windows_by_pid(display, root, pid, &windows[0], 0);
if (n > 0) {
for (int i = 0; i < n; i++) {
send_resize_event(display, windows[i], w, h);
Expand Down

0 comments on commit 5d4ad81

Please sign in to comment.