xwm: Rename get_resources function

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>
This commit is contained in:
Tiago Vignatti
2012-11-30 17:19:57 -02:00
committed by Kristian Høgsberg
parent f268446339
commit 9c4ff831c6
+2 -2
View File
@@ -1249,7 +1249,7 @@ weston_wm_handle_event(int fd, uint32_t mask, void *data)
} }
static void 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) #define F(field) offsetof(struct weston_wm, field)
@@ -1471,7 +1471,7 @@ weston_wm_create(struct weston_xserver *wxs)
weston_wm_handle_event, wm); weston_wm_handle_event, wm);
wl_event_source_check(wm->source); wl_event_source_check(wm->source);
wxs_wm_get_resources(wm); weston_wm_get_resources(wm);
values[0] = values[0] =
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY |