Commit Graph

125 Commits

Author SHA1 Message Date
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 7877c41869 handle NULL more gracefully in e_bindings_signal_handle
SVN revision: 80813
2012-12-13 10:38:24 +00:00
Mike Blumenkrantz 45a916177f fix crash in e bindings from not using safe list iterator
SVN revision: 77268
2012-10-01 13:14:31 +00:00
Mike Blumenkrantz e525ed8e61 break out bindings resets into functions based on their type for more fine-grained binding resets
SVN revision: 75649
2012-08-24 09:51:37 +00:00
Mike Blumenkrantz b6a8f51cba add e_bindings_reset() for resetting all bindings from e_config
SVN revision: 75465
2012-08-20 13:51:13 +00:00
Mike Blumenkrantz 3edadaf65e warn--
SVN revision: 74922
2012-08-06 10:45:02 +00:00
Mike Blumenkrantz 21df8f0a2f add an amazing hack which, when a vmware player window is opened, disables keyboard remapping until the window is closed. this is stupid, but seems to be the only way to keep it from breaking keymaps on some setups
ticket #1057


SVN revision: 74919
2012-08-06 10:21:41 +00:00
Mike Blumenkrantz 821f1f4a6d add debug printf to help with hunting #1057
SVN revision: 74722
2012-08-01 08:55:51 +00:00
Mike Blumenkrantz 0768dd02ae edge bindings now allow for the use of any mouse button for clicky bindings
ticket #681


SVN revision: 73402
2012-07-06 08:27:09 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Cedric BAIL 89ddff064e e: remove some warning.
Let's start by cleaning up this warning party !


SVN revision: 70694
2012-05-03 11:02:35 +00:00
Carsten Haitzler 7c23365cf9 fix edge bindings to work if you add other bindings to corners other
than edge flips.



SVN revision: 70558
2012-04-30 12:29:34 +00:00
Vincent Torri 1c8b4d5c3d E: remove extraneous parentheses
SVN revision: 65994
2011-12-07 20:34:45 +00:00
Carsten Haitzler 436918fe7a work on improving edge bindings. having a look at this i'm more
convinced that we need to dump edge bindings as they stand entirely
and turn it into an event registration system.

virtual desktops register for edge events on the zone they are on as
they flip around or are created or destroyed. shelf for audiohide
registers a region of an edge etc.



SVN revision: 64100
2011-10-16 04:24:27 +00:00
Carsten Haitzler a0781f02c4 allow 1 of the syscon entries to be marked iwth is_main=2 as the
"default" one so if you press the binding that broung syscon up again
while syscon is up - and later than 0.5 seconds after syscon came up
and more than 2 times, then it execs that default action (eg power
down, suspend etc.)



SVN revision: 63831
2011-10-05 09:39:39 +00:00
Daniel Juyung Seo 3dd38d3446 e e_bindings.c: Fixed indentation and removed trailing whitespaces.
SVN revision: 63526
2011-09-22 01:05:26 +00:00
Christopher Michael b74c7ea0ca Patch from Sung-Jin Park to add function for easy searching of
key_bindings.

- Add e_bindings_key_find() in e
This patch is to provide a convenient function to find out key
bindings by 
matching a combination of keyname and modifier
without walking and matching e_config->key_bindings.
This will be convenient function like existing e_bindings_key_get() in
e.



SVN revision: 63515
2011-09-21 11:31:07 +00:00
Carsten Haitzler b867e58fa3 fix mapping change event handler to actually WORK! (select right event
id)



SVN revision: 63308
2011-09-09 12:58:23 +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
Carsten Haitzler 2238c66924 document changes to rander event - not used and.. use new mapping
event to unbind + bind mouse and key bindings again.



SVN revision: 53943
2010-10-28 00:34:03 +00:00
Christopher Michael c314974f42 Add unused where needed.
SVN revision: 51318
2010-08-18 18:41:25 +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
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Christopher Michael 8dbd555663 Check for a binding status of -1 so that we skip comparison with
event_status (if needed).



SVN revision: 49320
2010-05-30 02:23:06 +00:00
Christopher Michael d2d1e49bf5 Add bindings for ACPI.
Add acpi bindings to config.
Add handlers in e_acpi for common/default acpi events.
Add actions for some missing ACPI events.
 - NB: Dim/Undim screen do nothing currently except a printf.



