Commit Graph

21815 Commits

Author SHA1 Message Date
Mike Blumenkrantz 8bd05d204c allow scaling gadgets using wheel events during initial placement 2016-11-18 11:33:37 -05:00
Mike Blumenkrantz be19203607 attempt to handle non-orient gadget resizes based on anchor corners 2016-11-18 11:33:31 -05:00
Mike Blumenkrantz 424c50077c center desktop gadget editor popups upon the zone they have activated 2016-11-18 11:33:18 -05:00
Mike Blumenkrantz ef7ac18322 do not modify bryce zone/name during startup
this breaks bryce init by moving all bryces to zone 0

fix T4784
2016-11-18 11:33:13 -05:00
Mike Blumenkrantz 3b6c033978 avoid potential divide by zero during bryce startup 2016-11-18 11:33:09 -05:00
Mike Blumenkrantz e0200dbd6a clamp bryce position to its parent zone
fixes case where large bryces could overflow their zones

ref T4784
2016-11-18 11:33:05 -05:00
Stefan Schmidt a35dc213c1 e_fm: remove unused variable 2016-11-18 11:32:37 -05:00
Stefan Schmidt 47fe43db82 e_fm: fix last commit to compile again with clang
Commit fd8d41a2a6 introduced a void return in a
non void function. On gcc this only produced a warnigns but it was a hard
error on clang and should be fixed.

00:25:24.906 src/bin/e_fm.c:1523:15: error: non-void function 'e_fm2_icon_file_get' should return a
value [-Wreturn-type]
00:25:24.950    if (!file) return;
2016-11-18 11:31:57 -05:00
Carsten Haitzler e8db328e99 e fm - fix popup to not crash by referring to possibly deleted data
fm icon info is transient because fm icons are transient. files may
get deleted, added or removed on the fly. keeping icon info around for
things like the popup is asking for tyrouble and does create  trouble.

so look it up each time based on filename string. safe!

this fixes T4716 and fixes T4798 (they are the same bug basically).
2016-11-18 11:31:52 -05:00
Mike Blumenkrantz 3b717abf2f fix use after free when renaming a bryce
fix T4784
2016-11-18 11:31:46 -05:00
Mike Blumenkrantz e7d5c0aa89 use eina_streq for string comparison in e_zone_for_id_get()
zone->randr2_id is not guaranteed to be non-null

crash--
2016-11-18 11:31:34 -05:00
Mike Blumenkrantz 64870691bf block remembers of e_sys windows
fix T2879
2016-11-18 11:31:27 -05:00
Mike Blumenkrantz 0513a56bc5 optimize out re-applying of borderless client theme 2016-11-18 11:31:22 -05:00
Mike Blumenkrantz e313c3fe13 allow client frame changes when switching from frame -> no frame
fix T4358
2016-11-18 11:31:18 -05:00
Marcel Hollerbach 534bdc32f6 mixer: do not set back the value from emix once the drag is finished
emix can still have wrong values from pa, and thus the value will jump
back and later come back to the right pos:

Here a video of what is happening:
http://omicron.homeip.net/filedump/mixer_gadget_bug.ogv

Thank you morluxus!
2016-11-18 11:31:09 -05:00
Michaël Bouchaud (yoz) 6390c982ab Revert "mixer: lock up the slider for the case a drag is in progress"
This reverts commit eed35d3c4f.

This is a bad workaround, I have fixed the issue so we don't need it
anymore.
2016-11-18 11:31:08 -05:00
Michaël Bouchaud (yoz) b4fbbbedf5 mixer: fix the volume conversion calc into pulseaudio backend
a get and a set don't give the same result

