platform/upstream/enlightenment.git
8 years agoremove e_comp_wl struct keyboard repeat members
Mike Blumenkrantz [Mon, 30 Nov 2015 19:12:27 +0000 (14:12 -0500)]
remove e_comp_wl struct keyboard repeat members

duplicating these from e_config serves no purpose

ref D3364

8 years ago(1) e_config.c/e_comp_wl.c: add code for making repeat values configurable
Sung-Jin Park [Mon, 30 Nov 2015 19:05:10 +0000 (14:05 -0500)]
(1) e_config.c/e_comp_wl.c: add code for making repeat values configurable
(2) e.src(s): add keyboard.repeat_delay, keyboard.repeat_rate into e.src files

Summary:
As of now, the default values of repeat delay/rate are being set in e_comp_wl.c.
Those values need to be configurable and will be used in e_comp_wl_init().
The limit of each of the values is defined from -1 to 1000. (maximum 1s).
If one of the two is negative, it means default repeat delay/rate are going to be used.
(e.g. delay:400, rate:25)

Test Plan:
N/A

Signed-off-by: Sung-Jin Park <input.hacker@gmail.com>
Reviewers: raster, stefan_schmidt, gwanglim, devilhorns, zmike

Subscribers: Jeon, ohduna, cedric

Differential Revision: https://phab.enlightenment.org/D3364

8 years agoStop using MIN macros when choosing versions for wayland resources
Derek Foreman [Fri, 27 Nov 2015 01:12:47 +0000 (20:12 -0500)]
Stop using MIN macros when choosing versions for wayland resources

Summary:
libwayland-server.so will post an error if the requested version
is higher than the supported one anyway, so there's no point in
doing this.

Using MIN() to pick versions is a client side idiom.

 #kansas

Reviewers: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3385

8 years agoe_menu: use Eina_Bool for one-bit bitfield
Stefan Schmidt [Thu, 26 Nov 2015 17:31:29 +0000 (18:31 +0100)]
e_menu: use Eina_Bool for one-bit bitfield

Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.

8 years agoe_gadcon: use Eina_Bool for one-bit bitfield
Stefan Schmidt [Thu, 26 Nov 2015 17:31:02 +0000 (18:31 +0100)]
e_gadcon: use Eina_Bool for one-bit bitfield

Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.

8 years agopulse backend: correct declaration of function with no parameters
Stefan Schmidt [Thu, 26 Nov 2015 17:10:47 +0000 (18:10 +0100)]
pulse backend: correct declaration of  function with no parameters

We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

Thanks for the sparse semantic parser for pointing this out.

8 years agoe_fm:correct declaration of function with no parameters
Stefan Schmidt [Thu, 26 Nov 2015 17:09:32 +0000 (18:09 +0100)]
e_fm:correct declaration of  function with no parameters

We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

Thanks for the sparse semantic parser for pointing this out.

8 years agore-swallow bg_object after wallpaper transition has completed
Mike Blumenkrantz [Wed, 25 Nov 2015 17:36:36 +0000 (12:36 -0500)]
re-swallow bg_object after wallpaper transition has completed

fixes eventing/stacking on bg object

8 years agoallow more client hooks to bypass delete check
Mike Blumenkrantz [Wed, 25 Nov 2015 02:41:48 +0000 (21:41 -0500)]
allow more client hooks to bypass delete check

failing to propagate these signals can result in a broken compositor
when a client is deleted before/during an operation

8 years agodo not apply max client geometry restriction if max geometry is not set
Mike Blumenkrantz [Tue, 24 Nov 2015 22:34:03 +0000 (17:34 -0500)]
do not apply max client geometry restriction if max geometry is not set

default values for these is set to a very high value, but it's possible
(and guaranteed) for some clients to set them to a value <= 0, which results
in a broken window

8 years agouse CSD geometry during move/resize display
Mike Blumenkrantz [Tue, 24 Nov 2015 22:31:47 +0000 (17:31 -0500)]
use CSD geometry during move/resize display

this should provide more user-relevant information

8 years agoadjust for SSD geometry during wayland client resize
Mike Blumenkrantz [Tue, 24 Nov 2015 22:29:53 +0000 (17:29 -0500)]
adjust for SSD geometry during wayland client resize