SVN revision: 49309
2010-05-29 19:57:13 +00:00
Hannes Janetzek b859ec06a3 if bindings context is 'any' then action is triggerd twice, for container and for zone. maybe not the best solution but otherwise one would have to create three bindings to get the 'any' behaviour
SVN revision: 48499
2010-05-01 13:26:10 +00:00
Sebastian Dransfeld f098d9df85 Only create edge windows which have bindings
Previously all windows always existed, and edge bindings showed/hided
windows as needed. And e_zone_flip_win_disable/ e_zone_flip_win_restore
f**k'ed this up.

Will fix bug #483 soon.

SVN revision: 45366
2010-01-20 21:30:17 +00:00
Viktor Kojouharov b6ec16d97e hide edge event windows that are not used by any action
put the edge windows on the correct layers
allow edge click bindings
use actions for auto-hide shelves
toggling auto-hide will cause edge event windows to show/hide if necessary


SVN revision: 42864
2009-10-02 20:53:05 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Iván Briano e5478eb0e3 Don't leak.
SVN revision: 40100
2009-04-16 04:48:46 +00:00
Hannes Janetzek 4598a292ed use ECORE_EVENT_MODIFIER
SVN revision: 39538
2009-03-17 21:55:33 +00:00
Cedric BAIL e6d3c12f76 e/keybinding: Some cleanup using more Eina feature.
SVN revision: 39527
2009-03-17 13:58:38 +00:00
Cedric BAIL 46e8efcd8c Let me introduce you to Ecore_Input. The idea is to share as much as possible event
between all ecore graphic engine to ease porting of application and reduce the amount of
specific code per engine. This patch does just that.
	All your application should continu to work has previously, if it's not the case
please report any new behaviour regarding mouse and keyboard.


SVN revision: 39505
2009-03-16 16:24:43 +00:00
Viktor Kojouharov 4c31250530 this option is more suitable for all actions, not just the desk flip one
SVN revision: 39442
2009-03-10 21:34:41 +00:00
Viktor Kojouharov 9bbc8158bd edge and corner binding infrastructure. If you have an old config, enable the conf_edgebindings module and hit 'Reset to defaults' to get edge desktop switching.
The edge/corner picker needs some love from someone who is not artistically challenged.  And a proper module icon as well.


SVN revision: 39220
2009-02-25 22:21:46 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Carsten Haitzler b370f8315f remove/comment out printfs and remove fixme (to be removed) fake mouse up funcs
SVN revision: 36229
2008-09-25 01:34:39 +00:00
Carsten Haitzler 0a8ffffa5f add in gadman for desktop. happy dave! :)
SVN revision: 34610
2008-05-19 04:37:34 +00:00
Carsten Haitzler 492fa506e0 deps lists/ debugging too...
SVN revision: 34177
2008-04-03 18:47:14 +00:00
Carsten Haitzler 2b999319f2 numlock binding... WRONG. see comments.
SVN revision: 27453
2006-12-14 23:38:33 +00:00
Christopher Michael 364d79712d Add missing traps for numlock state when executing bindings.
SVN revision: 27445
2006-12-14 17:52:51 +00:00
rephorm fba1d2fa3c fix cursor changes on border resize hotspots
SVN revision: 25048
2006-08-23 00:34:33 +00:00
sebastid 98e61fa3d3 ++const
SVN revision: 25011
2006-08-21 16:25:57 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
Carsten Haitzler 47e7c5f243 cross-compile fixes, (odd that this didnt screw up before when i did some
cross-compiling of e for arm), illogict patches too :)


SVN revision: 20552
2006-02-18 04:35:35 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler 2decabf3b3 bind9ings now use stringshare too
SVN revision: 18783
2005-12-02 09:37:32 +00:00
Carsten Haitzler 6dc9647fa8 handle NULL config strings. some of them anyway
SVN revision: 18616
2005-11-23 12:55:55 +00:00
sebastid 288dd7aa6c Not allow resize when shaded.
Only show resize handles if resize is allowed.


SVN revision: 17445
2005-10-11 20:21:50 +00:00
sebastid 65cb576257 Add resize pointer for all mouse,down resize signals.
Just pop one element from the stack if type is given.


SVN revision: 17429
2005-10-11 05:51:03 +00:00
sebastid a5a17eb3cb Disable for now.
SVN revision: 17415
2005-10-10 22:35:12 +00:00
sebastid 5e83f48b43 First get filename, then open file.
SVN revision: 17413
2005-10-10 22:33:12 +00:00
sebastid 0c3b477cc6 pointer stack work.
SVN revision: 17352
2005-10-09 18:02:17 +00:00
sebastid f1b815305e Pointer changes on context. Please comment! Will work more on it soon.
SVN revision: 17344
2005-10-09 08:54:24 +00:00
sebastid d0cb4b111a Config for wheel and signal bindings.
NEW CONFIG VERSION!!


