platform/upstream/enlightenment.git
8 years agoadd function to blank out a client's rendered image
Mike Blumenkrantz [Thu, 17 Sep 2015 20:48:43 +0000 (16:48 -0400)]
add function to blank out a client's rendered image

when working with Extremely Serious effects, it may be the case that
a user is rendering at such an advanced level that any attempt by
enlightenment to perform rendering will be like a child trying to
reproduce a masterpiece of art while using fingerpaints

https://www.youtube.com/watch?v=tY6qag5KFx0&hd=1

8 years agoalways send CLIENT_SHOW event when clients are shown
Mike Blumenkrantz [Thu, 17 Sep 2015 23:06:12 +0000 (19:06 -0400)]
always send CLIENT_SHOW event when clients are shown

I think it was the case for <E19 that uniconifying a client would
not send a show event, but this is not ideal and so the event should
still be sent

8 years agoremove unused variables in ilist widget
Mike Blumenkrantz [Thu, 17 Sep 2015 20:56:22 +0000 (16:56 -0400)]
remove unused variables in ilist widget

8 years agoset comp object mirror alpha flag more accurately on creation
Mike Blumenkrantz [Thu, 17 Sep 2015 20:48:02 +0000 (16:48 -0400)]
set comp object mirror alpha flag more accurately on creation

8 years agoadd smart callback for comp object damage calls
Mike Blumenkrantz [Thu, 17 Sep 2015 20:46:46 +0000 (16:46 -0400)]
add smart callback for comp object damage calls

related to the previous commit, this will allow api users to determine
when a client needs to re-render with the least amount of overhead

8 years agoadd function for overriding the native surface of a client's comp object
Mike Blumenkrantz [Thu, 17 Sep 2015 20:44:23 +0000 (16:44 -0400)]
add function for overriding the native surface of a client's comp object

it's a pretty trivial thing to hand-composite a client, so this will
allow someone to do something like render out a gaussian blur to an fbo
using a client's texture and then render the fbo onto the compositor
canvas with minimal overhead

8 years agoadd smart callback for comp object hiding animation begin
Mike Blumenkrantz [Thu, 17 Sep 2015 20:41:02 +0000 (16:41 -0400)]
add smart callback for comp object hiding animation begin

it's impossible to determine this at the time of calling without adding
some sort of callback here; edje signals are deferred, meaning that
an interested user will not be able to check the state of a client
when it begins to hide

8 years agocreate util function for enforcing comp object image alpha setting
Mike Blumenkrantz [Thu, 17 Sep 2015 20:39:42 +0000 (16:39 -0400)]
create util function for enforcing comp object image alpha setting

this can be set in a couple places, so move all the logic into a single
caller to ensure correct setting

8 years agoalias x11 pixmaps to parent windows during reparent
Mike Blumenkrantz [Thu, 17 Sep 2015 20:36:38 +0000 (16:36 -0400)]
alias x11 pixmaps to parent windows during reparent

failure to allow pixmaps/clients to be retrived by parent window will
result in api users being greatly inconvenienced after a reparenting has
occurred

8 years agoadd function for getting x11 pixmap from E_Pixmap
Mike Blumenkrantz [Thu, 17 Sep 2015 20:35:55 +0000 (16:35 -0400)]
add function for getting x11 pixmap from E_Pixmap

8 years agoadd pre-render callback list for compositor canvas
Mike Blumenkrantz [Thu, 17 Sep 2015 20:32:49 +0000 (16:32 -0400)]
add pre-render callback list for compositor canvas

someone doing fancy effects might want to add a callback to do various
tasks only when a render is about to occur

8 years agoenable depth+stencil bits for x11 gl compositor canvas creation
Mike Blumenkrantz [Thu, 17 Sep 2015 20:31:53 +0000 (16:31 -0400)]
enable depth+stencil bits for x11 gl compositor canvas creation

8 years agorename E_Comp_Grab_Cb to E_Comp_Cb
Mike Blumenkrantz [Thu, 17 Sep 2015 20:31:07 +0000 (16:31 -0400)]
rename E_Comp_Grab_Cb to E_Comp_Cb

this is a super generic global callback type which will never be used
elsewhere, so rename it to make it potentially useful in other places

