Commit Graph

61 Commits

Author SHA1 Message Date
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz bf0348f133 remove unused timer variable, reduce e_grabinput calls slightly with some reordering
SVN revision: 83733
2013-02-07 10:51:10 +00:00
Mike Blumenkrantz 053c841f52 unbreak winlist focus changing
SVN revision: 83731
2013-02-07 10:36:01 +00:00
Mike Blumenkrantz a072a15edd fix no-warp mode winlist usage
ticket #asdfuser


SVN revision: 83683
2013-02-06 13:55:38 +00:00
Mike Blumenkrantz 6773c911b6 unify all pointer warping code to rely on e_border_pointer_warp_to_center functions
SVN revision: 83636
2013-02-05 15:15:04 +00:00
Mike Blumenkrantz ec87e69908 add yet another pointer warp option: disable all warps
ticket #asdfuser


SVN revision: 83629
2013-02-05 13:33:49 +00:00
Mike Blumenkrantz c48fd0b06d giant commit that wipes all bindi^W^W^Wsplits out binding configs into a separate config domain so they can be more easily copied and so they won't be wiped in the event that primary config is wiped
also splits all binding lists out of e_config: they are now conveniently located in the global "e_bindings" struct


SVN revision: 83544
2013-02-01 10:21:54 +00:00
Mike Blumenkrantz 31e2299a67 add config option for disabling pointer warp when performing directional focus change in winlist, patch by David H. Bronke
ticket #2098


SVN revision: 82409
2013-01-08 11:51:56 +00:00
Mike Blumenkrantz 602a9aabc5 winlist should no longer get stuck sometimes when activated by keybind
ticket #2007


SVN revision: 81449
2012-12-20 12:28:47 +00:00
Mike Blumenkrantz 01f4fd81db winlist now removes modifiers from its list as they are released
SVN revision: 81448
2012-12-20 12:26:19 +00:00
Mike Blumenkrantz a8990c74e9 winlist now behaves in a more expected manner when activated with a mouse binding
SVN revision: 81443
2012-12-20 11:16:09 +00:00
Mike Blumenkrantz cb34a3e7f5 unify winlist action code and set activation type
SVN revision: 81442
2012-12-20 10:58:21 +00:00
Mike Blumenkrantz a550ed2a85 fix "focus" option for winlist
ticket #1894


SVN revision: 80078
2012-12-03 15:12:58 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Mike Blumenkrantz 0dfb15f58e use handler list macro
SVN revision: 78750
2012-11-01 08:25:35 +00:00
Boris Faure be388f7c2b e: no need to freeze/thaw focus tracking when not getting in event loop
SVN revision: 78618
2012-10-29 18:28:58 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Boris Faure 57f1273aae e: fix Move to the left/right/up/down window
Closes #1488

SVN revision: 76703
2012-09-15 09:57:38 +00:00
Mike Blumenkrantz 057a874039 winlist now only shows windows on other screens when the option for it is checked and (the window is from the current desk on the other screen || the option to show windows from all desks is set)
ticket #1494


SVN revision: 76500
2012-09-12 07:53:57 +00:00
Carsten Haitzler d69846caa0 fix another missing ptr warp bug on alt-tab.
SVN revision: 75694
2012-08-25 04:17:46 +00:00
Carsten Haitzler 777232b4d6 and now nicelyt and once and for bloody all fix focus stuff on alt-tab!
SVN revision: 75693
2012-08-25 04:12:59 +00:00
Carsten Haitzler d63122071e ensure actual focus goes to tabbed-to-window.
SVN revision: 75692
2012-08-25 03:33:31 +00:00
Carsten Haitzler 1d6c73e476 fix alt-tab to/from fullscreen windows
SVN revision: 75691
2012-08-25 03:00:14 +00:00
Mike Blumenkrantz 3494f7db73 revert previous commit, ticket #daniel lied to me
SVN revision: 75609
2012-08-23 09:09:58 +00:00
Mike Blumenkrantz 177e3276ed sloppy focus does not require pointer warping
ticket #daniel


