Commit Graph

20800 Commits

Author SHA1 Message Date
Mike Blumenkrantz d8878479ad only perform drm shutdown during signal handler if drm engine is in use 2015-12-04 16:00:37 -05:00
Mike Blumenkrantz 58737e9db4 only create wayland screensaver timer in wayland mode
probably fix T2867
2015-12-04 16:00:37 -05:00
Chris Michael 97c488348c Fix invalid compositor type check in e_dpms_force_update
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-04 16:00:37 -05:00
Chris Michael 11a5f6be3f Fix formatting and remove extra blank line
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-04 16:00:37 -05:00
Carsten Haitzler 9e83a7eb4a e - fix compositor fade out ghosting
due to enabling manual rendering (and als animator frametiem to 10
secons) in e_comp_canvas.c when screensaver is active (blanking is
finished totallly - eg the fade to black) evas weill nto render the
last frame of the animation - skipping it and not rendering another
update until screensaver is disabled. this leaves a subtle ghost of
pixel data which is 1 step before black on the screen (until dpms
turns the monitor off).

this fixes that. this delays enabling manual render for 1 more second
after we have been told the screensaver is active. this is plenty of
time to update all the way to black.

@fix
2015-12-04 16:00:37 -05:00
Mike Blumenkrantz 8532f7e1d6 ref clients while a wayland shell surface exists
in the case where a client is deleted, it's possible that the shell
surface may persist longer than the duration of the normal client delete
cycle, so it's necessary to ensure that the client will continue to exist
until the shell surface has been destroyed
2015-12-04 16:00:37 -05:00
Mike Blumenkrantz 90e0018c7e remove fwin popup size hint change callback on win deletion
this callback also crashes if called during delete
2015-12-04 16:00:37 -05:00
Mike Blumenkrantz 930dbc73ac ensure fwin efm delete callback does not trigger crash
if this is called during fwin delete, dereferencing the passed data
will result in a crash
2015-12-04 16:00:36 -05:00
Stafford Horne a817b1b5f4 e/core: Fix minor mem leak when reading module paths
Summary:
Found this with a quick valgrind session.  For paths that are not directories, if we fail the `ecore_file_is_dir` condition memory will not be freed.

The change is to use the default e_path freeing function.

Test Plan:
Run enlightenment in valgrind.  It should no longer show a mem leak like below.

```
==6912== 8 bytes in 1 blocks are definitely lost in loss record 186 of 5,940
==6912==    at 0x4C28C50: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==6912==    by 0x4D8574: e_path_dir_list_get (e_path.c:326)
==6912==    by 0x4D1BA4: e_module_init.part.0 (e_module.c:183)
==6912==    by 0x4D1DA8: e_module_init (e_module.c:153)
==6912==    by 0x4371ED: main (e_main.c:868)
```

Reviewers: zmike

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3356
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 40f100b26c always set wayland E_Client->redirected during client creation
fix T2846
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 76d38b53da ensure that a deskmirror object does not orphan child objects
ref T2846, T2830
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 84e801185a Revert "e deskmirror - fix loss of mirror object from deskmirror"
This reverts commit bd0c590489.

the m->mirror object can never be deleted except in the case of a client
being removed from the owner desk. removing it at any point will break any
users of the deskmirror api and create other issues

ref T2846
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz c9ddd75705 block task gadget refills while a drag is active
it's impossible to use a pager effectively with a task gadget due to
the constant resizing of the tasks gadget during any kind of window move
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 3647c07cc5 always create compositor mirror objects, ignore pixmap image state
checking pixmap image state in this case resulted in mirrors failing to
be created in some cases when there was no reason to fail

ref T2846
2015-12-04 16:00:36 -05:00
Stafford Horne ee2cbf1c91 e/imc: fix issue with input method import segv and small window size
Summary:
The imc import dialog at "Settings > Language > Input Method Settings >
Import .." had issue where the size was almost zero.  When trying to
close the window it would SEGV.

The SEGV seems to be do the with dialog->cdata not being set.

The resize issue I am not so sure, but I upgraded to ELM and if fixed
the issue.

Test Plan:
Open "Settings > Language > Input Method Settings > Import ..."
 - The size should not be really small
 - When closing it should not cause E to SEGV
After applying the patch the above issues are fixed.

Reviewers: zmike

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3353
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 0ec94ff693 add safety checks to e_client_focus/raise_latest_set() fns
passing a null client here breaks the universe, so ensure that it's
easily catchable
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 27144e5148 further improve csd calculations for x11 clients
there was previously a frame in which maximized x11 csd clients would
reposition themselves offscreen before rendering

this is now fixed by adjusting the client geometries either upon
unsetting the csd or re-setting it, allowing the client to retain its
expected positioning without jitters
2015-12-04 16:00:36 -05:00
Carsten Haitzler c8a105bdba e mixer fix - fix default mixer to pulse if there
this makes e use the correct mixer backend if pulse is available as
opposed to using alsa going behind pulses back.