8 years agoenforce gathering client moveinfo before beginning move/resize action
Mike Blumenkrantz [Thu, 17 Sep 2015 20:29:20 +0000 (16:29 -0400)]
enforce gathering client moveinfo before beginning move/resize action

8 years agoadd ilist method for setting disabled state
Mike Blumenkrantz [Tue, 15 Sep 2015 17:05:21 +0000 (13:05 -0400)]
add ilist method for setting disabled state

ilist widget adds items in a deferred queue, resulting in attempts to
immediately toggle the disabled state having no effect. now there is
a flag so that items added after the disabled flag have been set will
have the correct state

fix T2730

8 years agounset client hidden flag on config dialogs when activating from another vdesk
Mike Blumenkrantz [Tue, 15 Sep 2015 16:46:46 +0000 (12:46 -0400)]
unset client hidden flag on config dialogs when activating from another vdesk

fix T2731

8 years agodelete notification mirror objects upon deleting original popup
Mike Blumenkrantz [Mon, 14 Sep 2015 17:14:06 +0000 (13:14 -0400)]
delete notification mirror objects upon deleting original popup

fix T2722

8 years agoe winlist focus alt-tabbing - fix focus list changes while tabbing
Carsten Haitzler (Rasterman) [Sat, 12 Sep 2015 04:38:38 +0000 (13:38 +0900)]
e winlist focus alt-tabbing - fix focus list changes while tabbing

this should fix T2700

@fix

8 years agoensure that non-fullscreen nocomp clients have their layers re-set
Mike Blumenkrantz [Fri, 11 Sep 2015 17:04:02 +0000 (13:04 -0400)]
ensure that non-fullscreen nocomp clients have their layers re-set

in the case where a window is fullscreen without having the 'fullscreen'
flag set, the previously-used layer must be reapplied upon nocomp end
in order to avoid breaking the compositor

8 years agoset 'starting' flag for desk show in e_zone_desk_count_set()
Mike Blumenkrantz [Fri, 11 Sep 2015 16:57:15 +0000 (12:57 -0400)]
set 'starting' flag for desk show in e_zone_desk_count_set()

as a result of earlier changes which prevented recursive desk flips,
e_desk_show() now rejects some desk show calls which are invalid such as
a show where the "current" desk does not have the visible flag set. this
behavior is overridden in the case of startup, which is functionally the
same effect as changing the desk count

fix T2717

8 years agoe comp - set rects to null to silence compiler warning
Carsten Haitzler (Rasterman) [Thu, 10 Sep 2015 13:13:57 +0000 (22:13 +0900)]
e comp - set rects to null to silence compiler warning

even though n is 0 and we don't use rects, compiler doesn't know, so
to avoid noise - set to null so we can focus on warnings of real errors.

8 years agoe mixer - shut up coverity CID 1323098
Carsten Haitzler (Rasterman) [Wed, 9 Sep 2015 02:02:23 +0000 (11:02 +0900)]
e mixer - shut up coverity CID 1323098

8 years agoadd extreme hacks to enforce nocomp stacking policies
Mike Blumenkrantz [Tue, 8 Sep 2015 22:37:44 +0000 (18:37 -0400)]
add extreme hacks to enforce nocomp stacking policies

if windows set to "Always on Top" exist while the option to allow
windows over fullscreen windows is enabled, enabling nocomp will
result in the above windows being stuck over the nocomp window

instead, force the nocomp window to be the top-most window in all cases,
and then put it back if another object appears on the screen over it

fix T2703

8 years agoensure that normal clients are stacked below overrides when raising
Mike Blumenkrantz [Tue, 8 Sep 2015 21:47:48 +0000 (17:47 -0400)]
ensure that normal clients are stacked below overrides when raising

when a client is set to "Always on Top", it will be on the same layer
as override clients. this can cause strange stacking and mouse eventing
in cases where these windows occupy the same space and the normal client
is stacked over the override

8 years agounshade clients when activating
Mike Blumenkrantz [Tue, 8 Sep 2015 21:01:36 +0000 (17:01 -0400)]
unshade clients when activating

fixes issue where an activated client on another vdesk which was shaded
would appear to be unshaded but was, in fact, shaded

8 years agoforce-disable refocus during desk flip on client activation
Mike Blumenkrantz [Tue, 8 Sep 2015 20:55:21 +0000 (16:55 -0400)]
force-disable refocus during desk flip on client activation

this prevents an infinite focus loop where focus will be constantly
reapplied between multiple windows if the activated window is not the
refocus window

8 years agoblock forced mirror render for clients with native surfaces
Mike Blumenkrantz [Mon, 7 Sep 2015 17:15:25 +0000 (13:15 -0400)]
block forced mirror render for clients with native surfaces

8 years agowl_text_input: initializes input_method's context when destroy context.
Seunghun Lee [Mon, 7 Sep 2015 17:13:52 +0000 (13:13 -0400)]
wl_text_input: initializes input_method's context when destroy context.

Summary: input_method's context set to NULL when context is freed.

Test Plan: N/A

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

8 years agowl_text_input: remove duplicated code.
Seunghun Lee [Mon, 7 Sep 2015 17:13:27 +0000 (13:13 -0400)]
wl_text_input: remove duplicated code.

Summary: remove redundant code.

Test Plan: N/A

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

8 years agowl_text_input: initializes global handle after destroying.
Seunghun Lee [Mon, 7 Sep 2015 17:13:10 +0000 (13:13 -0400)]
wl_text_input: initializes global handle after destroying.

Summary: variable for handle should be initialized.

Test Plan: N/A

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

8 years agoBinding input method will be allowed to wl_client that is created by enlightenment.
Seunghun Lee [Mon, 7 Sep 2015 17:12:53 +0000 (13:12 -0400)]
Binding input method will be allowed to wl_client that is created by enlightenment.

Summary:
Added code to check whether wl_client's pid is equal to enlightenment's.
this means, only enlightenment modules can bind wl_text_input interface.

Reviewers: zmike, devilhorns, ManMower

Reviewed By: devilhorns, ManMower

Subscribers: cedric

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

8 years agofix x11 compositor to use damage events
Mike Blumenkrantz [Mon, 7 Sep 2015 15:10:54 +0000 (11:10 -0400)]
fix x11 compositor to use damage events

it seems that since the first version of the enlightenment compositor
in e17, damage events in x11 have never been used correctly. using
the event struct members will only give the bounding box/area instead
of the damaged regions; the real regions must be explicitly fetched
from the server

this removes the need for a lot of hacks which were added over the years
to make override windows render correctly, and also probably reduces
rendering overhead slightly

8 years agodeskmirror: check if ec is not null before accessing it
Marcel Hollerbach [Mon, 7 Sep 2015 14:22:43 +0000 (10:22 -0400)]
deskmirror: check if ec is not null before accessing it

Summary: ec can be NULL

Reviewers: devilhorns, zmike

Projects: #enlightenment-git

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

8 years agoe mixer - save state when we get change events too
Carsten Haitzler (Rasterman) [Sun, 6 Sep 2015 11:04:22 +0000 (20:04 +0900)]
e mixer - save state when we get change events too

this plugs a gap where wrong state is saved.

8 years agoupdate mailmap
Boris Faure [Sat, 5 Sep 2015 11:55:50 +0000 (13:55 +0200)]
update mailmap

8 years agoenlightenment: Fix formatting of Wayland compositor code so it is easily readable...
Chris Michael [Thu, 3 Sep 2015 15:16:07 +0000 (11:16 -0400)]
enlightenment: Fix formatting of Wayland compositor code so it is easily readable in 80 columns

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoe mixer - fix up saving to save everything
Carsten Haitzler (Rasterman) [Wed, 2 Sep 2015 09:31:44 +0000 (18:31 +0900)]
e mixer - fix up saving to save everything

as pointed out by jackdanielsz and bu5hm4n - this doesnt save
everything. like all the outputs and ports and... so now it does.
everything is saved and restored is "remember" is enabled. now
everything should be fine.

8 years agoe mixer - discovered bug as a lack of feature - does not remember volume
Carsten Haitzler (Rasterman) [Wed, 2 Sep 2015 03:49:42 +0000 (12:49 +0900)]
e mixer - discovered bug as a lack of feature - does not remember volume

i have never seen this before until last night. on some systems audio
starts up volume 0 and muted (either or) and thus on login the volume
is not where you left it and you have to manually fix it every time.
this fixes this by having mixer remember the last volume and mute
state you set (option to enable/disable too) and handles "upgrading"
to remember by default if you have old config

@feature / @fix

8 years agoe - mixer - fix leak when seting volume
Carsten Haitzler (Rasterman) [Tue, 1 Sep 2015 15:03:57 +0000 (00:03 +0900)]
e - mixer - fix leak when seting volume

fixes a lieak i spotted in mixer after moving to epulse core. fix for
e20

8 years agoe pagers - fix full desktop ddnd (eg middle mouse) to finish the drag
Carsten Haitzler (Rasterman) [Fri, 28 Aug 2015 04:14:27 +0000 (13:14 +0900)]
e pagers - fix full desktop ddnd (eg middle mouse) to finish the drag

drag state was not properly shut down on mouse up

@fix

8 years agoe_comp_wl: create global and bind session_recovery interface
Stefan Schmidt [Tue, 25 Aug 2015 13:46:16 +0000 (15:46 +0200)]
e_comp_wl: create global and bind  session_recovery interface

Before we can use the session_recovery protocol extension we need to register
its global and bind the interface to our implementation.

The callback for the provide_uuid call from the client is just a stub for now.

8 years agoRevert "Revert "deskmirror - fix dangling reference to mirror by refcounting it""
Carsten Haitzler (Rasterman) [Mon, 24 Aug 2015 03:00:28 +0000 (12:00 +0900)]
Revert "Revert "deskmirror - fix dangling reference to mirror by refcounting it""

This reverts commit 466dd8d57db6f281e7faebc4d532d5bc77e02dd7.

sorry - this bug is still there and this tracks references - the
current code DOES NOT DO THIS RIGHT.

No symbol table info available.
No symbol table info available.
out>) at src/bin/e_deskmirror.c:336
        mb = 0x1ed7220
        #3  0x00007f0e3c864a8d in evas_object_smart_del
(eo_obj=0x8000039ae0101eb8) at lib/evas/canvas/evas_object_smart.c:1016
        obj = <optimized out>
        sobj = <optimized out>
        s = 0x220d540
        i = <optimized out>
        __FUNCTION__ = "evas_object_smart_del"
(eo_obj=0x8000039ae0101eb8, obj=0x21432e0) at
lib/evas/canvas/evas_object_main.c:739
        proxy = <optimized out>
        l = <optimized out>
        l2 = <optimized out>
        texture = <optimized out>
        __FUNCTION__ = "_evas_object_eo_base_destructor"
...

and EXACTLY as before p *(mb->m) shows that m is full of garbage.
mb->ec is a garbage pointer, w amd h arte garbage coordinates etc. m
is not tracked. pretty simple. open and close a few windows - mayeb
switch some desktops, THEN restart and see the crashes. its easy
enough to reproduce

8 years agoremove dirty callback for deskmirror clients upon creating visual
Mike Blumenkrantz [Fri, 21 Aug 2015 21:13:48 +0000 (17:13 -0400)]
remove dirty callback for deskmirror clients upon creating visual

if another callback triggered the creation of a deskmirror visual while
the dirty callback was in place, a second mirror object would be created
leading to an orphaned mirror object which retained references to the dm
client and eventually resulting in a crash

8 years agosimplify e_desk_show visibility unsetting, reject recursive desk flips
Mike Blumenkrantz [Fri, 21 Aug 2015 19:53:10 +0000 (15:53 -0400)]
simplify e_desk_show visibility unsetting, reject recursive desk flips

the currently visible desk for a zone is stored on the zone struct, so
iterating here is unnecessary. furthermore, at the time when a desk is hidden,
a client may begin receiving mouse events which could trigger a focus-set and
lead to another desk flip. at this time and only this time, the "current" desk
will be marked as not visible, and so this sort of desk show must be rejected

fix T2676

8 years agotrack focus time for x11 canvas focus, unset client focus on x11 canvas focus-in
Mike Blumenkrantz [Fri, 21 Aug 2015 19:50:10 +0000 (15:50 -0400)]
track focus time for x11 canvas focus, unset client focus on x11 canvas focus-in

in the case that the canvas window has just had focus set on it, apply this focus
and ensure that no client retains focus

this resolves a race condition where focusing the compositor canvas <-> client
extremely quickly would result in a client trying to steal focus when it was
not actually focused

a notable (but trivial) side effect is that now when flipping desks at high speed while using
mouse-based focus policies, the user is almost guaranteed to end on a desk which
has open windows on it

8 years agoreject focus-set attempt if desk flip to client's desk was rejected
Mike Blumenkrantz [Fri, 21 Aug 2015 19:46:13 +0000 (15:46 -0400)]
reject focus-set attempt if desk flip to client's desk was rejected

in the case of recursive desk flips, toggling a desk's visibility may
erroneously send queued evas events to the client's frame object, leading
to a focus-set (mouse-based focus models) which triggers a desk flip
inside the original desk flip. this "inner" desk flip is spurious and
should be ignored

8 years agoadd full damage for x11 override clients on resize configure event
Mike Blumenkrantz [Fri, 21 Aug 2015 18:51:33 +0000 (14:51 -0400)]
add full damage for x11 override clients on resize configure event

it seems that the reported damage events upon resizing an override window
are not accurate, and so we must force a full damage here while avoiding a
render queue in order to ensure that the full contents of the override will
be rendered in the next frame

fix T2045

8 years agodon't watch dirty smart cb for desmirror clients with unusable pixmaps
Mike Blumenkrantz [Fri, 21 Aug 2015 17:10:06 +0000 (13:10 -0400)]
don't watch dirty smart cb for desmirror clients with unusable pixmaps

this seems to fix an extremely rare issue related to both deskmirror artifacts
and crashes in deskmirror during restart; I was only able to reproduce the crash
twice in the span of over an hour of testing and it seemed to disappear after
this change

8 years agoRevert "deskmirror - fix dangling reference to mirror by refcounting it"
Mike Blumenkrantz [Fri, 21 Aug 2015 16:58:11 +0000 (12:58 -0400)]
Revert "deskmirror - fix dangling reference to mirror by refcounting it"

This reverts commit 5404adc54fb7f49b435e736e375bf7368321a1b0.

I'm strongly against adding refcounts/nullchecks to hide bugs which
are caused by failure to properly track object existence. let's try to avoid
this sort of thing in the future

8 years agomenu: match file looked by code.
Thierry [Fri, 21 Aug 2015 15:06:54 +0000 (17:06 +0200)]
menu: match file looked by code.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoe - systray - add more sizes to icon hunt to fix missing icons
Carsten Haitzler (Rasterman) [Fri, 21 Aug 2015 12:37:21 +0000 (21:37 +0900)]
e - systray - add more sizes to icon hunt to fix missing icons

some systray indicator icons are not found because the sizes are not
in the list. fix this. this SHOULD actually use our existing efreet
icon theme finding to auto-switch file based on size changes.

8 years agodeskmirror - fix dangling reference to mirror by refcounting it
Carsten Haitzler (Rasterman) [Fri, 21 Aug 2015 06:33:50 +0000 (15:33 +0900)]
deskmirror - fix dangling reference to mirror by refcounting it

add deskmirror refs to avoid segv on shutdown/restart due to mb->m
becoming a pointer to freed (now garbage) memory, so trace every
ref/unref and count them to get it right. crash gone!

8 years agoe shelf - small missing set of signals - tell theme when inset scrolls
Carsten Haitzler (Rasterman) [Wed, 19 Aug 2015 10:56:02 +0000 (19:56 +0900)]
e shelf - small missing set of signals - tell theme when inset scrolls

the shelf theme actually can't know if there is scrollable content in
that direction when a shelf item has autoscroll on and has content in
that direction. this is kind of a missing theme capability that is
incredibly useful if you want to do certain kinds of themes. this is
fairly minor and i'd consider ok for e20 release as we aren't even
doing alphas yet...

8 years agoonly check dirty smart callbacks on non-new_client deskmirror clients
Mike Blumenkrantz [Fri, 21 Aug 2015 02:02:36 +0000 (22:02 -0400)]
only check dirty smart callbacks on non-new_client deskmirror clients

8 years agoremove dirty smart callback from deskmirror clients during client delete
Mike Blumenkrantz [Fri, 21 Aug 2015 01:55:45 +0000 (21:55 -0400)]
remove dirty smart callback from deskmirror clients during client delete

