Commit Graph

72 Commits

Author SHA1 Message Date
Mike Blumenkrantz 5e8171d686 fix winlist first selection check
I added this a long time ago but forgot to do the right comparison
2013-11-29 12:18:55 -05:00
Mike Blumenkrantz b14d484ad1 uniconify+unshade selected window on winlist hide 2013-08-22 14:55:57 +01:00
Mike Blumenkrantz f85afc0646 fix focus setting when winlisting 2013-06-12 08:43:46 +01:00
Mike Blumenkrantz 7d064ece86 remove focus unset from winlist activate...this seems like extra work for nothing 2013-06-12 08:43:18 +01:00
Mike Blumenkrantz 9a615c1438 new user-requested option for moving the winlist-selected window to the current desk 2013-05-30 14:23:13 +01:00
Mike Blumenkrantz 505cec1d91 giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas

* border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW

* e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums

* added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set

* bd->bg_win removed entirely

* bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor

* resizing windows now shows a new and totally-intended scaling effect for window contents

* some additional retooling of border deletion/free callbacks

* fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted

* more comp shape improvements/rewrites

* desk transitions are now BROKEN(ish)

* various modules updated to not be totally broken with these changes
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz bf9933a336 E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 7d37ce5cbc fix tons of now-incorrect popup and object usage in winlist
SVN revision: 84099
2013-02-19 09:55:00 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz 90de0907c2 unbreak winlist focus setting, as broken by princeamd's patch which I failed to adequately test across all focus models :(
SVN revision: 84045
2013-02-18 09:51:49 +00:00
Mike Blumenkrantz 51b3e7a4ee patch from Deon Thomas: this patch fix the bug with if you have multiple windows opened and you are Alt+Tabbing suppose the mouse is already over the window that e_border_focused_get (the last focused border) we go to the next one. currently it centres the mouse on the same focused window then if you do alt+tab it will go to the next.
SVN revision: 83946
2013-02-15 11:18:16 +00:00
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