@fix
2015-12-04 16:00:36 -05:00
Kai Huuhko 2735d2af0c L10N: Update Finnish translations
Includes translations from Launchpad.
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 38ecec6d0b update E_Client->desk member upon focusing a sticky client
a sticky window previously would always have the desk set for where
it was set as sticky, meaning that anything which tries to access it
will be reading wrong data here.
more useful information to provide is the last desk which the sticky
client was focused on, so update that upon focusing it
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 2f2eff9691 do not refill all tasks bars when a sticky window changes desks 2015-12-04 16:00:36 -05:00
Mike Blumenkrantz b467800265 do not add new deskmirror clients on desk_set event if client already exists 2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 99d92b711c improve x11 client focusing with mouse-based focus policies on mouse move
in the case that a mouse move event occurs, the compositor should validate
the event to ensure that the mouse cursor is actually over the window that
the event claims to be from

fix T2594
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 8a399d8fd5 improve readability of E_FIRST_FRAME environment variable detection
functionality remains the same, but this is more clear for readers
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 756c4808cb install emixer icon to $(datadir)/pixmaps instead of /icons
fix T2834
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 8f0bc26593 unset release mode 2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 54ea61471a 20.0-rc NEWS updates 2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 9d6152f4c7 20.0-rc release 2015-12-04 16:00:36 -05:00
Mike Blumenkrantz 4c18316fba null efm icon eio handle in error callback
ref T2829
2015-12-04 16:00:36 -05:00
Mike Blumenkrantz ef7d5232f3 ensure that all mixer volumes resolve to the appropriate gadget icon
reported by Jef91 in #e
2015-12-04 16:00:36 -05:00
Carsten Haitzler 98bb7f8431 e screens/zones/randr - store randr2 id in xinerama and zones for lookup
so e has a bit of a problem. we mostly deal with zones, BUt these
zones come from our old xinerama code (this likely should just die
some time) and THIS code gets fed info from e's randr code. we
re-fill/modify as randr finds new screens or things get reconfigured.
thus zones adapt. the problem is now all our zone code really has a
hard time reverse mapping the zone back to where it came from -eg the
randr screen data. you literally can't do a whole bunch of things like
know if that zone was an internal laptop lid or an external screen, or
if it was rotated or even what the dpi is... as you ave no deasy way
to map it back other than by guessing geometry matches.

this fixes that by storing the randr screen id (which should be
unique) fromt he original src randr screen in the xinerama screen and
then in the zone. with this you can do a quick lookup in the e randr
data should you ever need to find the info. this should pave the way
for some other fixes/improvements, but without this they cannot be done.

@fix
2015-12-04 16:00:35 -05:00
Mike Blumenkrantz e54f4fd67f use unsigned int for client focus tracking freeze state
there's no reason why this should ever be negative
2015-12-04 16:00:35 -05:00
Mike Blumenkrantz e9db26a5a4 Revert "clamp client to ABOVE layer when ending nocomp"
This reverts commit 8c6bbe0d44.

This Breaks Everything™.
2015-12-04 16:00:35 -05:00
Mike Blumenkrantz 3dc340b4dd clamp client to ABOVE layer when ending nocomp
should fix case where an "Always on Top" window toggles fullscreen
2015-12-04 16:00:35 -05:00
Vivek Ellur 7a64f1f5fb Fix null dereference issue
Summary:
@Fix
possible null dereference issue while referencing cs2->id. So added a condition
to check it

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3309
2015-12-04 16:00:35 -05:00
Vivek Ellur 89c9b15a75 Fix memory leak issue
Summary:
@Fix

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3307
2015-12-04 16:00:35 -05:00
Vivek Ellur 523400269b e: Fix realloc issue in e font module
Summary:
@Fix

Signed-off-by: Vivek Ellur <vivek.ellur@samsung.com>

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3306
2015-12-04 16:00:35 -05:00
Chris Michael cbed2658b1 Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 5c2b91e7b2 Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael fb5fce9720 Port wl_fb module to use Ecore_Wl2 Library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 7e0c617fa5 Port wl_weekeyboard to use Ecore_Wl2 library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 9aa851f4fb Don't leak eina_iterator in shot module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 9db7ce3c0a Fix formatting of wl_weekeyboard module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael d0e7e77187 Port shot module to use ecore_wl2 library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 7f468681ae port e_scale to use Ecore_Wl2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 5bbbd488d2 port e_grabinput to use Ecore_Wl2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 4a70c192ca port wayland compositor to use Ecore_Wl2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 6b25e902c7 remove unused event loop and add external Ecore_Wl2_Display variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 5ab2de727b include header for Ecore_Wl2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00
Chris Michael 8fcdf3cb9f Make configure check for Ecore_Wl2 library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-11-10 09:10:06 -05:00