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:
committed by
Kristian Høgsberg
parent
f268446339
commit
9c4ff831c6
@@ -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 |
|
||||||
|
|||||||
Reference in New Issue
Block a user