client moveinfo includes the frame geometry, so this must be taken
into account when resizing a client which has a frame

fix T2863

8 years agoavoid setting incorrect geometry during new_client frame calc
Mike Blumenkrantz [Tue, 24 Nov 2015 22:28:08 +0000 (17:28 -0500)]
avoid setting incorrect geometry during new_client frame calc

in the case where a client has no geometry set, attempting to update
the client's geometry during frame recalc will guarantee that wrong
geometry is set, resulting in a bad first frame

8 years agodeclare xwayland functions prior to using them
Mike Blumenkrantz [Tue, 24 Nov 2015 20:46:10 +0000 (15:46 -0500)]
declare xwayland functions prior to using them

 #CompileFail

8 years agouse separate handler for x11 fatal errors when using xwayland
Mike Blumenkrantz [Tue, 24 Nov 2015 20:34:42 +0000 (15:34 -0500)]
use separate handler for x11 fatal errors when using xwayland

a fatal error with xwayland is not a fatal error for the compositor,
so this should not result in a dead session

8 years agoadd mechanism for preventing unload of important modules during runtime
Mike Blumenkrantz [Tue, 24 Nov 2015 20:26:10 +0000 (15:26 -0500)]
add mechanism for preventing unload of important modules during runtime

if a wayland output module is unloaded while the compositor is still
active, bad things will happen

8 years agofix all shadow warnings in msgbus module
Mike Blumenkrantz [Tue, 24 Nov 2015 17:01:01 +0000 (12:01 -0500)]
fix all shadow warnings in msgbus module

ref cdb436ee8602728e18a63244988da22b25477819

8 years agoreenable restart/shutdown dbus methods under x11
Mike Blumenkrantz [Tue, 24 Nov 2015 16:49:15 +0000 (11:49 -0500)]
reenable restart/shutdown dbus methods under x11

8 years agoe - efm - rate limit dbus requests to open dirs or files to avoid dos
Carsten Haitzler (Rasterman) [Tue, 24 Nov 2015 13:06:54 +0000 (22:06 +0900)]
e - efm - rate limit dbus requests to open dirs or files to avoid dos

in a wayland wold we dont want to trust clients on the other side of a
dbus connection - so rate limit what you can do with efm dbus requests

@fix

8 years agoe msgbus - move almost all of core dbus methods to msgbus module
Carsten Haitzler (Rasterman) [Tue, 24 Nov 2015 12:55:10 +0000 (21:55 +0900)]
e msgbus - move almost all of core dbus methods to msgbus module

for security reaons, all the dbus methods that allow you to mess with
e are now in the msgbus module - load at your own risk. this is
irrelevant in x11, but in wayland this matters as wayland is actually
secure.

this also disables restart and shutdown dbus methods still in core.
they are there but non-functional due to possibly being able to be
abused in a wayland universe to "dos attack" the wm.

@fix

8 years agoonly perform drm shutdown during signal handler if drm engine is in use
Mike Blumenkrantz [Mon, 23 Nov 2015 20:02:52 +0000 (15:02 -0500)]
only perform drm shutdown during signal handler if drm engine is in use

8 years agoonly create wayland screensaver timer in wayland mode
Mike Blumenkrantz [Mon, 23 Nov 2015 19:46:32 +0000 (14:46 -0500)]
only create wayland screensaver timer in wayland mode

probably fix T2867

8 years agoFix invalid compositor type check in e_dpms_force_update
Chris Michael [Mon, 23 Nov 2015 15:00:36 +0000 (10:00 -0500)]
Fix invalid compositor type check in e_dpms_force_update

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoFix formatting and remove extra blank line
Chris Michael [Mon, 23 Nov 2015 14:48:58 +0000 (09:48 -0500)]
Fix formatting and remove extra blank line

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoe - fix compositor fade out ghosting
Carsten Haitzler (Rasterman) [Mon, 23 Nov 2015 02:42:38 +0000 (11:42 +0900)]
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

8 years agoref clients while a wayland shell surface exists
Mike Blumenkrantz [Fri, 20 Nov 2015 19:59:53 +0000 (14:59 -0500)]
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

8 years agoremove fwin popup size hint change callback on win deletion
Mike Blumenkrantz [Fri, 20 Nov 2015 14:14:53 +0000 (09:14 -0500)]
remove fwin popup size hint change callback on win deletion

this callback also crashes if called during delete

8 years agoensure fwin efm delete callback does not trigger crash
Mike Blumenkrantz [Fri, 20 Nov 2015 14:09:38 +0000 (09:09 -0500)]
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

8 years agoe/core: Fix minor mem leak when reading module paths
Stafford Horne [Fri, 20 Nov 2015 01:44:45 +0000 (20:44 -0500)]
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

8 years agoalways set wayland E_Client->redirected during client creation
Mike Blumenkrantz [Thu, 19 Nov 2015 20:56:59 +0000 (15:56 -0500)]
always set wayland E_Client->redirected during client creation

fix T2846

8 years agoensure that a deskmirror object does not orphan child objects
Mike Blumenkrantz [Thu, 19 Nov 2015 20:52:01 +0000 (15:52 -0500)]
ensure that a deskmirror object does not orphan child objects

ref T2846, T2830

8 years agoRevert "e deskmirror - fix loss of mirror object from deskmirror"
Mike Blumenkrantz [Thu, 19 Nov 2015 20:44:34 +0000 (15:44 -0500)]
Revert "e deskmirror - fix loss of mirror object from deskmirror"

This reverts commit bd0c590489a7ae1c3185578389f19bde4bacbcff.

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

8 years agoblock task gadget refills while a drag is active
Mike Blumenkrantz [Thu, 19 Nov 2015 20:34:19 +0000 (15:34 -0500)]
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

8 years agoalways create compositor mirror objects, ignore pixmap image state
Mike Blumenkrantz [Thu, 19 Nov 2015 20:17:19 +0000 (15:17 -0500)]
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

8 years agoe/imc: fix issue with input method import segv and small window size
Stafford Horne [Thu, 19 Nov 2015 17:46:58 +0000 (12:46 -0500)]
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

8 years agoadd safety checks to e_client_focus/raise_latest_set() fns
Mike Blumenkrantz [Thu, 19 Nov 2015 17:44:35 +0000 (12:44 -0500)]
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

8 years agofurther improve csd calculations for x11 clients
Mike Blumenkrantz [Mon, 16 Nov 2015 21:21:52 +0000 (16:21 -0500)]
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

8 years agoe mixer fix - fix default mixer to pulse if there
Carsten Haitzler (Rasterman) [Sat, 14 Nov 2015 01:13:36 +0000 (10:13 +0900)]
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

8 years agoL10N: Update Finnish translations
Kai Huuhko [Sat, 14 Nov 2015 00:36:01 +0000 (02:36 +0200)]
L10N: Update Finnish translations

Includes translations from Launchpad.

9 years agoupdate E_Client->desk member upon focusing a sticky client
Mike Blumenkrantz [Thu, 12 Nov 2015 22:38:58 +0000 (17:38 -0500)]
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

9 years agodo not refill all tasks bars when a sticky window changes desks
Mike Blumenkrantz [Thu, 12 Nov 2015 22:34:42 +0000 (17:34 -0500)]
do not refill all tasks bars when a sticky window changes desks

9 years agodo not add new deskmirror clients on desk_set event if client already exists
Mike Blumenkrantz [Thu, 12 Nov 2015 22:31:27 +0000 (17:31 -0500)]
do not add new deskmirror clients on desk_set event if client already exists

9 years agoimprove x11 client focusing with mouse-based focus policies on mouse move
Mike Blumenkrantz [Thu, 12 Nov 2015 22:17:38 +0000 (17:17 -0500)]
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

9 years agoimprove readability of E_FIRST_FRAME environment variable detection
Mike Blumenkrantz [Thu, 12 Nov 2015 20:06:09 +0000 (15:06 -0500)]
improve readability of E_FIRST_FRAME environment variable detection

functionality remains the same, but this is more clear for readers

9 years agoinstall emixer icon to $(datadir)/pixmaps instead of /icons
Mike Blumenkrantz [Thu, 12 Nov 2015 17:42:13 +0000 (12:42 -0500)]
install emixer icon to $(datadir)/pixmaps instead of /icons

