summaryrefslogtreecommitdiff
path: root/src/option.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-06 14:39:07 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2008-08-06 14:39:07 +0200
commit9c76f36894f1f825aa01f519e2b364b979c32a26 (patch)
treeeec49bb1794ee6570acb47a30a9ddc695198e57e /src/option.cpp
parent0e942665257980878d6271cbcad4647d04204093 (diff)
downloadunity-window-decorator-9c76f36894f1f825aa01f519e2b364b979c32a26.tar.gz
unity-window-decorator-9c76f36894f1f825aa01f519e2b364b979c32a26.tar.bz2
Conversion ob main classes to C++.
Diffstat (limited to 'src/option.cpp')
-rw-r--r--src/option.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.cpp b/src/option.cpp
index 1c704fc..c976b70 100644
--- a/src/option.cpp
+++ b/src/option.cpp
@@ -605,7 +605,7 @@ keyBindingToString (CompDisplay *d,
KeySym keysym;
char *keyname;
- keysym = XKeycodeToKeysym (d->display, key->keycode, 0);
+ keysym = XKeycodeToKeysym (d->dpy (), key->keycode, 0);
keyname = XKeysymToString (keysym);
if (keyname)
@@ -743,7 +743,7 @@ stringToKeyBinding (CompDisplay *d,
{
KeyCode keycode;
- keycode = XKeysymToKeycode (d->display, keysym);
+ keycode = XKeysymToKeycode (d->dpy (), keysym);
if (keycode)
{
key->keycode = keycode;