@fix
2016-11-18 11:30:33 -05:00
Mike Blumenkrantz 4bec06d4ac calc new gadget size based on ratio of size:target site size
no use case for this yet...
2016-11-18 11:28:39 -05:00
Mike Blumenkrantz 911555d932 copy gadget position from pointer gadget -> drop gadget when executing drop
fixes desync which would cause gadgets to move offscreen
2016-11-18 11:28:34 -05:00
Mike Blumenkrantz e258defd57 force gadget site recalc on gadget object creation to ensure sizing
fixes initial sizing for no-orient gadget sites
2016-11-18 11:28:31 -05:00
Mike Blumenkrantz 3af4bf4db2 handle no-orient gadget visibility based on site->events visibility 2016-11-18 11:28:22 -05:00
Mike Blumenkrantz c85de6f35b force recalc on bryce scroller when doing recalc on gadget site
should have no functional change
2016-11-18 11:28:19 -05:00
Mike Blumenkrantz 60fedb8613 add workarounds for ctxpopup geometry for use in input shape tiling
ref T4687
2016-11-18 11:28:08 -05:00
Derek Foreman ed8d373032 Remove EVAS_CALLBACK_HIDE on shelf when freeing
Prevents a use after free when an evas callback fires later.
2016-11-18 11:28:01 -05:00
Derek Foreman 9673df56ee Block session recovery for internal windows 2016-11-18 11:27:55 -05:00
Mike Blumenkrantz 6623fef580 force min size on wireless popup during show
box+list inside a ctxpopup may result in an unreliable min size at the time
of show, so force the size wanted at this time in order to avoid positioning
errors
2016-11-18 11:27:42 -05:00
Joshua McBeth 1fbc727146 add dbus message 'org.enlightenment.wm.Window.SendToDesktop'
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2016-11-18 11:27:30 -05:00
Mike Blumenkrantz 89e4882613 trigger zone geometry events when updating zone/desk obstacles 2016-11-18 11:27:19 -05:00
Mike Blumenkrantz ad62c1a549 reject successive zone_geometry_dirty() calls
no point in thrashing the compositor if events are already pending
2016-11-18 11:27:12 -05:00
Mike Blumenkrantz a6661d050c correctly handle applying of non-SR remember in remember config
fix T4512
2016-11-18 11:27:11 -05:00
Mike Blumenkrantz fd5ef0259f apply non-session recovery remember to client when creating recovery remember
ensure that the attributes get applied before engaging SR mode

ref T4512
2016-11-18 11:27:10 -05:00
Mike Blumenkrantz 513b095a32 only find the session recovery remember if ec->remember is not it
ref T4512
2016-11-18 11:26:00 -05:00
Mike Blumenkrantz 9931658f7f loop bryce autosize recalc when gadget site has not yet calculated its size
fixes moving of autosizing bryces
2016-11-18 11:25:57 -05:00
Mike Blumenkrantz e86e532dcd rename bryces when changing anchors 2016-11-18 11:25:50 -05:00
Alexander Pyhalov 1b7468bc9b actually check if PIE is supported for SUID
fix T4479
2016-11-18 11:25:46 -05:00
Mike Blumenkrantz 0dfc809b83 add gadget site sizing workaround to avoid elm box sizing desync
ref T4747

fix T4732
2016-11-18 11:25:40 -05:00
Mike Blumenkrantz c56b14538b avoid extra recalc when resizing a bryce on its oriented axis 2016-11-18 11:25:31 -05:00
Mike Blumenkrantz 1dd82a4cc7 set ON_HOLD flag more accurately when activating gadget actions
fixes handling of actions which have same binding as gadget site's container bindings
2016-11-18 11:25:25 -05:00
Mike Blumenkrantz 951edff8c6 fix bryce upgrade path from 0 -> 2 re:naming 2016-11-18 11:25:13 -05:00
Mike Blumenkrantz 6396055260 trigger bryce menus from right click if event has not been consumed 2016-11-18 11:25:10 -05:00
Mike Blumenkrantz 95696c6d7d remove unused attribute from used param 2016-11-18 11:25:07 -05:00
Mike Blumenkrantz 3ca3740f52 set ON_HOLD flag when triggering gadget mouse buttion actions
allow detection that this event is being consumed
2016-11-18 11:24:51 -05:00
Mike Blumenkrantz ef4cc47e11 handle gadget_popup smart callback on gadget's display object
fixes case where this signal was not accurately propagated

ref T4732
2016-11-18 11:24:24 -05:00
Mike Blumenkrantz 21c8af0c34 call gadget_popup smart callback when configuring gadgets
ensure visibility changes are received by containers

ref T4732
2016-11-18 11:24:10 -05:00
Mike Blumenkrantz efdeef7cc5 add gadget_site_(un)locked smart callbacks for forcing gadget site visibility
useful for cases where the gadget site has no popups to manage but visibility must
be maintained

ref T4732
2016-11-18 11:24:06 -05:00
Mike Blumenkrantz 1dfe41b392 force bryce visibility during editor activity
ref T4732
2016-11-18 11:23:50 -05:00
Mike Blumenkrantz d455f50210 add new flag for zone edge objects to allow shape cutting while repeating events
fixes case where edge binding would (possibly) trigger but then not allow input
to any canvas objects at the screen edge
2016-11-18 11:23:43 -05:00
Mike Blumenkrantz 7a54c3d0a7 also do full bryce rename when moving between zones 2016-11-18 11:23:31 -05:00
Mike Blumenkrantz 583b57470c further improve bryce portability across zones
also fix typo from yesterday which broke everything and was definitely not
noticed by anyone
2016-11-18 11:23:27 -05:00
Mike Blumenkrantz 66b31d30d8 do not check for shelf/bryce existence in opposing anchorages during bryce wizard
fixes false positives when detecting positions
2016-11-18 11:23:24 -05:00