fix T2834

9 years agounset release mode
Mike Blumenkrantz [Wed, 11 Nov 2015 19:01:22 +0000 (14:01 -0500)]
unset release mode

9 years ago20.0-rc NEWS updates
Mike Blumenkrantz [Wed, 11 Nov 2015 18:40:07 +0000 (13:40 -0500)]
20.0-rc NEWS updates

9 years ago20.0-rc release
Mike Blumenkrantz [Wed, 11 Nov 2015 18:39:54 +0000 (13:39 -0500)]
20.0-rc release

9 years agonull efm icon eio handle in error callback
Mike Blumenkrantz [Wed, 11 Nov 2015 17:25:56 +0000 (12:25 -0500)]
null efm icon eio handle in error callback

ref T2829

9 years agoensure that all mixer volumes resolve to the appropriate gadget icon
Mike Blumenkrantz [Wed, 11 Nov 2015 16:50:51 +0000 (11:50 -0500)]
ensure that all mixer volumes resolve to the appropriate gadget icon

reported by Jef91 in #e

9 years agoe screens/zones/randr - store randr2 id in xinerama and zones for lookup
Carsten Haitzler (Rasterman) [Wed, 11 Nov 2015 12:22:30 +0000 (21:22 +0900)]
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

9 years agouse unsigned int for client focus tracking freeze state
Mike Blumenkrantz [Tue, 10 Nov 2015 19:32:53 +0000 (14:32 -0500)]
use unsigned int for client focus tracking freeze state

there's no reason why this should ever be negative

9 years agoRevert "clamp client to ABOVE layer when ending nocomp"
Mike Blumenkrantz [Tue, 10 Nov 2015 18:32:02 +0000 (13:32 -0500)]
Revert "clamp client to ABOVE layer when ending nocomp"

This reverts commit 8c6bbe0d44e7355a43e40062baed73ac013c03a6.

This Breaks Everythingā„¢.

9 years agoclamp client to ABOVE layer when ending nocomp
Mike Blumenkrantz [Tue, 10 Nov 2015 17:59:26 +0000 (12:59 -0500)]
clamp client to ABOVE layer when ending nocomp

should fix case where an "Always on Top" window toggles fullscreen

9 years agoFix null dereference issue
Vivek Ellur [Tue, 10 Nov 2015 17:26:48 +0000 (12:26 -0500)]
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

9 years agoFix memory leak issue
Vivek Ellur [Tue, 10 Nov 2015 17:26:40 +0000 (12:26 -0500)]
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

9 years agoe: Fix realloc issue in e font module
Vivek Ellur [Tue, 10 Nov 2015 17:26:14 +0000 (12:26 -0500)]
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

9 years agoe deskmirror - fix loss of mirror object from deskmirror
Carsten Haitzler (Rasterman) [Tue, 10 Nov 2015 10:06:06 +0000 (19:06 +0900)]
e deskmirror - fix loss of mirror object from deskmirror

this fixes T2830

@fix

9 years agoibar - fix shutdown if ibar client menu is up
Carsten Haitzler (Rasterman) [Tue, 10 Nov 2015 09:51:56 +0000 (18:51 +0900)]
ibar - fix shutdown if ibar client menu is up

valgrind pointed out a referencing issue with the ibar client menu on
hover and if e is shut down while this is up. it ends up referencing
an already deleted ibar icon, so delete the menu objects that
reference the icon if icon is deleted.

@fix

9 years agocheck client comp data existence in x11 mirror visibility callbacks
Mike Blumenkrantz [Mon, 9 Nov 2015 19:29:23 +0000 (14:29 -0500)]
check client comp data existence in x11 mirror visibility callbacks

9 years agoenforce fullscreen client stacking during nocomp end IFF client is fullscreen
Mike Blumenkrantz [Mon, 9 Nov 2015 18:20:50 +0000 (13:20 -0500)]
enforce fullscreen client stacking during nocomp end IFF client is fullscreen

previous behavior would result in the nocomp window becoming stuck at a fullscreen
layer when ending nocomp, even if the client was no longer fullscreen

fix T2827

