Commit Graph

54 Commits

Author SHA1 Message Date
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
sebastid 1a134ae16d Pointer wrapping. Needs updated ecore.
SVN revision: 14297
2005-04-22 09:23:00 +00:00
sebastid 7985726ea4 Edge flipping
SVN revision: 14295
2005-04-22 08:19:39 +00:00
sebastid a91a6bc607 Client list update.
SVN revision: 13741
2005-03-15 10:26:05 +00:00
sebastid b4192a2fb9 Small updates.
Move from e_file to ecore_file


SVN revision: 13456
2005-02-21 16:16:40 +00:00
sebastid d9aa5194e4 Use xinerama screen id for zone id.
SVN revision: 13357
2005-02-13 12:33:31 +00:00
Carsten Haitzler 4f54c588e1 seb's patch...
SVN revision: 13222
2005-02-07 13:51:09 +00:00
rbdpngn b6c300dd69 Add type checking for the various E objects.
SVN revision: 13053
2005-01-22 06:58:34 +00:00
Carsten Haitzler 45ef78688c more gadman work... on the way there...
SVN revision: 13027
2005-01-20 13:42:51 +00:00
xcomputerman be8d8e19aa Would be nice to inform the pager when desks are getting added and removed, too.:)
SVN revision: 12974
2005-01-15 08:31:39 +00:00
Carsten Haitzler e88c2ac1a6 fix up include system so u canhave one struct directly reference another (put
typedefs in separate section and include twice...


SVN revision: 12928
2005-01-12 16:03:09 +00:00
handyande 382effca39 Expose desktop geometry
SVN revision: 12843
2005-01-09 18:58:13 +00:00
handyande 059bfb1862 Move apps on desks being removed to theirnearest valid desk
fix a few warnings


SVN revision: 12837
2005-01-08 21:21:56 +00:00
handyande 92315b7568 Hook in menu configuring of desktops and dynamic resizing
SVN revision: 12832
2005-01-08 17:32:08 +00:00