Commit Graph

67 Commits

Author SHA1 Message Date
Mike Blumenkrantz 31b2e6dcf9 add "Flip To Previous Desktop" action
ticket #1717, patch originally by Robert David <robert.david.public@gmail.com>


SVN revision: 79148
2012-11-12 10:49:28 +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
Mike Blumenkrantz 3d09bfa6db add mouse button to E_Event_Zone_Edge
SVN revision: 73401
2012-07-06 08:26:23 +00:00
Mike Blumenkrantz 89da028fe0 formatting
SVN revision: 71577
2012-05-31 10:12:03 +00:00
Viktor Kojouharov 96ff415a02 fully remove the BG panning.
add a float_set message directed towards the bg object on desk show


SVN revision: 64102
2011-10-16 14:53:27 +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 c05527d86f begin to fix up edge bindings.
SVN revision: 64085
2011-10-15 07:11:11 +00:00
Carsten Haitzler 1943305019 ok - always kepe black win. need for illume. just make 1x1 when not
used.



SVN revision: 55078
2010-11-30 09:21: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
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
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
Viktor Kojouharov 648d75caab Larger backgrounds can now be set to scroll whenever a E changes between desks. Kind of like a transition, but uses only one (the first desk's), larger wallpaper instead of several wallpapers for all desks, and it overrides the transition settings if activated.
The option can currently be activated from Virtual Desktops Settings -> Advanced. A better home and preview would be better for these settings.

In more detail, this option can make a wallpaper, larger than the geometry of the zone, scroll appropriately with each desk change. Consider a nice panorama picture, which is as wide as the total desks' width. Then, at most, E will scroll the background by 1 / (number of desks) for each desk change. The direction of the scrolling is dependent on the desk change itself. Also, the user can specify a coefficient of maximum scrolling for each axis. If the coefficient is 0, the wallpaper will not move.

More advanced animations can be constructed with edje. The data item "directional_freedom" "(1|0) (1|0)" can toggle the actual wallpaper scrolling done by E for each axis. A message with the current x/y position, panning w|h, and zone w|h is sent to the background edje with each desk change animation tick. An example embryo script that handles the message, and changes a hypothetical "a1" part in the "e/desktop/background" group is shown below:

         public message(Msg_Type:type, id, ...) {
            if (type == MSG_INT_SET) {
               new x = getarg(2);
               new y = getarg(3);
  //	     new max_x = getarg(4);
  //	     new max_y = getarg(5);
  //	     new w = getarg(6);
  //	     new h = getarg(7);
               custom_state(PART:"a1", "default", 0.0);
               set_state_val(PART:"a1", STATE_FILL_POS, 0.0, 0.0, -x / 4, -y / 4);
               set_state(PART:"a1", "custom", 0.0);
            }
         }




SVN revision: 40543
2009-05-07 18:39:55 +00:00
Gustavo Sverzut Barbieri be6a6ba639 improvements to e_border positioning.
* e_border_center() will center window in a better way, accounting
   the shelves/panels instead of just centering on the screen. This is
   better and most noticeable if screens are small and a big shelf on
   just one edge.

 * e_border_move_without_border(), e_border_resize_without_border()
   and e_border_move_resize_without_border() will assume the given
   values do not acount border/decorations (client_inset) and will do
   automatically. As stated in documentation, this is specially useful
   when it is a new client and thus have no decorations when it is
   positioned, when decorations are added window would be placed at
   wrong position. One can try this by adding efwin window overflowing
   the bottom-right corner, closing it and when reopen fileman would
   try to make it inside the screen, this would not work well with
   part of the window still being outside.

 * e_win_move(), e_win_resize() and e_win_move_resize() will now use
   new e_border functions.



SVN revision: 40307
2009-04-23 02:24:59 +00:00
Gustavo Sverzut Barbieri 855f5080af export function to get useful area of zone.
This should be used by other parts of e17, like window placement.


SVN revision: 40197
2009-04-18 21:44:21 +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
Sebastian Dransfeld 493223f32c Add edge move event, so a slide in on the edge will show a shelf.
Fix interrupt hiding on mouse in.


SVN revision: 34872
2008-06-19 13:23:20 +00:00
Sebastian Dransfeld 804737eb4d Only show edge windows which are in use.
SVN revision: 33532
2008-01-19 11:41:42 +00:00
Carsten Haitzler 4a2bc0e79c patches, caching fixes, zone dynamic creation/deletion handling, stuff.
SVN revision: 33127
2007-12-14 05:57:16 +00:00
Sebastian Dransfeld a793f7ef39 Add x and y coords in event.
SVN revision: 32831
2007-11-22 20:48:15 +00:00
Sebastian Dransfeld 840a97ae0b Add edge events.
SVN revision: 32827
2007-11-22 20:08:07 +00:00
Sebastian Dransfeld 18b29ad02f Always show edge windows, prepare for edge events to show shelves.
SVN revision: 32826
2007-11-22 19:46:54 +00:00
Carsten Haitzler 2dc7874df7 xinerama support work-infra in for xrandr1.2 and comments as to what is needed.
SVN revision: 32100
2007-10-17 11:06:59 +00:00
Christopher Michael 7935a4da9f Adding fileman as a module. This commit includes necessary changes to
e_zone, e_int_menus, etc, etc to make this happen.


SVN revision: 31258
2007-08-12 09:57:24 +00:00
Viktor Kojouharov 504384fae0 new option to hide the desktop icons (under virtual desktops -> advanced)
SVN revision: 30943
2007-07-23 16:32:10 +00:00
Carsten Haitzler 935bed067e icons on the desktop... a work in progress. you will need ~/Desktop to exist
with stuff in it. i suggest copying some of the favorites files over
(home.desktop etc.)


SVN revision: 29975
2007-05-13 09:12:30 +00:00
Sebastian Dransfeld faf9f548bf Merge all app executing into one function.
SVN revision: 29026
2007-03-24 17:42:12 +00:00
Sebastian Dransfeld a7dd2a5a4c char -> const char
SVN revision: 27448
2006-12-14 19:29:24 +00:00
Viktor Kojouharov fdde0e6490 zone != desk. it was always about per desk deskshows, not per zone.
SVN revision: 24088
2006-07-21 00:46:40 +00:00
Christopher Michael 8ca105b52f Patch from saturn_vk for adding an action and key-binding (set
through config dialog) which allows to "Show Desktop" by
iconifying/uniconifying all active borders.

(Tested heavily, no problems.)


SVN revision: 23118
2006-06-03 10:19:11 +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 c30558a79b working on mr. exebuf...
SVN revision: 18893
2005-12-07 13:24:58 +00:00
sebastid aa2bb0d2b3 * Add missing prototypes.
* Store client_leader info.
* Honour modal windows for group.


SVN revision: 16464
2005-09-02 09:56:01 +00:00
Carsten Haitzler f4f1ad13b4 fix flip
SVN revision: 15911
2005-07-27 04:51:42 +00:00
sebastid 6b6f98a2a2 Only allow borders in normal layers to change stacking from the menu.
Move fullscreen from desk to zone. It is the zone that is fullscreen, and
then each desk must set fullscreen state on the zone if requested.


SVN revision: 15838
2005-07-20 13:07:58 +00:00
Carsten Haitzler 6e73e8ff11 damn - um... patches from mailing list - fix patch with layer number. da.po -
waiting for da.po i can use.. etc :)


SVN revision: 15738
2005-07-12 03:53:56 +00:00
sebastid b49dde8e5d Change the event on flip to a pointer warp event.
SVN revision: 15602
2005-07-01 08:20:05 +00:00
Carsten Haitzler 472f87ff96 ok - desktop changes are done by edje transitions now
i hereby invoke the power of edje on ye desktop wallpapers.


SVN revision: 15585
2005-06-30 14:07:28 +00:00
Carsten Haitzler e314c2cc04 bg now allows transitions when changing the bg. also a first step to allow
different bg's per desk - not implemented yet tho, but some infrastructure
for it


SVN revision: 15568
2005-06-29 14:28:47 +00:00
sebastid b6c7577e52 Fix moving border on edge flip.
SVN revision: 15201
2005-06-08 14:06:28 +00:00
Carsten Haitzler 28d41b1d28 fix up exe to set DISPALY right for executed apps on other managers... this
also technically may allow us to add other properties to a window if i get
ehack back in to then put it on the desktop it was launched on.


SVN revision: 15054
2005-06-02 09:49:07 +00:00
sebastid afc500f550 Compiler warnings
SVN revision: 14728
2005-05-12 13:13:53 +00:00
Carsten Haitzler 51e37d3be5 start on popup generic system... (menus coudl be popups - as would error
dialogs, resize/move indicators - maybe they should be ported - well not
menus - they are special, but definitely resize/move stuff)


SVN revision: 14630
2005-05-07 04:34:26 +00:00
Carsten Haitzler 55da077571 mouse buttons on desktop are now configurable. you can configurew what
buttons do what - default is what it was. you will need to rm your config to
get this...


SVN revision: 14611
2005-05-05 08:33:17 +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
sebastid ab79e5dd0b Cleanup. Flip with border still doesn't work..
SVN revision: 14299
2005-04-22 14:33:35 +00:00
sebastid 34a32688f0 Moveresize flip windows if the zone resizes.
SVN revision: 14298
2005-04-22 09:38:59 +00:00