Commit Graph

21839 Commits

Author SHA1 Message Date
Mike Blumenkrantz c267535bfa unalias internal wl client pixmaps in elm win hide trap callback
this seems to be the best place to remove the alias since it is initially
added in the corresponding show callback
2016-11-08 12:49:24 -05:00
Mike Blumenkrantz 38e4e2b9a9 always free wl pixmap buffer list on non-cache image clear
this is only used when the pixmap is freed, after which point accessing
the list guarantees a crash
2016-11-08 12:49:23 -05:00
Mike Blumenkrantz 6f5feb99b2 remove wl client pixmap aliasing on del
not sure why I added this but it was wrong
2016-11-08 12:49:23 -05:00
Mike Blumenkrantz 886d29d5d5 unset wl client surface pointer on surface destroy
leaving this around after this point is dangerous and has a high probability
of crashing
2016-11-08 12:49:23 -05:00
Mike Blumenkrantz 1c4b11ef9f reset initial internal wl client states when hiding (but not deleting)
ensure that these windows are not able to be shown again until commits occur
2016-11-08 12:49:23 -05:00
Stephen okra Houston 51772d1596 Luncher/Pager gadgets: Make sure to lock/unlock the gadget site on dnd. 2016-11-08 11:20:07 -06:00
Stephen okra Houston 77a0316be9 Luncher: Make sure that there is a valid drop before object on dnd. 2016-11-08 10:55:57 -06:00
Stephen okra Houston 1cbba1232c Gadcon Pager: Don't show popup if no gadcon pagers exist. 2016-11-08 10:48:15 -06:00
Stephen okra Houston 8540e6b99b Pager Gadget: Use the current zone for popups. 2016-11-08 10:04:48 -06:00
Mike Blumenkrantz 7ef2098f2a add docs for e_place_desk_region_smart() calc code
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
2016-11-07 13:06:50 -05:00
Mike Blumenkrantz 22add39474 break out repeated code from _e_place_desk_region_smart_area_calc() into separate function
no functional changes
2016-11-07 12:52:32 -05:00
Mike Blumenkrantz 65b6906614 break out e_place_desk_region_smart() area calcs into separate function
no functional changes
2016-11-07 12:40:51 -05:00
Mike Blumenkrantz 8df16724f7 clamp e_place calcs to zone geometry
fixes some cases where windows would place wrong due to placement code
checking offscreen coords
2016-11-07 12:27:34 -05:00
Mike Blumenkrantz 5930643de5 use only zone coords when moving bryce to its zone during editing
prevent coords from accidentally resulting in offscreen placement

fix T4826
2016-11-07 11:48:51 -05:00
Mike Blumenkrantz a08654f773 force bryce repositioning onto target zone during startup
ensure that subsequent operations do not accidentally the bryce's zone

fix T4784
2016-11-07 11:38:34 -05:00
Mike Blumenkrantz 49d9cea5aa center menu-triggered volume popup on same zone as client 2016-11-07 11:26:46 -05:00
Stephen okra Houston ec326b304b Luncher/Pager Gadgets: Fix coverity warnings for CID 1365330, CID 1365332 and CID 1365405
This commit also fixes T4831
2016-11-07 09:35:34 -06:00
Michaël Bouchaud (yoz) be154b60c8 mixer: close the file descriptor on error.
CID: 1365407
2016-11-07 10:32:04 +01:00
Michaël Bouchaud (yoz) 568a676073 mixer: Don't sync volume sink with e_client if they have more than one.
If we got more than one volume sink in e_client and we change the volume
of one of them all sink of this e_client are updated to the same volume.
So don't update e_client volume if we got more than 1 sink.

T4821
2016-11-07 10:26:56 +01:00
Michaël Bouchaud (yoz) ec12cff9f4 mixer: fix a typo spotted by coverity
CID: 1365340
2016-11-07 10:19:28 +01:00
maxerba 1a4450556b Updating italian translation 2016-11-06 21:06:56 +01:00
Stephen okra Houston b0fd89ac04 Pager Gadget: Use the correct value for the popup checkbox when config window is opened. 2016-11-05 12:00:30 -05:00
Stephen okra Houston 6b1726dc4a Luncher: Use more accurate buffer sizes. 2016-11-05 10:53:56 -05:00
Stephen okra Houston d26900b72d Luncher: Send the off signal with orientation detail so themers can theme icons based on orientation.
You will need to make sure you update efl with this change as well.
2016-11-05 10:27:41 -05:00
Derek Foreman b5205a0ca3 Stop passing dimensions to _e_comp_wl_surface_state_init
The dimensions we passed were frequently wrong anyway, so let's stop
doing that.
2016-11-04 16:25:58 -05:00
Derek Foreman a9d710ab27 Fix wayland opaque regions
Similar set of changes to the recent input region changes.  They may not
have been quite so broken to begin with, but it's probably less confusing
to treat both types of region the same way.
2016-11-04 16:25:58 -05:00
Derek Foreman 404a23f7d3 Fix massive wayland input region brokenness
It was impossible to set an empty input region.

Input regions were being clipped to the size of whatever buffer was
previously attached when they should really be clipped at commit
time to whatever buffer was attached in the commit.

The intersection operation created round off errors and
e_comp_object_input_area_set is clipping anyway, so we can simplify this
and retain precision.
2016-11-04 16:25:58 -05:00
Derek Foreman e74f2a45af Increase area of tilers for regions
We don't have any idea at this point what the region will be used for,
and tilers clip to their area on ingress.  If we're going to use tilers
for wayland regions we need to make them huge and clip them later.
2016-11-04 16:25:58 -05:00
Stephen okra Houston 1d202c513d Luncher: Remove useless if statements and make sure to delete an order when instance is deleted. 2016-11-04 10:22:34 -05:00
Stephen okra Houston 6c28cf2e51 Luncher: Use E_FREE_FUNC to del variables that are checked for null. 2016-11-04 10:07:13 -05:00
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