summaryrefslogtreecommitdiff
path: root/src/lib/ecore_win32
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2017-04-26 07:32:11 +0200
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-04-26 15:07:38 +0900
commit540de0e25428232a89c2315c1efafe72acfa80c1 (patch)
treead553c14d92819ec3418a1b61b55e61b5a13ee58 /src/lib/ecore_win32
parent3f389c6e1e102610d3c8a539f711f9e842540d3c (diff)
Ecore_Evas: use window states and event property to fix ecore_evas_fullscreen_set()
This implies that elm_win_fullscreen_set() is also fixed @fix
Diffstat (limited to 'src/lib/ecore_win32')
-rw-r--r--src/lib/ecore_win32/ecore_win32.c1
-rw-r--r--src/lib/ecore_win32/ecore_win32_event.c16
-rw-r--r--src/lib/ecore_win32/ecore_win32_private.h1
3 files changed, 18 insertions, 0 deletions
diff --git a/src/lib/ecore_win32/ecore_win32.c b/src/lib/ecore_win32/ecore_win32.c
index d7e4961830..cd75bee28f 100644
--- a/src/lib/ecore_win32/ecore_win32.c
+++ b/src/lib/ecore_win32/ecore_win32.c
@@ -278,6 +278,7 @@ _ecore_win32_window_procedure(HWND window,
278 case WM_WINDOWPOSCHANGED: 278 case WM_WINDOWPOSCHANGED:
279 INF("position changed window message"); 279 INF("position changed window message");
280 _ecore_win32_event_handle_configure_notify(data); 280 _ecore_win32_event_handle_configure_notify(data);
281 _ecore_win32_event_handle_property_notify(data);
281 _ecore_win32_event_handle_expose(data); 282 _ecore_win32_event_handle_expose(data);
282 return 0; 283 return 0;
283 case WM_ENTERSIZEMOVE: 284 case WM_ENTERSIZEMOVE:
diff --git a/src/lib/ecore_win32/ecore_win32_event.c b/src/lib/ecore_win32/ecore_win32_event.c
index dfd44de6f9..a22fbed992 100644
--- a/src/lib/ecore_win32/ecore_win32_event.c
+++ b/src/lib/ecore_win32/ecore_win32_event.c
@@ -1894,6 +1894,22 @@ _ecore_win32_event_handle_resize(Ecore_Win32_Callback_Data *msg)
1894} 1894}
1895 1895
1896void 1896void
1897_ecore_win32_event_handle_property_notify(Ecore_Win32_Callback_Data *msg)
1898{
1899 Ecore_Win32_Event_Window_Property *e;
1900
1901 INF("window property");
1902
1903 e = calloc(1, sizeof(Ecore_Win32_Event_Window_Property));
1904 if (!e) return;
1905
1906 e->window = (void *)GetWindowLongPtr(msg->window, GWLP_USERDATA);
1907 e->timestamp = _ecore_win32_event_last_time;
1908
1909 ecore_event_add(ECORE_WIN32_EVENT_WINDOW_PROPERTY, e, NULL, NULL);
1910}
1911
1912void
1897_ecore_win32_event_handle_delete_request(Ecore_Win32_Callback_Data *msg) 1913_ecore_win32_event_handle_delete_request(Ecore_Win32_Callback_Data *msg)
1898{ 1914{
1899 Ecore_Win32_Event_Window_Delete_Request *e; 1915 Ecore_Win32_Event_Window_Delete_Request *e;
diff --git a/src/lib/ecore_win32/ecore_win32_private.h b/src/lib/ecore_win32/ecore_win32_private.h
index 9bc35e0ce7..bb22b466f5 100644
--- a/src/lib/ecore_win32/ecore_win32_private.h
+++ b/src/lib/ecore_win32/ecore_win32_private.h
@@ -157,6 +157,7 @@ void _ecore_win32_event_handle_map_notify(Ecore_Win32_Callback_Data *msg);
157void _ecore_win32_event_handle_unmap_notify(Ecore_Win32_Callback_Data *msg); 157void _ecore_win32_event_handle_unmap_notify(Ecore_Win32_Callback_Data *msg);
158void _ecore_win32_event_handle_configure_notify(Ecore_Win32_Callback_Data *msg); 158void _ecore_win32_event_handle_configure_notify(Ecore_Win32_Callback_Data *msg);
159void _ecore_win32_event_handle_resize(Ecore_Win32_Callback_Data *msg); 159void _ecore_win32_event_handle_resize(Ecore_Win32_Callback_Data *msg);
160 void _ecore_win32_event_handle_property_notify(Ecore_Win32_Callback_Data *msg);
160void _ecore_win32_event_handle_delete_request(Ecore_Win32_Callback_Data *msg); 161void _ecore_win32_event_handle_delete_request(Ecore_Win32_Callback_Data *msg);
161void _ecore_win32_event_handle_selection_notify(Ecore_Win32_Callback_Data *msg); 162void _ecore_win32_event_handle_selection_notify(Ecore_Win32_Callback_Data *msg);
162 163