Commit Graph

21809 Commits

Author SHA1 Message Date
Mike Blumenkrantz 353ad6be11 move bryces to E_LAYER_DESKTOP_TOP when not above windows
moderately sure this won't conflict with anything important...

fix T4819
2016-11-03 12:54:53 -04:00
Mike Blumenkrantz 03ad3620c7 add special case for returning pixmap argb of unusable wl cursor pixmaps
this is usually called before the surface commits, so ensure that the
most likely case is returned as the default until the commit occurs

fixes black rect flickerings around the cursor
2016-11-03 12:28:24 -04:00
Mike Blumenkrantz 13f408f1e1 add more parens for previous pixmap commit 2016-11-03 12:28:06 -04:00
Mike Blumenkrantz 669f00e2e2 avoid crash when calling e_pixmap_image_exists on wl pixmaps without buffers 2016-11-03 12:24:25 -04:00
Mike Blumenkrantz e3590f6c3e determine wl pixmap argb solely based on image_argb flag
the existence of a buffer does not mean that the pixmap can stop being
argb

fixes random black rects
2016-11-03 12:07:46 -04:00
Mike Blumenkrantz 33740ca306 return correct values from bryce post event callbacks
I referenced elm scrollable for this when writing it. past me was a moron
for using reference code instead of reading the underlying implementation.

fixes scrolling
2016-11-03 11:45:35 -04:00
Chris Michael 99e89b708f cleanup unused variables and parameters for pager module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-03 11:27:28 -04:00
Carsten Haitzler d2104b23af cpufreq - move cpuinfo polling into thread to not block mainloop ever
on some devices asking the cpu for info like current frequency,
governors etc. seems to be expensive and if done in the mainloop can
block for multiple ms causing framerate hiccups, so move it to a
thread...
2016-11-03 10:21:22 +09:00
Derek Foreman 9c26487b37 Fix out of tree builds
I broke out of tree builds when I landed the wayland protocol autogen
patches.  This should fix it up.
2016-11-02 16:16:49 -05:00
Mike Blumenkrantz 46cad09e3e force gadget site recalc from style object if gadget's hints change
ensure that these intermediate objects trigger recalcs as expected

fix T4809
2016-11-02 11:31:59 -04:00
Mike Blumenkrantz 602b01b8b2 use only aspect hints for new pager gadget
ref T4809
2016-11-02 11:31:59 -04:00
Stephen okra Houston df0c4cf658 Pager Gadget: Respect HOLD flag as well as modifiers on mouse events. 2016-11-02 10:22:50 -05:00
Stephen okra Houston ef8d86d7f3 Luncher/Pager Gadget: Fix coverity issues. 2016-11-02 09:36:03 -05:00
Michaël Bouchaud (yoz) 2a0b4dfbc4 mixer: fix coverity issues 2016-11-02 15:27:38 +01:00
Mike Blumenkrantz 6723756d6b feed mouse-up when dropping a gadget site before enabling events on the site
prevents unintentional activation of gadget actions during moves
2016-11-02 10:20:04 -04:00
Mike Blumenkrantz 4e08ad17e8 add bool return for e_exec_phony_del() to return deletion success
CID 1181927
2016-11-02 10:11:02 -04:00
Al Poole bfe02d2303 efm - fix popup if file is a fifo
this fixes T4815

@fix
2016-11-02 11:00:40 +09:00
Stephen okra Houston 4d32ec9e4e Luncher: Use the desktop for client population if exists. 2016-11-01 19:33:37 -05:00
Stephen okra Houston 9d33d6c15b Pager Gadget: Only empty/fill pager if zone has changed. 2016-11-01 16:56:26 -05:00
Stephen okra Houston 96f328b7ff Pager: Fix gadget zone. 2016-11-01 16:31:41 -05:00
Stephen okra Houston e9b270f993 Time Gadget: Change the calendar month on mouse wheel. 2016-11-01 16:13:14 -05:00
Stephen okra Houston c3b5c4a1bf Luncher and Pager gadgets: Handle multi head and use the correct zone.
This fixes T4807 and T4787
2016-11-01 15:16:06 -05:00
Stephen okra Houston 665c7072d7 Luncher: Improve client/exec count. 2016-11-01 14:21:23 -05:00
Stephen okra Houston 722ef64426 Merge branch 'master' of git+ssh://git.enlightenment.org/core/enlightenment 2016-11-01 13:28:33 -05:00
Stephen okra Houston 73047583f6 Luncher: Improve client tracking. 2016-11-01 13:28:21 -05:00
Mike Blumenkrantz 4d86c98ce7 do not return early from _bryce_position()
this causes the returned coords to be garbage values, likely leading to
the bryce being positioned or animating off to the upper-right corner
of the universe that exists beyond the canvas
2016-11-01 13:56:08 -04:00
Mike Blumenkrantz 6e39997ad1 add smart callback for when gadgets get reparented
this can be useful for gadgets which (inexplicably) need to set min size hints
2016-11-01 13:29:45 -04:00
Mike Blumenkrantz debd88b91c do not create new luncher cfg id for demo gadgets
-1 indicates a temporary gadget which should not be saved
2016-11-01 13:01:51 -04:00
Mike Blumenkrantz ffef2d0770 update luncher aspect hints whenever icon list is modified 2016-11-01 13:01:33 -04:00
Mike Blumenkrantz 814ee0dc84 use only aspect sizing in luncher
using min size hints will break gadget scaling

