Re: [PATCH weston] Copying xkb_info when creating a seat causes problems

2013-09-04 Thread Kristian Høgsberg
On Wed, Sep 4, 2013 at 5:49 AM, Andrew Wedgbury wrote: > A simpler fix would be to not call xkb_info_destroy() when releasing a seat > in the case where the xkb_info for the seat was copied from the global > compositor settings (which can be determined by checking if keymap_fd is the > same) >

[PATCH weston] Copying xkb_info when creating a seat causes problems

2013-09-04 Thread Andrew Wedgbury
A simpler fix would be to not call xkb_info_destroy() when releasing a seat in the case where the xkb_info for the seat was copied from the global compositor settings (which can be determined by checking if keymap_fd is the same) In this case, xkb_map_unref() should still be called to unref the