SVN revision: 16853
2005-09-22 20:20:34 +00:00
Carsten Haitzler 1a08602ddf right mouse on resize handles moves - as per old e16 :)
SVN revision: 16849
2005-09-22 16:40:16 +00:00
Carsten Haitzler 3c9e205fdb signal bindings.!!!! this means you can completely rebind every event and
action on a window border theme/design to do what you want. the theme doesnt
determine this anymore. as with wheel bindings it still isnt exported to
config fiels and ipc yet, but the functionality is done.


SVN revision: 16848
2005-09-22 16:36:59 +00:00
Carsten Haitzler 00616d3fec wheel bindings! WERD! hard-coded ones for now, need to make these config
values that can be set/changed/deleted via ipc and are saved/loaded :)


SVN revision: 16847
2005-09-22 12:47:45 +00:00
sebastid 17d788fd7f Remove unused variable.
SVN revision: 16154
2005-08-14 17:09:00 +00:00
Carsten Haitzler 2202af8477 working on click to focus hangs.. fixed.... i think- test it guys!
SVN revision: 15750
2005-07-12 15:28:05 +00:00
Carsten Haitzler 76bda119c0 winlist alt-tab works (and dhift-alt-tab to go in reverse)... it is NOT
complete... gfx are ugly. i have fixme's. it doesnt work with pointer focus
really... etc.


SVN revision: 15264
2005-06-12 06:50:34 +00:00
Carsten Haitzler 3520914ccd and now it shoudl be able to change click to focs <-> mouse focus dynamically
and it all shoudl work - i hope.


SVN revision: 14870
2005-05-20 10:14:51 +00:00
Carsten Haitzler 18d40fac35 pagers, desktops and zones seem to work just fine on first start. though
"primary zone" is not known so it keeps querying the mouse - fix that and
only use the first zone when startng the first time.


SVN revision: 14866
2005-05-20 06:30:26 +00:00
sebastid 69f6a002f5 Free
SVN revision: 14693
2005-05-10 10:34:19 +00:00
Carsten Haitzler 476c8f543a key and mouse bindings are saved and loaded to/from config now. next phase:
export via ipc.


SVN revision: 14576
2005-05-03 15:25:02 +00:00
Carsten Haitzler c5fab74cbf a whole wad more bindings... i'll stop here. it's now a matter of slow, over
time, expansion of actions and systems to hook in.


SVN revision: 14512
2005-04-30 07:03:35 +00:00
Carsten Haitzler 350fab40ce fix up button bindings for windows - return the action found too so we can
track.


SVN revision: 14510
2005-04-30 05:07:28 +00:00
Carsten Haitzler 51ce3de0c0 more bindings and actions
SVN revision: 14509
2005-04-30 04:21:55 +00:00
Carsten Haitzler 9f7013f03e key bindings... um.. kinda... work...
SVN revision: 14505
2005-04-29 19:42:19 +00:00
Carsten Haitzler 67bc506c7a bindings + action system gets its first test run with button bindings. seems
to work well. grabs buttons. responds to input events and context. calls
appropriate action callbacks. you can add actions fairly easily. the cool bit
is that actions can be added on the fly... like ooh - lets say from...
MODULES :) ie module could load and enable then add lots of custom actions.
these could be custom in c code in the module.. OR... they could even be bits
of embryo loaded ... or perl... or python... or... anyway - you can figure it
out. it's justa  bi-product of doing the action system this way. (btw - the
actions can be overridden too by modules so a module could change a default
action or even just augment it...)


SVN revision: 14495
2005-04-29 16:04:43 +00:00
Carsten Haitzler b950085e25 hungarian po
fix zh_CN probs
work on bindings code - add actions system framework. it's not ready for
sliding in yet as i need to fill out actions  but once i do i can slide the
current code across and then work on sliding keybindings in.


SVN revision: 14378
2005-04-26 15:06:06 +00:00
Carsten Haitzler 9f9fb168c2 work in multihead again! :)
SVN revision: 14342
2005-04-25 08:29:53 +00:00
Carsten Haitzler bdbf2f2079 get rid of ecore warning
SVN revision: 14338
2005-04-25 05:58:45 +00:00
Carsten Haitzler 179c017b8f intl empty dir needs to be there for make distcheck to pass
add placeholder for bindings.


SVN revision: 14336
2005-04-25 03:06:06 +00:00