~hikiko/nux/nux.virtual-StaticText-func

« back to all changes in this revision

Viewing changes to NuxGraphics/XIMController.h

  • Committer: Tarmac
  • Author(s): Brandon Schaefer
  • Date: 2013-10-11 13:07:50 UTC
  • mfrom: (820.3.1 nux)
  • Revision ID: tarmac-20131011130750-0djgdk3qr6c7pepy
We need to check if the XIC client is synced up with the xevents coming in. If someone changes the focus window and our XIC hasn't been updated, we need to make sure we stay synced. Otherwise XIM fails to work. Fixes: https://bugs.launchpad.net/bugs/1175669.

Approved by Christopher Townsend, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
 
45
45
  void FocusInXIC();
46
46
  void FocusOutXIC();
 
47
 
 
48
  Window GetCurrentWindow() const;
 
49
 
47
50
private:
48
51
  void InitXIMCallback();
49
52
  static void SetupXIMClientCallback(Display* dpy, XPointer client_data, XPointer call_data);