]> git.sur5r.net Git - i3/i3/blobdiff - src/randr.c
Force WM_TAKE_FOCUS event to be sent when clicking
[i3/i3] / src / randr.c
index 85f0eab3a916153c5eec4075fac99f75b33f6544..73adbf0ea6042327508ff8b619a395fdbf7c66bb 100644 (file)
@@ -60,7 +60,7 @@ Output *get_output_by_name(const char *name) {
  * Returns the first output which is active.
  *
  */
-Output *get_first_output() {
+Output *get_first_output(void) {
     Output *output;
 
     TAILQ_FOREACH(output, &outputs, outputs)
@@ -539,7 +539,7 @@ static void handle_output(xcb_connection_t *conn, xcb_randr_output_t id,
  * (Re-)queries the outputs via RandR and stores them in the list of outputs.
  *
  */
-void randr_query_outputs() {
+void randr_query_outputs(void) {
     Output *output, *other, *first;
     xcb_randr_get_output_primary_cookie_t pcookie;
     xcb_randr_get_screen_resources_current_cookie_t rcookie;