forked from enlightenment/efl
- Fix window_type_dialog_set() call in ecore_evas_test
- Ecore_Evas now returns the container window when we request its window, not the internal one - this fixes problems with NETWM hints not affecting ecore_evas windows SVN revision: 8864
This commit is contained in:
parent
42322a763f
commit
debf59ce8b
|
@ -550,7 +550,7 @@ setup_ecore_x_test(void)
|
|||
ecore_x_window_prop_name_class_set(win, "ecore_test", "main");
|
||||
ecore_x_window_prop_desktop_set(win, 1);
|
||||
printf("Window on desktop %lu\n", ecore_x_window_prop_desktop_get(win));
|
||||
ecore_x_window_prop_window_type_dialog_set(win);
|
||||
ecore_x_window_prop_window_type_set(win, ECORE_X_WINDOW_TYPE_DIALOG);
|
||||
ecore_x_window_prop_protocol_set(win, ECORE_X_WM_PROTOCOL_DELETE_REQUEST, 1);
|
||||
ecore_x_window_show(win);
|
||||
ecore_x_flush();
|
||||
|
|
|
@ -1270,7 +1270,7 @@ Ecore_X_Window
|
|||
ecore_evas_software_x11_window_get(Ecore_Evas *ee)
|
||||
{
|
||||
#ifdef BUILD_ECORE_X
|
||||
return ee->engine.x.win;
|
||||
return ee->engine.x.win_container;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue