Commit Graph

16 Commits

Author SHA1 Message Date
Mike Blumenkrantz 5b5e3fa5db fix wl_drm detection in e_mouse.c 2017-02-24 14:15:38 -05:00
Chris Michael 0d2b6b047c port enlightenment to use drm2
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-27 09:53:41 -04:00
JengHyun Kang 3cdc11a107 Add functionality for setting left handed mode in drm
Summary:
 - Change mouse button mapping for left handed mode
 - Change a mouse_hand config and save
 Currently e_mouse had e_mouse_update() API for support left_handed mode.
 But that API only for Xorg not support wayland and only for update mapping not change mapping.
 So I added new support for change mouse mapping for left handed mode and support wayland backend system.

Test Plan:
After set left handed mode,
           mouse button mapping is changed for left handed people.

Reviewers: raster, devilhorns, zmike

Subscribers: ohduna, input.hacker, cedric

Differential Revision: https://phab.enlightenment.org/D3433
2016-03-23 17:58:41 -04:00
Mike Blumenkrantz 50e838ef0f simplify e_mouse_update() code for x11 compositors
ref D3433
2015-12-16 16:40:01 -05:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Stefan Schmidt 56de1002ec e_mouse: de-e_comp_get()ify 2015-01-23 13:44:43 +01:00
Mike Blumenkrantz c04d754ac5 enabling drm output module should NOT require X-less build.
these defines all need to be changed from HAVE_WAYLAND_ONLY to something like WITH_X or we're going to have lots of problems with xwayland later on
2014-03-18 16:14:04 -04:00
Chris Michael 915f8f0613 @bugfix: Fix building for WAYLAND_ONLY by using the proper define
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Christopher Michael aafe309fa3 E: Fix e_mouse initializing.
NB: The logic looked wrong here. (was if ecore_x_pointer_mapping_set
succeeds, then return a fail of e_mouse_update). That makes no sense.
We should only return a fail of mouse_update if the
ecore_x_pointer_mapping_set function call Fails.



SVN revision: 70247
2012-04-16 21:56:30 +00:00
Carsten Haitzler d19c20d85a fix left/right mouse config init.
SVN revision: 69870
2012-04-02 20:30:01 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler bd470ac03d illogict - patch. lefty mouse etc.
- e-config-pointer_mapping_support.patch: and actually use that on
Enlightenment



SVN revision: 36114
2008-09-20 02:23:51 +00:00
Christopher Michael fb9c90a631 Part 2 of Ravenlock's mouse acceleration patch. This adds a config dialog
for setting the mouse accel threshold and the necessary mouse_init calls to
setup accel when E launches.


SVN revision: 28822
2007-03-20 01:08:38 +00:00