8 years agoremove pager mirror delete callback during pager win delete
Mike Blumenkrantz [Fri, 21 Aug 2015 01:55:19 +0000 (21:55 -0400)]
remove pager mirror delete callback during pager win delete

8 years agoadd basic fullscreen window test
Mike Blumenkrantz [Thu, 20 Aug 2015 20:54:01 +0000 (16:54 -0400)]
add basic fullscreen window test

8 years agowatch dirty smart cb for currently unredirected clients in deskmirror
Mike Blumenkrantz [Thu, 20 Aug 2015 19:56:34 +0000 (15:56 -0400)]
watch dirty smart cb for currently unredirected clients in deskmirror

these clients will be unable to create a comp mirror until this callback
is triggered

fix T2585

8 years agoreturn false when failing to create a mirror during deskmirror obj check
Mike Blumenkrantz [Thu, 20 Aug 2015 19:56:02 +0000 (15:56 -0400)]
return false when failing to create a mirror during deskmirror obj check

8 years agoadd some smart callbacks for comp objects on redirect/dirty state change
Mike Blumenkrantz [Thu, 20 Aug 2015 19:55:35 +0000 (15:55 -0400)]
add some smart callbacks for comp objects on redirect/dirty state change

8 years agoforce render queue and check for redirection on clients with 0x0 pixmaps
Mike Blumenkrantz [Thu, 20 Aug 2015 19:39:22 +0000 (15:39 -0400)]
force render queue and check for redirection on clients with 0x0 pixmaps

fixes an issue where resizing the current nocomp client could result in a
broken compositor until a render queue was triggered

8 years agoadd compile warning and block load of wl_text_input module
Mike Blumenkrantz [Thu, 20 Aug 2015 19:02:23 +0000 (15:02 -0400)]
add compile warning and block load of wl_text_input module

needs vkbd module merge

8 years agoAdd module "wl_text_input" for supporting *wl_text_input* and *wl_input_method* proto...
Seunghun Lee [Thu, 20 Aug 2015 18:55:14 +0000 (14:55 -0400)]
Add module "wl_text_input" for supporting *wl_text_input* and *wl_input_method* protocol in wayland.

Summary:
this patch allow to use virtual keyboard such as weston-keyboard.
it was tested in wayland verion 1.6.

Test Plan:
<prerequisite>
- Configure with --enable-wl-text-input
- edit configuration file, e.cfg to enable module wl_text_input.

1. run enlightenment as a wayland display server.
2. run weston-keyboard.
3. run weston-editor.

Reviewers: raster, Sergeant_Whitespace, devilhorns, zmike

Reviewed By: zmike

Subscribers: ManMower, Sergeant_Whitespace, cedric, jihoon

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

8 years agoremove bz2 from dist
Mike Blumenkrantz [Wed, 19 Aug 2015 22:19:45 +0000 (18:19 -0400)]
remove bz2 from dist

apparently people don't use this anymore or something

8 years agocheck compositor screen iface existence before deref in dpms
Mike Blumenkrantz [Wed, 19 Aug 2015 19:32:24 +0000 (15:32 -0400)]
check compositor screen iface existence before deref in dpms

fixes crash in compositors lacking screen ifaces

8 years agodisable xkbswitch module loading under wayland
Mike Blumenkrantz [Wed, 19 Aug 2015 19:20:45 +0000 (15:20 -0400)]
disable xkbswitch module loading under wayland

NYI

8 years agofeed mouse-up event during mouse down on menus
Mike Blumenkrantz [Wed, 19 Aug 2015 18:49:34 +0000 (14:49 -0400)]
feed mouse-up event during mouse down on menus

this fixes the case where the mouse is moved while the mouse is pressed
so that the selected menu item will continue to follow the mouse

fix T2127

8 years agoredo fileman menus to only scan the first 100 items found
Mike Blumenkrantz [Wed, 19 Aug 2015 18:38:57 +0000 (14:38 -0400)]
redo fileman menus to only scan the first 100 items found

this was meant to be a quick way to navigate directories, not a fully
operational filemanager in a menu

fix T2462

8 years agodo not relaunch relaunchable quickaccess windows during logout
Mike Blumenkrantz [Wed, 19 Aug 2015 18:36:20 +0000 (14:36 -0400)]
do not relaunch relaunchable quickaccess windows during logout

