int cursor, width, height;
window = hash_table_lookup(wm->window_hash, motion->event);
- if (!window)
+ if (!window || !window->decorate)
return;
weston_wm_window_get_frame_size(window, &width, &height);
int cursor, width, height;
window = hash_table_lookup(wm->window_hash, enter->event);
- if (!window)
+ if (!window || !window->decorate)
return;
weston_wm_window_get_frame_size(window, &width, &height);
struct weston_wm_window *window;
window = hash_table_lookup(wm->window_hash, leave->event);
- if (!window)
+ if (!window || !window->decorate)
return;
weston_wm_window_set_cursor(wm, window->frame_id, XWM_CURSOR_LEFT_PTR);