summaryrefslogtreecommitdiff
path: root/otk
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-04 19:09:52 +0000
committerDana Jansens <danakj@orodu.net>2003-01-04 19:09:52 +0000
commitd13f021b8bb2a6b8e49f69a370409e79a7f02213 (patch)
tree7d1f157d2b72b5527c8913323531bbac97f3c853 /otk
parent69c257faa94334b8d19fc97292622499c43929db (diff)
add support for wm_window_role
Diffstat (limited to 'otk')
-rw-r--r--otk/otk_wrap.cc1
-rw-r--r--otk/property.cc1
-rw-r--r--otk/property.hh1
3 files changed, 3 insertions, 0 deletions
diff --git a/otk/otk_wrap.cc b/otk/otk_wrap.cc
index 0b7ee3ac..f3951d49 100644
--- a/otk/otk_wrap.cc
+++ b/otk/otk_wrap.cc
@@ -13577,6 +13577,7 @@ static swig_const_info swig_const_table[] = {
{ SWIG_PY_INT, (char *)"OBProperty_wm_name", (long) otk::OBProperty::wm_name, 0, 0, 0},
{ SWIG_PY_INT, (char *)"OBProperty_wm_icon_name", (long) otk::OBProperty::wm_icon_name, 0, 0, 0},
{ SWIG_PY_INT, (char *)"OBProperty_wm_class", (long) otk::OBProperty::wm_class, 0, 0, 0},
+{ SWIG_PY_INT, (char *)"OBProperty_wm_window_role", (long) otk::OBProperty::wm_window_role, 0, 0, 0},
{ SWIG_PY_INT, (char *)"OBProperty_motif_wm_hints", (long) otk::OBProperty::motif_wm_hints, 0, 0, 0},
{ SWIG_PY_INT, (char *)"OBProperty_blackbox_attributes", (long) otk::OBProperty::blackbox_attributes, 0, 0, 0},
{ SWIG_PY_INT, (char *)"OBProperty_blackbox_change_attributes", (long) otk::OBProperty::blackbox_change_attributes, 0, 0, 0},
diff --git a/otk/property.cc b/otk/property.cc
index 5ebb2f0f..f26795e4 100644
--- a/otk/property.cc
+++ b/otk/property.cc
@@ -40,6 +40,7 @@ OBProperty::OBProperty()
_atoms[wm_name] = create("WM_NAME");
_atoms[wm_icon_name] = create("WM_ICON_NAME");
_atoms[wm_class] = create("WM_CLASS");
+ _atoms[wm_window_role] = create("WM_WINDOW_ROLE");
_atoms[motif_wm_hints] = create("_MOTIF_WM_HINTS");
_atoms[blackbox_hints] = create("_BLACKBOX_HINTS");
_atoms[blackbox_attributes] = create("_BLACKBOX_ATTRIBUTES");
diff --git a/otk/property.hh b/otk/property.hh
index b016cd04..e3588c04 100644
--- a/otk/property.hh
+++ b/otk/property.hh
@@ -45,6 +45,7 @@ public:
wm_name,
wm_icon_name,
wm_class,
+ wm_window_role,
motif_wm_hints,
blackbox_attributes,
blackbox_change_attributes,