X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Frandr.h;h=43f7efe826ae26820842aa5a67fc10ea67a614cc;hb=a32b6da71249a71487b5708e0f043e5cb3b146c1;hp=dadcfd64912bf55836d3486014582e4ef87da9e1;hpb=8247f44e95b0eb7a1932bb151a34dd34cdd436cf;p=i3%2Fi3 diff --git a/include/randr.h b/include/randr.h index dadcfd64..43f7efe8 100644 --- a/include/randr.h +++ b/include/randr.h @@ -9,8 +9,7 @@ * (take your time to read it completely, it answers all questions). * */ -#ifndef I3_RANDR_H -#define I3_RANDR_H +#pragma once #include "data.h" #include @@ -85,7 +84,7 @@ Output *get_output_by_name(const char *name); * if there is no output which contains these coordinates. * */ -Output *get_output_containing(int x, int y); +Output *get_output_containing(unsigned int x, unsigned int y); /* * In contained_by_output, we check if any active output contains part of the container. @@ -121,5 +120,3 @@ Output *get_output_next(direction_t direction, Output *current, output_close_far * */ Output *get_output_next_wrap(direction_t direction, Output *current); - -#endif