diff options
author | Reinhard Tartler <siretart@tauware.de> | 2011-11-13 09:53:12 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-11-13 09:53:12 +0100 |
commit | 9f7021392b921ad44163024ed8ca538195d3ac9c (patch) | |
tree | 82329db43a3a07d1843a84f7c187131c12592079 /nxcompshad/X11.h | |
parent | c7dc0c3cdec2e0f2fa2d52f8d446d0e83623a8a0 (diff) | |
download | nx-libs-9f7021392b921ad44163024ed8ca538195d3ac9c.tar.gz nx-libs-9f7021392b921ad44163024ed8ca538195d3ac9c.tar.bz2 nx-libs-9f7021392b921ad44163024ed8ca538195d3ac9c.zip |
Imported nxcompshad-3.2.0-3.tar.gznxcompshad/3.2.0-3
Summary: Imported nxcompshad-3.2.0-3.tar.gz
Keywords:
Imported nxcompshad-3.2.0-3.tar.gz
into Git repository
Diffstat (limited to 'nxcompshad/X11.h')
-rw-r--r-- | nxcompshad/X11.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/nxcompshad/X11.h b/nxcompshad/X11.h index e3a62ba56..ff14aaea4 100644 --- a/nxcompshad/X11.h +++ b/nxcompshad/X11.h @@ -41,6 +41,10 @@ class Poller : public CorePoller void getEvents(void); + void getScreenSize(int *width, int *height); + + void setScreenSize(int *width, int *height); + private: Display *display_; @@ -77,8 +81,34 @@ class Poller : public CorePoller char *getRect(XRectangle); + void keymapShadowInit(Display *display); + + void keymapMasterInit(); + + KeySym keymapKeycodeToKeysym(KeyCode keycode, KeySym *keysyms, + int minKey, int per, int col); + + KeyCode keymapKeysymToKeycode(KeySym keysym, KeySym *keysyms, + int minKey, int maxKey, int per, int *col); + + KeyCode translateKeysymToKeycode(KeySym keysym, int *col); + + Bool checkModifierKeys(KeySym keysym, Bool isKeyPress); + + void sendFakeModifierEvents(int pos, Bool skip); + + void cancelFakeModifierEvents(); + + Bool keyIsDown(KeyCode keycode); + + void addKeyPressed(KeyCode received, KeyCode sent); + + KeyCode getKeyPressed(KeyCode received); + void handleKeyboardEvent(Display *display, XEvent *); + void handleWebKeyboardEvent(KeySym keysym, Bool isKeyPress); + void handleMouseEvent(Display *, XEvent *); void xtestInit(void); |