[PATCH weston 02/17] xwm: Rename get_resources function

Tiago Vignatti tiago.vignatti at intel.com
Fri Nov 30 11:19:57 PST 2012


It's pure WM-related function, so use the same 'weston_wm_' prefix that others
in the same file are already using.

Signed-off-by: Tiago Vignatti <tiago.vignatti at intel.com>
---
 src/xwayland/window-manager.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xwayland/window-manager.c b/src/xwayland/window-manager.c
index 1b2c0da..9f01c82 100644
--- a/src/xwayland/window-manager.c
+++ b/src/xwayland/window-manager.c
@@ -1249,7 +1249,7 @@ weston_wm_handle_event(int fd, uint32_t mask, void *data)
 }
 
 static void
-wxs_wm_get_resources(struct weston_wm *wm)
+weston_wm_get_resources(struct weston_wm *wm)
 {
 
 #define F(field) offsetof(struct weston_wm, field)
@@ -1471,7 +1471,7 @@ weston_wm_create(struct weston_xserver *wxs)
 				     weston_wm_handle_event, wm);
 	wl_event_source_check(wm->source);
 
-	wxs_wm_get_resources(wm);
+	weston_wm_get_resources(wm);
 
 	values[0] =
 		XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY |
-- 
1.7.9.5



More information about the wayland-devel mailing list