9 years agodisable client menu stacking functions for unstackable windows
Mike Blumenkrantz [Mon, 9 Nov 2015 18:11:26 +0000 (13:11 -0500)]
disable client menu stacking functions for unstackable windows

any client stacked higher than E_LAYER_CLIENT_ABOVE should never be
user-stacked

9 years agoe/desk_wallpaper: Fix setting wallpaper from within Virtual Desk dialog
Stafford Horne [Sun, 8 Nov 2015 03:52:21 +0000 (22:52 -0500)]
e/desk_wallpaper: Fix setting wallpaper from within Virtual Desk dialog

Summary:
It seems this was missed when doing the manager/container id removal
back in march.  The param validation was failing and causing the "Set"
button to not work in "Screen > Virtual Desktops > Click to Change
wallpaper".

Test Plan:
1. Open "Screen > Virtual Desktops > Click to Change wallpaper"
2. Click "Set"
  - Expect that a wallpaper dialog be shown
  - Before this patch nothing happens

Reviewers: zmike

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3298

9 years agoRevert "force a software render in all cases when finalizing x11 client iconify"
Mike Blumenkrantz [Sat, 7 Nov 2015 18:12:14 +0000 (13:12 -0500)]
Revert "force a software render in all cases when finalizing x11 client iconify"

This reverts commit 1a87463083fa9e343aa38b4c8824db0c92645b8e.

no longer necessary

9 years agotoggle x11 client iconic/mapped state based on mirror visibility
Mike Blumenkrantz [Sat, 7 Nov 2015 18:10:02 +0000 (13:10 -0500)]
toggle x11 client iconic/mapped state based on mirror visibility

in order to continue rendering an iconic client without breaking icccm,
it's necessary to map the client's window again and unset iconic state
whenever rendering is needed, then re-set states when rendering
stops

ref T2788

9 years agoadd e_comp_object_mirror_visibility_check()
Mike Blumenkrantz [Sat, 7 Nov 2015 18:09:23 +0000 (13:09 -0500)]
add e_comp_object_mirror_visibility_check()

can be used to check whether visible mirrors exist for a comp object

9 years agoadd counter and smart callbacks for comp object visible mirrors
Mike Blumenkrantz [Sat, 7 Nov 2015 18:08:12 +0000 (13:08 -0500)]
add counter and smart callbacks for comp object visible mirrors

ref T2788

9 years agoemit ibox icon signals to the internal edje object of the e_icon
Mike Blumenkrantz [Sat, 7 Nov 2015 18:07:07 +0000 (13:07 -0500)]
emit ibox icon signals to the internal edje object of the e_icon

9 years agomove client iconic hint setting into x11 hide function
Mike Blumenkrantz [Sat, 7 Nov 2015 18:06:23 +0000 (13:06 -0500)]
move client iconic hint setting into x11 hide function

e_hints should probably be merged into the x11 compositor entirely
at some point

9 years agobreak out x11 client visibility setting into util functions
Mike Blumenkrantz [Sat, 7 Nov 2015 18:05:18 +0000 (13:05 -0500)]
break out x11 client visibility setting into util functions

9 years agoset e_comp->gl for wayland compositors based on gl display bind success
Mike Blumenkrantz [Sat, 7 Nov 2015 17:23:04 +0000 (12:23 -0500)]
set e_comp->gl for wayland compositors based on gl display bind success

9 years agoe/ilist: Fix issue with multiselect returning wrong index
Stafford Horne [Sat, 7 Nov 2015 17:11:53 +0000 (12:11 -0500)]
e/ilist: Fix issue with multiselect returning wrong index

Summary:
I noticed this because the description dialog in "Apps > Startup Application"
was never getting properly populated.

Test Plan:
When selecting items in the "Apps > Startup Applications" config the
description should update if a "Comment" field is available in the
.desktop file.

Reviewers: zmike

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3297

9 years agoe/conf_apps: Fix resizing of "Startup Application" dialog
Stafford Horne [Sat, 7 Nov 2015 17:11:49 +0000 (12:11 -0500)]
e/conf_apps: Fix resizing of "Startup Application" dialog

Summary:
Currently the config dialog in Apps > Startup Applications does not properly
resized as one of the objects is not set to horizontal fill.

Test Plan: 1. Resize "Apps > Startup Applications", it should resize the list with the window