SVN revision: 75608
2012-08-23 08:58:35 +00:00
Mike Blumenkrantz ce828663d0 this breaks warping somehow, revert
SVN revision: 75605
2012-08-23 08:34:10 +00:00
Mike Blumenkrantz b9fcebc038 prevent winlist pointer warping when pointer is already inside border
SVN revision: 75603
2012-08-23 08:07:56 +00:00
Mike Blumenkrantz 1ca3270f1d stringshare and action cleanups for winlist, should no longer call strcmp 500 times per activation
SVN revision: 75602
2012-08-23 07:57:47 +00:00
Carsten Haitzler 1739590e05 fix wad of focus issues with click-to-focus and alt+tab + fullscreen
windows.



SVN revision: 75399
2012-08-18 04:40:56 +00:00
Chidambar Zinnoury fe0672f783 e window list: prevent from segfaulting, patch from andrej.
Description from Trac (see #1020):

Pressing a key which is bound to "next/previous window of the same class" can make Enlightenment SEGV. This happens when:

    Window switcher list module is loaded
    the key is pressed when the active desktop is empty (i.e., contains no windows / applications) and at least one other desktop contains one or several windows 

This does not happen if all the desktops are empty.

 Fixes #1020.


SVN revision: 72753
2012-06-24 05:35:49 +00:00
Mike Blumenkrantz 375ffb08c5 formatting
SVN revision: 72520
2012-06-20 07:01:53 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Cedric BAIL 29dffc306c e: segv-- on power removal.
SVN revision: 62181
2011-08-07 12:35:21 +00:00
Boris Faure aeb90bf58a e: fix e_winlist_left/down/up
SVN revision: 60247
2011-06-12 21:39:10 +00:00
Boris Faure d83c6c2d6c e: fix focus issue in winlist
SVN revision: 59334
2011-05-11 19:43:29 +00:00
Gustavo Sverzut Barbieri a565e9f077 winlist: offer a way to cycle icccm.class
icccm.class is usually unique per application, so you can use that to
cycle betwen the applications in your desktop. This mode is
complementary to the already existing "cycle all windows of current
class", which cycles all windows of the current application.



SVN revision: 57386
2011-02-27 14:29:41 +00:00
Sebastian Dransfeld ed139972cc stop move/resize on winlits show
Fixes bug #220

SVN revision: 54276
2010-11-07 12:34:50 +00:00
Boris Faure ee84be7253 e:winlist: fix issue with non-stop animation
SVN revision: 51451
2010-08-19 21:09:58 +00:00
Christopher Michael 8d27a99570 Add UNUSED where needed.
Remove lots of unused variables.
Fix some formatting.



SVN revision: 51409
2010-08-19 16:14:53 +00:00
Boris Faure fc68f2f491 e:winlist: rename global vars
SVN revision: 51348
2010-08-18 21:04:39 +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
Chidambar Zinnoury 029a558a98 WinList: add a new functionality so that we can switch between windows of the same class.
This is a major (and interesting) killer-feature of Gnome3, so let's shamelessly steal it.


SVN revision: 50154
2010-07-09 10:34:20 +00:00
Boris Faure 682783f271 winlist: add actions to move to window on the left/right/up/down
SVN revision: 50096
2010-07-07 21:36:23 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek 784400668d fix winlist focus, for me. delay grab release to be after pointer warp so that another underlying widow cant produce a focus_in event.
I havent tested all 2^10 possible way to configure focus/winlist, let me know if sth broke for you.


SVN revision: 48402
2010-04-28 19:53:13 +00:00
Sebastian Dransfeld a9bf975e7b export less
SVN revision: 45455
2010-01-22 20:28:39 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Christopher Michael 7a3aec9462 Use proper variable type...Come on people, check your code !!
SVN revision: 44702
2009-12-23 21:43:15 +00:00
Christopher Michael ed33b4d746 If the popup fails to create, then destroy the input_window and release any
grabs.
Lots of Formatting & Whitespace removal.



SVN revision: 44662
2009-12-22 20:41:06 +00:00
Christopher Michael bc639c764d More API Inconsistency fixes:
e_box_min_size_* to e_box_size_min_*
e_box_max_size_* to e_box_size_max_*



SVN revision: 42161
2009-09-01 16:29:46 +00:00