fix T2492

8 years agoset 'stopping' during logout action
Mike Blumenkrantz [Wed, 19 Aug 2015 18:35:16 +0000 (14:35 -0400)]
set 'stopping' during logout action

this flag is used in some cases to determine whether to behave as
though enlightenment is stopping. in the case of logout, we are stopping.

8 years agoend wl xdnd drags on the compositor canvas using the full dnd end codepath
Mike Blumenkrantz [Wed, 19 Aug 2015 18:17:12 +0000 (14:17 -0400)]
end wl xdnd drags on the compositor canvas using the full dnd end codepath

fix T2652

8 years agodon't set E_Client->changes.visible on successful show/hide
Mike Blumenkrantz [Wed, 19 Aug 2015 18:00:52 +0000 (14:00 -0400)]
don't set E_Client->changes.visible on successful show/hide

iirc this was a fix for something else that was going on early in
e19 development, now it creates issues when attempting to hide clients

8 years agoupdate wayland readme with current information
Mike Blumenkrantz [Wed, 19 Aug 2015 17:33:43 +0000 (13:33 -0400)]
update wayland readme with current information

8 years agoenlightenment: Remove commented out reference to wl_screenshot Makefile
Chris Michael [Wed, 19 Aug 2015 16:37:39 +0000 (12:37 -0400)]
enlightenment: Remove commented out reference to wl_screenshot Makefile

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Remove wl_screenshot module from whitelist
Chris Michael [Wed, 19 Aug 2015 16:29:20 +0000 (12:29 -0400)]
enlightenment: Remove wl_screenshot module from whitelist

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoonly use deferred focus-setting on desk flip focus if client is not visible
Mike Blumenkrantz [Wed, 19 Aug 2015 01:06:59 +0000 (21:06 -0400)]
only use deferred focus-setting on desk flip focus if client is not visible

8 years agounset E_Client->want/take_focus flags in hide callback
Mike Blumenkrantz [Tue, 18 Aug 2015 22:18:12 +0000 (18:18 -0400)]
unset E_Client->want/take_focus flags in hide callback

deferred focus should no longer be valid if a client has been hidden
before the focus-set could be triggered

fixes super fun infinite loop with desk flips

8 years agodo not modify E_Client->visible value in show/hide callbacks
Mike Blumenkrantz [Tue, 18 Aug 2015 22:17:51 +0000 (18:17 -0400)]
do not modify E_Client->visible value in show/hide callbacks

8 years agoreject x11 NotifyVirtual and NotifyInferior mouse in events more accurately
Mike Blumenkrantz [Tue, 18 Aug 2015 21:11:01 +0000 (17:11 -0400)]
reject x11 NotifyVirtual and NotifyInferior mouse in events more accurately

these events are valid when moving from parent<->child window

fix T2674

8 years agotemperature: let's finally allow the temp process to rest also when enlightenment...
Cedric BAIL [Mon, 17 Aug 2015 20:30:01 +0000 (22:30 +0200)]
temperature: let's finally allow the temp process to rest also when enlightenment die.

8 years agobattery: let's finally allow the battery process to rest also when enlightenment...
Cedric BAIL [Mon, 17 Aug 2015 20:26:24 +0000 (22:26 +0200)]
battery: let's finally allow the battery process to rest also when enlightenment die.

8 years agoadd event rect for deskmirror in pager/taskbar modes
Mike Blumenkrantz [Mon, 17 Aug 2015 18:52:58 +0000 (14:52 -0400)]
add event rect for deskmirror in pager/taskbar modes

ensures that events are properly triggered and consumed when this
widget is clicked on

fix T2645

8 years agosimplify ibar focus function
Mike Blumenkrantz [Mon, 17 Aug 2015 18:30:34 +0000 (14:30 -0400)]
simplify ibar focus function

8 years agoexplicitly grab compositor on ibar focus
Mike Blumenkrantz [Mon, 17 Aug 2015 18:27:47 +0000 (14:27 -0400)]
explicitly grab compositor on ibar focus

8 years agomake pager kbd/mouse grabs more effective in wayland compositors
Mike Blumenkrantz [Mon, 17 Aug 2015 18:23:02 +0000 (14:23 -0400)]
make pager kbd/mouse grabs more effective in wayland compositors

