Commit Graph

21927 Commits

Author SHA1 Message Date
Mike Blumenkrantz 1cbb0b2152 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-18 11:42:52 -05:00
Mike Blumenkrantz 9a0965ff02 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-18 11:42:48 -05:00
Carsten Haitzler a27a03a989 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-18 11:42:38 -05:00
Mike Blumenkrantz ad1b8f224f 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-18 11:40:42 -05:00
Mike Blumenkrantz ef2112c7db feed mouse-up when dropping a gadget site before enabling events on the site
prevents unintentional activation of gadget actions during moves
2016-11-18 11:36:58 -05:00
Mike Blumenkrantz 6ec652a4ff add bool return for e_exec_phony_del() to return deletion success
CID 1181927
2016-11-18 11:36:46 -05:00
Al Poole c6a8a52c0d efm - fix popup if file is a fifo
this fixes T4815

@fix
2016-11-18 11:36:39 -05:00
Stephen okra Houston e0699c0640 Time Gadget: Change the calendar month on mouse wheel. 2016-11-18 11:36:23 -05:00
Mike Blumenkrantz b3db41fad7 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-18 11:36:07 -05:00
Mike Blumenkrantz cb2ab91ea5 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-18 11:35:36 -05:00
Chris Michael d7527eb7a2 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-11-18 11:34:00 -05:00
Mike Blumenkrantz 1205dff03c attempt to recalc gadgets which overflow their container 2016-11-18 11:33:49 -05:00
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