Reviewers: zmike

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3296

9 years agoadjust efm multi-icon drag positioning by the current pan coords
Mike Blumenkrantz [Thu, 5 Nov 2015 20:29:34 +0000 (15:29 -0500)]
adjust efm multi-icon drag positioning by the current pan coords

fixes positioning when dragging multiple icons after scrolling

9 years agoaccount for window position in efm window drag initial positioning
Mike Blumenkrantz [Thu, 5 Nov 2015 20:28:50 +0000 (15:28 -0500)]
account for window position in efm window drag initial positioning

fix T2819

9 years agoe/win_config: allow content of some dialogs to resize with the window
shorne [Thu, 5 Nov 2015 07:03:26 +0000 (16:03 +0900)]
e/win_config: allow content of some dialogs to resize with the window

Summary:
Currently the dialogs in Winows > Window List Menu and Window Display are
resizable the their content does not resize.  This patch fixes that.

Test Plan: Open windows in window config dialog and ensure they can resize propertly

Reviewers: zmike

Subscribers: raster, cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3275

9 years agoremove note about window close crashing
Mike Blumenkrantz [Wed, 4 Nov 2015 23:26:06 +0000 (18:26 -0500)]
remove note about window close crashing

fixed courtesy of the majestic compiler #warning for shm buffers

9 years agocheck for wayland egl extensions before starting a gl compositor
Mike Blumenkrantz [Wed, 4 Nov 2015 17:18:36 +0000 (12:18 -0500)]
check for wayland egl extensions before starting a gl compositor

when running in software mode, evasgl performs no checking to determine
whether gl is available, leading to a crash due to missing extensions

9 years agoRevert "Adds eglfs to Enlightenment"
Nicolas Aguirre [Tue, 3 Nov 2015 07:01:58 +0000 (08:01 +0100)]
Revert "Adds eglfs to Enlightenment"

This reverts commit ff1e7b50834e183f336fd427298981c6a9ebf7e8.

9 years agoRevert "configure.ac: fixes wayland-only build"
Nicolas Aguirre [Tue, 3 Nov 2015 07:01:48 +0000 (08:01 +0100)]
Revert "configure.ac: fixes wayland-only build"

This reverts commit 829a12ef86c6ab32b3f42a6440a5ed584a4fe10b.

9 years agoRevert "e_signals.c: Inclues Ecore_DRM only if WL_DRM is built and not only if WAYLAN...
Nicolas Aguirre [Tue, 3 Nov 2015 07:01:42 +0000 (08:01 +0100)]
Revert "e_signals.c: Inclues Ecore_DRM only if WL_DRM is built and not only if WAYLAND is built"

This reverts commit 96e304bc904c49df406b34108d7442835025349d.

9 years agoRevert "wl_eglfs: enable gl acceleration, mouse, touchscreen and keyboard"
Nicolas Aguirre [Tue, 3 Nov 2015 07:01:35 +0000 (08:01 +0100)]
Revert "wl_eglfs: enable gl acceleration, mouse, touchscreen and keyboard"

This reverts commit c99d46ae666a753c36313826747ef1f72dab07ca.

9 years agoRevert "[HACK??] Fixes wayland-only build"
Nicolas Aguirre [Tue, 3 Nov 2015 07:01:26 +0000 (08:01 +0100)]
Revert "[HACK??] Fixes wayland-only build"

This reverts commit bc3464e98c94638cb4cbe0065fa512413ac51c91.

9 years agoRevert "Fixes build complaining about missing ABOUT-NLS"
Nicolas Aguirre [Tue, 3 Nov 2015 07:01:18 +0000 (08:01 +0100)]
Revert "Fixes build complaining about missing ABOUT-NLS"

This reverts commit b39ec87150c9ccb06b3ab934a52ffa8b08cb29bf.

9 years agoRevert "Don't load xwayland if it isn't compiled"
Nicolas Aguirre [Tue, 3 Nov 2015 06:57:56 +0000 (07:57 +0100)]
Revert "Don't load xwayland if it isn't compiled"

This reverts commit 496ae3746f94e2fab2c40d6bdf16e7f953ddba1a.