use the same codepaths as x11 compositors, but explicitly grab the
compositor canvas

8 years agohandle winlist kbd events more accurately in wayland compositors
Mike Blumenkrantz [Mon, 17 Aug 2015 18:04:58 +0000 (14:04 -0400)]
handle winlist kbd events more accurately in wayland compositors

key handlers here will pick up both wayland and drm engine type events,
so ensure that we only handle events matching the compositor canvas
window to prevent unexpected behavior

fix T2637

8 years agoforce xwl client to retain original x11 client's placed flag during swap
Mike Blumenkrantz [Thu, 13 Aug 2015 21:10:54 +0000 (17:10 -0400)]
force xwl client to retain original x11 client's placed flag during swap

fixes race condition where xwl clients would sometimes erroneously place
at 0,0

8 years agoenable shape cutting for xwl clients during flip
Mike Blumenkrantz [Thu, 13 Aug 2015 20:20:39 +0000 (16:20 -0400)]
enable shape cutting for xwl clients during flip

fixes xwl<->xwl dnd

8 years agoremove some local aliasing of e_comp_wl global
Mike Blumenkrantz [Thu, 13 Aug 2015 20:08:55 +0000 (16:08 -0400)]
remove some local aliasing of e_comp_wl global

8 years agoreplace existing usage of x/wl_comp_data with corresponding globals
Mike Blumenkrantz [Thu, 13 Aug 2015 20:05:57 +0000 (16:05 -0400)]
replace existing usage of x/wl_comp_data with corresponding globals

8 years agoadd e_comp_x and e_comp_wl globals
Mike Blumenkrantz [Thu, 13 Aug 2015 20:01:08 +0000 (16:01 -0400)]
add e_comp_x and e_comp_wl globals

constantly typing e_comp->x/wl_comp_data-> is tiring

8 years agodelete data device resources from hash using client
Mike Blumenkrantz [Thu, 13 Aug 2015 17:55:16 +0000 (13:55 -0400)]
delete data device resources from hash using client

fixes crash when currently-entered wl surface is destroyed

8 years agoenlightenment: Replace old comp_type conditionals
Chris Michael [Thu, 13 Aug 2015 14:33:48 +0000 (10:33 -0400)]
enlightenment: Replace old comp_type conditionals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoenlightenment: Replace old comp_type conditionals
Chris Michael [Thu, 13 Aug 2015 14:31:54 +0000 (10:31 -0400)]
enlightenment: Replace old comp_type conditionals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
8 years agoredo wayland shot init to account for async+slow global loading
Mike Blumenkrantz [Thu, 13 Aug 2015 00:19:18 +0000 (20:19 -0400)]
redo wayland shot init to account for async+slow global loading

previously it was possible for the shot module to init in a wayland
compositor and fail to grab the necessary globals, resulting in black
rects for all shots

8 years agoadd local event for wl_wl output to use when a global has been received
Mike Blumenkrantz [Thu, 13 Aug 2015 00:18:43 +0000 (20:18 -0400)]
add local event for wl_wl output to use when a global has been received

8 years agoemit randr change event on randr init
Mike Blumenkrantz [Thu, 13 Aug 2015 00:17:25 +0000 (20:17 -0400)]
emit randr change event on randr init

wayland compositors have been failing to create any outputs for some
time as a result of not getting any randr events on init

8 years agoenforce compositor canvas resizing/updating when emitting randr events
Mike Blumenkrantz [Wed, 12 Aug 2015 23:27:53 +0000 (19:27 -0400)]
enforce compositor canvas resizing/updating when emitting randr events

all compositors will want this to occur, so make it automatic

8 years agomove x11 ee resize callback to comp_canvas, simplify x11 randr event handler
Mike Blumenkrantz [Wed, 12 Aug 2015 23:26:19 +0000 (19:26 -0400)]
move x11 ee resize callback to comp_canvas, simplify x11 randr event handler

this should ensure that all compositors accurately perform resize-related
canvas operations

8 years agoinit null wl mime types array when new type is offered
Mike Blumenkrantz [Wed, 12 Aug 2015 22:42:42 +0000 (18:42 -0400)]
init null wl mime types array when new type is offered