[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RP] [PATCH 2/7] Move function declaration to the right header
From: |
Mathieu OTHACEHE |
Subject: |
[RP] [PATCH 2/7] Move function declaration to the right header |
Date: |
Wed, 7 Dec 2016 10:03:53 +0100 |
find_screen is defined in screen.c so it makes more sense to declare it
in screen.h
---
src/ratpoison.h | 1 -
src/screen.h | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ratpoison.h b/src/ratpoison.h
index c98dd40..981a882 100644
--- a/src/ratpoison.h
+++ b/src/ratpoison.h
@@ -82,7 +82,6 @@ extern XGCValues gv;
#include "format.h"
void clean_up (void);
-rp_screen *find_screen (Window w);
void set_close_on_exec (int fd);
const char *get_homedir (void);
diff --git a/src/screen.h b/src/screen.h
index 2072d36..67d8ab4 100644
--- a/src/screen.h
+++ b/src/screen.h
@@ -35,6 +35,7 @@ void frameset_free (struct list_head *head);
rp_frame *screen_get_frame (rp_screen *s, int frame_num);
rp_frame *screen_find_frame_by_frame (rp_screen *s, rp_frame *f);
+rp_screen *find_screen (Window w);
void init_screens (void);
void activate_screen (rp_screen *s);
void deactivate_screen (rp_screen *s);
--
2.10.0
- [RP] [PATCH 0/7] Add xrandr primary screen support, Mathieu OTHACEHE, 2016/12/07
- [RP] [PATCH 2/7] Move function declaration to the right header,
Mathieu OTHACEHE <=
- [RP] [PATCH 1/7] Remove useless argument from is_rp_window_for_screen function, Mathieu OTHACEHE, 2016/12/07
- [RP] [PATCH 4/7] Store RootWindow in global_screen structure, Mathieu OTHACEHE, 2016/12/07
- [RP] [PATCH 5/7] Add a function to find a screen matching a given XWindowAttributes, Mathieu OTHACEHE, 2016/12/07
- [RP] [PATCH 3/7] Add primary screen detection, Mathieu OTHACEHE, 2016/12/07
- [RP] [PATCH 7/7] Select xrandr primary screen at startup if possible, Mathieu OTHACEHE, 2016/12/07
- [RP] [PATCH 6/7] Simplify scanwins function, Mathieu OTHACEHE, 2016/12/07
- Re: [RP] [PATCH 0/7] Add xrandr primary screen support, Jeremie Courreges-Anglas, 2016/12/09