Go to file
Gustavo Sverzut Barbieri 987192c54d fix bugs of gadgets using incorrect zones.
I found strange behavior in my configuration (xinerama - two screens
with two zones). When i select a Enlightenment->Restart from menu the
popups for gadgets on desktop doesn't appear or appear wrongly. After
some time i've found that this depends on on from what screen i am
choosing this enlightenment->restart :)

After some debugging i figured it out:

When restarting enlightenment some gadgets (i.e. calendar) are calling
e_gadgon_popup_new(). Inside that function, zone for popup window
(this zone was used later in ecore_evas_move_resize) is calculated
like that:

{{{
zone = e_util_zone_current_get(e_manager_current_get());
and in e_manager_current_get is: ecore_x_pointer_xy_get()
}}}

... so - i have my answer why restaring from one screen (cursor was on
that screen) and from second screen i have different results...

In other words: during initializing module like calendar - created
zone for popup is assigned depending on current cursor position.

In my patch i've chage this to obtain zone using the gadget position
instead.  But it solves the problem partialy.

Next thing - in function:

e_gadget_popup_show() (which is called later) when calculating popup
position coordinates was calculated using zone:

{{{
pop->gcc->gadcon->zone
}}}

which in my case was always the first (initial) zone - (of course it
was wrong, because i put a gadgets on different screens for testing).
so i changed it to zone of popup window (which was calculated before,
in e_gadgon_popup_new()) and after that everythings works ok :) Zones
for popups are correctly assigned and popups calculation are also ok -
even after restaring enlightenment (tested with cursor on both
screens).

By: manio



SVN revision: 40927
2009-06-06 23:40:58 +00:00
config updating esperanto translation 2009-05-17 07:47:15 +00:00
data several patches from sergey etc. 2009-05-15 11:47:28 +00:00
debian fix debian rules files. 2009-05-26 17:34:53 +00:00
doc Fix the image size 2009-02-01 00:17:05 +00:00
intl Should not be here. 2006-10-31 23:32:31 +00:00
lib Quiet! 2004-12-02 18:41:29 +00:00
m4 tweak e module help strings so the mondo list is a bit more compact 2009-04-28 04:27:00 +00:00
po Added ku to LINGUAS, fixed {missing file} in gettext 2009-06-03 14:36:42 +00:00
src fix bugs of gadgets using incorrect zones. 2009-06-06 23:40:58 +00:00
.cvsignore ignore 2008-06-19 12:29:22 +00:00
AUTHORS authors++ 2009-03-15 17:48:07 +00:00
BUGS bugs-- 2006-06-20 12:04:06 +00:00
COPYING fix the copying license to 2009-01-13 13:00:45 +00:00
COPYING-PLAIN _ _ _ _ _____ ___ 2004-11-25 03:37:45 +00:00
ChangeLog _ _ _ _ _____ ___ 2004-11-25 03:37:45 +00:00
INSTALL _ _ _ _ _____ ___ 2004-11-25 03:37:45 +00:00
Makefile.am Remove enlightenment-config source of miscompilation. You should use pkg-config now. 2008-10-16 10:19:40 +00:00
NEWS _ _ _ _ _____ ___ 2004-11-25 03:37:45 +00:00
README typo 2008-04-03 19:05:21 +00:00
autogen.sh Seach local m4 directory first. 2007-03-25 19:11:49 +00:00
configure.ac enable "everything" module. 2009-05-17 20:42:01 +00:00
enlightenment.pc.in 1. embryo shoudl have soname 2009-04-21 14:17:42 +00:00
enlightenment.spec.in Remove enlightenment-config source of miscompilation. You should use pkg-config now. 2008-10-16 10:19:40 +00:00
netwm.txt Fix supported atoms. 2005-09-20 17:09:56 +00:00
x-ui.sh 1. embryo shoudl have soname 2009-04-21 14:17:42 +00:00
xnest.sh This is a bash script, so don't use bad alias shebang. 2007-08-31 20:41:47 +00:00

README

Enlightenment 0.17.0 - IN DEVELOPMENT... not a RELEASE.

Requirements:
-------------

Must:
  libc libm libX11 libXext evas ecore ecore-evas ecore-file ecore-ipc ecore-con
  ecore-job ecore-imf ecore-img-evas edje eet embryo efreet efreet-mime
  edbus ecore-txt
  [png loader in evas, jpeg loader in evas, eet loader in evas, software_x11
  engine in evas, buffer engine in evas]

Recommended:
  libpam [xrender engine in evas]

NOTE: Users of DR16 will need to rename the $prefix/bin/enlightenment
file prior to installing DR17 or it will be overwritten.

You can also use the configure --prefix option to put e17 in a separate tree
of its own (recommended) like:

  ./configure --prefix=/usr/local/e17

You will, as usual need to add the subsequent bin dir to your $PATH etc.


NOTES:

* do NOT use -mfpmath=sse in CFLAGS - we are not sure, but it may have bugds
and screws up things in edje, evas and e17. if your gcc uses this by default
(which apparently gcc4.x does on amd64), turn it off with a -fpmath=387 in
your CFLAGS.

* your freetype2 version must be > 2.1.7

* i remember hearing of bugs with later versions of freetype on some
distributions (2.1.9 and 2.1.10) with certain patches or missing certain
patches. be aware of this as a possible font problem.