9 years agoDon't load xwayland if it isn't compiled
Florent Revest [Wed, 29 Jul 2015 13:26:41 +0000 (15:26 +0200)]
Don't load xwayland if it isn't compiled

9 years agoFixes build complaining about missing ABOUT-NLS
Florent Revest [Mon, 27 Jul 2015 15:52:48 +0000 (17:52 +0200)]
Fixes build complaining about missing ABOUT-NLS

9 years ago[HACK??] Fixes wayland-only build
Florent Revest [Mon, 27 Jul 2015 15:40:13 +0000 (17:40 +0200)]
[HACK??] Fixes wayland-only build

9 years agowl_eglfs: enable gl acceleration, mouse, touchscreen and keyboard
Florent Revest [Mon, 27 Jul 2015 15:21:57 +0000 (17:21 +0200)]
wl_eglfs: enable gl acceleration, mouse, touchscreen and keyboard

9 years agoe_signals.c: Inclues Ecore_DRM only if WL_DRM is built and not only if WAYLAND is...
Florent Revest [Mon, 27 Jul 2015 15:21:04 +0000 (17:21 +0200)]
e_signals.c: Inclues Ecore_DRM only if WL_DRM is built and not only if WAYLAND is built

9 years agoconfigure.ac: fixes wayland-only build
Florent Revest [Mon, 27 Jul 2015 15:20:16 +0000 (17:20 +0200)]
configure.ac: fixes wayland-only build

9 years agoAdds eglfs to Enlightenment
Florent Revest [Tue, 21 Jul 2015 16:09:04 +0000 (18:09 +0200)]
Adds eglfs to Enlightenment

9 years agoadd wayland egl client support
Mike Blumenkrantz [Mon, 2 Nov 2015 21:23:20 +0000 (16:23 -0500)]
add wayland egl client support

definitely not a feature, I promiseā„¢

9 years agouse e_comp->gl flag to set native surface state
Mike Blumenkrantz [Mon, 2 Nov 2015 20:54:38 +0000 (15:54 -0500)]
use e_comp->gl flag to set native surface state

e_comp_gl_get() is for determining if gl exists, not if it's being used

9 years agofix comp object native surface config checking for non-x11 compositors
Mike Blumenkrantz [Mon, 2 Nov 2015 20:54:13 +0000 (15:54 -0500)]
fix comp object native surface config checking for non-x11 compositors

9 years agoadd native surface (gl) clients to post render list
Mike Blumenkrantz [Mon, 2 Nov 2015 20:53:04 +0000 (15:53 -0500)]
add native surface (gl) clients to post render list

forgot to add this when I was redoing it for sw

ref 4d30674ab87001d6a1515908341d756d75a22a89

9 years agoRevert "queue pending buffers for wayland shm clients"
Mike Blumenkrantz [Mon, 2 Nov 2015 19:53:15 +0000 (14:53 -0500)]
Revert "queue pending buffers for wayland shm clients"

This reverts commit 1ee825d29c2ca6d35da5f0860838d57019bca3f2.

this was fixing the wrong problem and was not functioning accurately
in any case

9 years agoe exec tracker - fix tracking to update desktop files on efreet change
Carsten Haitzler (Rasterman) [Mon, 2 Nov 2015 03:28:27 +0000 (12:28 +0900)]
e exec tracker - fix tracking to update desktop files on efreet change

efreet will send change events meaning out desktop file icons are
invalid now. we have refs but content is junk. update these to new
desktop ptr handles by using the exec key to look up new ones on the
change event. this fixes ibar gainign a bunch of blank unknown icons
when any desktop files are touched on the system or user dirs

@fix

9 years agosimplify client SMART/EXPAND maximize
Mike Blumenkrantz [Fri, 30 Oct 2015 19:03:29 +0000 (15:03 -0400)]
simplify client SMART/EXPAND maximize

calling e_client_resize_limit() here was misleading since the values
were never used

9 years agoadjust non-x11 client's saved frame geometry when changing csd
Mike Blumenkrantz [Thu, 29 Oct 2015 18:33:15 +0000 (14:33 -0400)]
adjust non-x11 client's saved frame geometry when changing csd

this seems to be a more comprehensive solution for retaining previous
window sizes after toggling various csd-affecting window states in wayland