Commit Graph

23 Commits

Author SHA1 Message Date
Mike Blumenkrantz 061d665e50 ecore-win32: propagate WM_SIZE event
Summary:
this is the event which informs an app of its current size

also use the HWND from the msg pointer to avoid invalid access in
the WM_SIZE event which passes different message data

Reviewers: vtorri

Reviewed By: vtorri

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D6033
2018-05-02 15:57:22 -04:00
Vincent Torri 487f2a5f81 Ecore_Win32: move monitor window initialization to earlier in init func
Summary: This monitor window is just used to receive events when mutiple
monitors are available. it should not be managed by the ecore loop
(creation and destruction events), so initting it earlier means
ecore_win32 attaches less memory/overhead to it as it's just being
used for notifications for devices.

Test Plan: DrMemory to check used memory

Reviewers: cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D5736
2018-01-14 22:33:34 +09:00
Jean-Philippe Andre ff24ac2d6d efl: Reset ecore event types on init
This fixes cycles of init/shutdown/init where ecore event types would
become invalid, since they are now stored in a dynamic array rather than
a statically stored array.

The risk here is that if a module of EFL tends to init/shutdown in a
"normal" scenario then the event type array will grow in a leaking
manner. This could be fixed by resetting those event ID's only when the
loop actually exits (EFL_EVENT_DEL on the main loop). I'm not using
EFL_EVENT_DEL in this patch as this would add too many event callbacks
to the main loop object, which may result in slightly slower event calls
to it, affecting the overall performance.
2017-12-19 11:14:37 +09:00
Vincent Torri 10ba064b65 Windows: remove XP support and forbid compilation and run on this platform
Test Plan: run on XP

Reviewers: jpeg, cedric, ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5245
2017-10-01 18:09:46 +01:00
Vincent Torri c233274529 elm+evas - windows - fix alt+f4 to work without losing alt key
fixes  T5581
2017-06-15 16:00:38 +09:00
Vincent Torri 449b2a4bf3 Ecore_Win32: add API to retrieve the geometry and dpi of plugged displays
@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-05-08 15:09:00 -07:00
Vincent Torri 540de0e254 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
2017-04-26 15:07:38 +09:00
Vincent Torri 3f389c6e1e Ecore_Win32: add Property event API
@feature
2017-04-26 15:07:36 +09:00
Cedric BAIL cb3e58041b ecore_win32: avoid crash during shutdown due to Ecore_Event queue. 2017-03-09 16:17:58 -08:00
Mykyta Biliavskyi bb91c4b45d Ecore_win32: do not handle WM_SYSKEY* events.
Summary:
In case if WM_SYSKEYDOWN or WM_SYSKEYUP events are handled in
DefWindowProc - system doesn't init event for a system shortcuts.
For example any EFL application on Windows couldn't be closed by
Alt+F4 combination.

@fix

Test Plan:
Launch Elemenatry_test app.
           Try to close by Alt+F4 combination.

Reviewers: vtorri, raster

Reviewed By: raster

Subscribers: an.kroitor, bowonryu, cedric, jpeg, #eflete

Differential Revision: https://phab.enlightenment.org/D4477
2016-12-20 08:35:32 +02:00
Vincent Torri 232b08cef3 Ecore_Win32: let cursors on the non-client area (the borders) be like the default ones
After the support of the X11 cursors on Windows, the cursors were set for the whole
window (even the borders). Now we let the system use the default cursors for the borders
and we use the cursors set by the API for the client area only
2015-12-14 11:14:51 +09:00
Vincent Torri ba4fbb99bc ecore_win32: add support of X11 shaped cursors
@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-01 12:15:31 -08:00
Vincent Torri abf4364b30 ecore_win32: add clipboard management
@feature

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-12-01 12:13:12 -08:00
Vincent Torri 3d531fba1e Ecore_Win32: do not allocate data as it is useless. Fix memory leak.
@fix
2015-07-23 16:51:06 +01:00
Vincent Torri d1cbf6d080 Ecore_Win32: fix resize of windows when step and base sizes are set 2014-07-09 14:26:26 +02:00
Vincent Torri 08f7baab26 ecore_win32: discard WM_MOUSEMOVE message if it has the same mouse coordinates than the previous one. See link in commit for an explanation 2014-06-29 19:57:34 +02:00
Vincent Torri 3dfc303564 ecore_win32: fix the raise of an Ecore Window overlapped by another window when clicking on the title bar 2014-06-29 19:57:02 +02:00
Vincent Torri 42888dacac ecore_win32: simplify logic
To avoid flickering, we have to manage WM_ERASEBKGND. This message
is sent because CS_HREDRAW and CS_VREDRAW are used when registering
the window class. So just omit CS_HREDRAW and CS_VREDRAW.
2014-06-29 19:56:50 +02:00
Cedric BAIL 45b518c072 ecore_win32: fix typo. 2014-06-29 19:56:12 +02:00
Cedric BAIL a449ca47f1 ecore_win32: silent warning by reading the returned value in a useful way. 2014-06-27 13:27:33 +02:00
Vincent Torri 113d794973 ecore_win32: fix key events on Windows.
@fix

Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
2014-06-23 10:21:26 +02:00
Cedric BAIL a4ea4423ac ecore: fix some aliasing warning. 2013-03-22 20:25:37 +09:00
Vincent Torri 7d6010b12c merge: add escape ecore, fix several bugs
SVN revision: 79995
2012-12-02 22:35:45 +00:00