Commit Graph

101 Commits

Author SHA1 Message Date
Mike Blumenkrantz 2179306800 fix some cases where zone/shelf handling was wrong and would lead to shelves being shown when they shouldn't
ticket #862


SVN revision: 74225
2012-07-20 09:37:15 +00:00
Mike Blumenkrantz 822776146a fix desk flip animation when on last/first desk flipping to first/last desk with desk wrap enabled
ticket #385


SVN revision: 73602
2012-07-12 07:31:34 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz 2bdd24ea93 ecrustified
SVN revision: 69034
2012-03-07 22:50:53 +00:00
Carsten Haitzler 5dddceedc5 indeed - alloc enough space for the message as a whole - alloc only
alloced 1 extra float in addition to the one already there. need an
extra 4.



SVN revision: 64401
2011-10-25 23:49:58 +00:00
Viktor Kojouharov fd8e562507 give the correct count of args
SVN revision: 64156
2011-10-18 20:59:58 +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
Christopher Michael 933a6d3d71 E: Potentially fix segfault with adding/removing desktop names and
using the tiling module. Use eina_stringshare_replace where possible.
Fix some formatting. Set desk->name to NULL if we are not going to put
a string into it.



SVN revision: 63564
2011-09-23 10:37:30 +00:00
Carsten Haitzler fac6fb0b38 fix click to focus last window focus on deskt switch.
SVN revision: 61875
2011-07-29 04:51:32 +00:00
Carsten Haitzler 004bdade85 make bulb gadget change glow/brightness based on actual backlight
brightness.



SVN revision: 60306
2011-06-14 14:24:45 +00:00
Hannes Janetzek 8957ea6191 e17: disable input events of windows while deskflip animation is going
- set focus at the end of deskflip animation
- delay show after first move to not draw at final position first
- move window further out to decrease the chance of having comp 
  get border_hide event before final position..   


SVN revision: 58092
2011-03-25 23:14:52 +00:00
Hannes Janetzek 1925cec0c6 e17: fix the rare case that the last focused border had lock_focus_out. try next instead of break
SVN revision: 57644
2011-03-10 00:04:31 +00:00
Hannes Janetzek ece72e1596 e17: take sticky windows state into account in e_desk_last_focused_focus
SVN revision: 57636
2011-03-09 20:30:22 +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
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +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
Hannes Janetzek 7ae508168e fix naming and warnings
SVN revision: 42278
2009-09-05 12:43:44 +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
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
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
Carsten Haitzler e9b740c27d use the loop_time - better synced anim timepoints and less overhead on
gettimeofday :)



SVN revision: 37393
2008-11-02 02:36:10 +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 0b0dfa93a7 and - that vlc fullscreen bug. found. fixed. but vlc's x11 code is really
nasty. does some utterly evil things. should i send off some suggestions to
them? (like 1. dont reparent the window in xcommon.c line 217, dont play with
wm focus policies in xcommon.c line 2269 - just dont send the
_NET_ACTIVE_WINDOW, you shouldnt' need to (wm should make the focus be
correct itself and wm's that don't should get a freindly reminder from users
when they dont remain consistent with focus policy), and then... xcommon.c
2317 remove the do {} while loop - i can think of many reasons the wm may
choose not to map your client window (yet - or ever), so this will never work
"reliably" always. just put in an XSync(p_vout->p_sys->p_display, False);
instead to force the x pipe to flush and do everything you asked before
returning control to the code and thus avoiding any badaccess stuff from x).



SVN revision: 36093
2008-09-19 09:44:07 +00:00
Carsten Haitzler bf9ed932f9 some debugging printfs - also avoid feeding focus back to the last focused
window if its one of a set of types.



SVN revision: 35726
2008-08-29 03:30:45 +00:00
Carsten Haitzler 99fc29f7aa and respect focus lock out flag more
SVN revision: 35431
2008-08-11 01:22:33 +00:00
Christopher Michael 3594a34f0d Formatting/Whitespace fixes.
SVN revision: 35015
2008-07-07 01:03:33 +00:00
Miculcy Brian 34eb4aeda4 Patch by Michael Stapelberg <michael+e17@stapelberg.de> (needed by the new tiling module).
SVN revision: 34748
2008-06-05 10:52:13 +00:00
Sebastian Dransfeld e9e513b86b Fix fullscreen on desktop change (patch by Hannes Janetzek).
SVN revision: 33066
2007-12-09 15:40:14 +00:00
Sebastian Dransfeld d65683a1cf formatting
SVN revision: 32725
2007-11-15 20:16:25 +00:00
Carsten Haitzler ec84855e6a use the shadowed window tree from ecore
SVN revision: 31977
2007-10-05 12:11:55 +00:00
Miculcy Brian 333be970d4 Bug fixed: Having a shelf only visible on specific desktops didn't work corrently with dualscreen setup.
SVN revision: 31814
2007-09-26 12:34:38 +00:00
Miculcy Brian aed16d2e23 This allows to have shelfs only on specified desktops. Someone might want to add a nice hide/show animation...
SVN revision: 31619
2007-09-04 23:59:01 +00:00
Christopher Michael 48e356e499 Just some formatting fixes...E style.
SVN revision: 29726
2007-04-25 11:28:35 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Carsten Haitzler cd5937a70e xinerama - slide in from off the container, not zone.
SVN revision: 25443
2006-09-04 13:38:35 +00:00
Carsten Haitzler 818e75fb00 1. fix perf dialog - to actually change fps
2. save icon theme config
3. add config for desk flip animation modes etc. etc.
4. desk flip animation!!! 2 main modes. might restructure this a bit tho
(separate out on/off from the mode as there may be many more modes later)


SVN revision: 25299
2006-09-01 15:37:23 +00:00
Carsten Haitzler 109157dc27 was hacking a bit with borders and desktops - just ignore that codee. it's
unused - at the moment.


SVN revision: 25210
2006-08-30 13:37:35 +00:00
Viktor Kojouharov 48b230924a make deskshow as a function. add an event for it
SVN revision: 24130
2006-07-22 22:25:04 +00:00
Carsten Haitzler 97eec41ad9 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +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
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Carsten Haitzler d6f75b50cf fix stringshare NULL
SVN revision: 19558
2006-01-06 15:24:29 +00:00
Carsten Haitzler a3d5f5c28d a lot more use of stringshare.
SVN revision: 18823
2005-12-04 12:03:59 +00:00
Carsten Haitzler 9bb58eca2c aleksej patch for segv on moving window to a new desk if its negative desk
count :)


SVN revision: 18817
2005-12-04 03:25:34 +00:00
Carsten Haitzler d8c635f964 more stringshare work
SVN revision: 18816
2005-12-03 15:39:25 +00:00
sebastid 61e273d0df Fullscreen policy. Not tested since my stupid laptop only has one res.
Please test.


SVN revision: 18303
2005-11-04 23:30:18 +00:00
Carsten Haitzler 0adc7224c3 some widget work... and maybe a fix for disappearing windows?
SVN revision: 17596
2005-10-16 05:59:18 +00:00