fix T4809
2016-11-01 12:56:51 -04:00
Mike Blumenkrantz cea551578c do not apply efx anchoring to move effects if a resize effect is not active
this is useless without an animator

fix T4810
2016-11-01 11:12:26 -04:00
Stephen okra Houston 193771d58c Luncher: Don't send mouse events when modifiers are set. 2016-11-01 10:03:35 -05:00
Stephen okra Houston fd22bb34c2 Luncher: Respect events when on hold. 2016-10-31 15:12:49 -05:00
Stephen okra Houston df48b2dc09 Luncher: Preview popup should have a shorter delay.
This fixes T4790
2016-10-31 14:59:31 -05:00
Chris Michael d6c6961ab4 check if a client is internal or not before deleting
This fixes a crash where mousing back into internal windows would
cause a crash (from efl wayland mouse pointers).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-10-31 14:22:03 -04:00
Chris Michael 2970f4d76f Revert "don't crash is surface resource has no e_client"
This reverts commit fbb17af2d6.

This does not really fix the issue of crashes on internal windows :(
This was just a band-aid really...
2016-10-31 13:57:52 -04:00
Mike Blumenkrantz 692b394617 do not apply pager rotation when placed on desktop
fix T4786
2016-10-31 13:40:13 -04:00
Mike Blumenkrantz c3a01ba16c attempt to recalc gadgets which overflow their container 2016-10-31 13:07:21 -04:00
Mike Blumenkrantz 3d1334e883 delete current dragging gadget during edit if escape is pressed 2016-10-31 13:07:03 -04:00
Mike Blumenkrantz b0831d5f0d allow scaling gadgets using wheel events during initial placement 2016-10-31 13:06:18 -04:00
Mike Blumenkrantz 1f9801f922 attempt to handle non-orient gadget resizes based on anchor corners 2016-10-31 13:05:44 -04:00
Mike Blumenkrantz b9d59616e9 track desktop gadgets based on their zones
ensure positioning is accurate with multiple displays
2016-10-31 12:34:29 -04:00
Mike Blumenkrantz 35df03a596 center desktop gadget editor popups upon the zone they have activated 2016-10-31 12:34:29 -04:00
Mike Blumenkrantz 5d2028a300 do not modify bryce zone/name during startup
this breaks bryce init by moving all bryces to zone 0

fix T4784
2016-10-31 12:34:29 -04:00
Mike Blumenkrantz 349fc5e910 avoid potential divide by zero during bryce startup 2016-10-31 12:34:29 -04:00
Mike Blumenkrantz bf1075ff4b clamp bryce position to its parent zone
fixes case where large bryces could overflow their zones

ref T4784
2016-10-31 12:34:29 -04:00
Chris Michael fbb17af2d6 don't crash is surface resource has no e_client
wl_resource_get_user_data(surface_resource) could return NULL if the
surface resource has no user data set. This happens with Ecore_Wl2
Windows which are set to type 'None', so add check for valid e_client.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-10-31 09:25:51 -04:00
Stefan Schmidt c9e69e5176 e_client_colume: remove unused variables and add EINA_UNSED where needed 2016-10-31 11:37:47 +01:00
Stefan Schmidt cb51487c3d e_comp_object: remove unused variable 2016-10-31 11:37:16 +01:00
Stefan Schmidt 455935466f e_fm: remove unused variable 2016-10-31 11:36:53 +01:00