xwm: Rename get_resources function
authorTiago Vignatti <tiago.vignatti@intel.com>
Fri, 30 Nov 2012 19:19:57 +0000 (17:19 -0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 30 Nov 2012 23:00:09 +0000 (18:00 -0500)
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@intel.com>
src/xwayland/window-manager.c

index 1b2c0da..9f01c82 100644 (file)
@@ -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 |