aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2011-03-22 15:46:52 +0000
committerChristopher Michael <cpmichael1@comcast.net>2011-03-22 15:46:52 +0000
commita0a33a01917456a9cc7d3c1bc3b773a0ed0f334a (patch)
tree60cf19c18c47b6dc20c83760fe773869e68c322c /legacy/elementary/src/lib/elm_win.c
parentElementary elm_genlist.c: Formatting with ecrustify. (diff)
downloadefl-a0a33a01917456a9cc7d3c1bc3b773a0ed0f334a.tar.gz
Elementary: Patch from Jihoon Kim to add missing window types.
Elementary was missing window types for dropdown_menu, popup_menu, tooltip, notification, combo, and dnd. This patch adds the missing types into the enum and elm_win code. SVN revision: 57992
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index fa16fd8964..bf23098341 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -410,6 +410,24 @@ _elm_win_xwin_update(Elm_Win *win)
case ELM_WIN_SPLASH:
ecore_x_netwm_window_type_set(win->xwin, ECORE_X_WINDOW_TYPE_SPLASH);
break;
+ case ELM_WIN_DROPDOWN_MENU:
+ ecore_x_netwm_window_type_set(win->xwin, ECORE_X_WINDOW_TYPE_DROPDOWN_MENU);
+ break;
+ case ELM_WIN_POPUP_MENU:
+ ecore_x_netwm_window_type_set(win->xwin, ECORE_X_WINDOW_TYPE_POPUP_MENU);
+ break;
+ case ELM_WIN_TOOLTIP:
+ ecore_x_netwm_window_type_set(win->xwin, ECORE_X_WINDOW_TYPE_TOOLTIP);
+ break;
+ case ELM_WIN_NOTIFICATION:
+ ecore_x_netwm_window_type_set(win->xwin, ECORE_X_WINDOW_TYPE_NOTIFICATION);
+ break;
+ case ELM_WIN_COMBO:
+ ecore_x_netwm_window_type_set(win->xwin, ECORE_X_WINDOW_TYPE_COMBO);
+ break;
+ case ELM_WIN_DND:
+ ecore_x_netwm_window_type_set(win->xwin, ECORE_X_WINDOW_TYPE_DND);
+ break;
default:
break;
}