Derek Foreman
19a9f4ed29
also apply xdg-shell v6 client del hooks to external clients
...
partially reverts 7e05eff3e3
This was causing problems when destroying some xdg v6 clients.
if weston-simple-shm was killed while not on the current desktop
it would remain on deskmirrors.
2017-07-06 11:40:30 -05:00
Marcel Hollerbach
d2d3d9976b
mixer: the name has to be a stringshare
2017-07-04 16:49:54 +02:00
Marcel Hollerbach
b32086d402
emixer: use a better name for the sink inputs
...
it seems applications are using a higher quality name with the property
PA_PROP_APPLICATION_NAME.
ref T5664
2017-07-04 10:12:01 +02:00
Carsten Haitzler
ea89d44ef4
e - fix entry wrapper - e entry was plain. elm is markup. do it properly
...
convert to/from utf8 plain/markup in e widget entry wrapper.... this
fixes broken results if you enter escapable text like " or < or > or &
... etc.
@fix
2017-07-03 19:19:55 +09:00
Mike Blumenkrantz
02d8da9cd9
remove "gadget_removed" smart callback from gadgets which use it upon deletion
...
ensure that this isn't called in a use-after-free scenario
2017-06-30 17:03:24 -04:00
Mike Blumenkrantz
af60915713
add function for a gadget to remove itself
2017-06-30 17:03:24 -04:00
Mike Blumenkrantz
c109e2d6a6
save gadget site config when deleting gadget after wizard failure
2017-06-30 17:03:24 -04:00
Derek Foreman
034211051b
Remove some duplicate dmabuf validity checks
...
These have been moved into EFL where they belong.
2017-06-30 14:51:05 -05:00
Derek Foreman
cb83120863
Remove old test for dmabuf validity
...
EFL now sets image load error for native surface set, so this hack is
no longer required.
2017-06-30 14:51:05 -05:00
Mike Blumenkrantz
5df53cec7b
process screen events in wl when using fake screens
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
75b473c4ef
don't crash in randr module when using fake xinerama screens
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
43dea93969
handle rotations with fake xinerama screens
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
789eccf12f
try redirecting failed clients again during resize
...
it seems like this is a good place to try, and this seems to resolve
some render updating issues on restart, such as with maximized chrome
windows
ref T5599
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
44693a1852
only unredirect clients during comp update after 3 failures
...
tfw your conditional is backwards
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
07d4f3bcf6
don't call comp object cleanup functions for clients without comp objects
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
1f0bed7e0b
check ec pointer before deref in luncher's E_EVENT_EXEC_DEL handler
...
a deleted exe is unlikely to have clients
fix T5599
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
9357ecc443
don't force shm for xwayland launch and enable gl
...
fix T5606
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
fea11b1621
don't run x11 focus (un)set callbacks for override clients
...
this is unnecessary in x11 and broken in xwayland
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
836845a615
use xwayland check for clients when checking whether to reset focus to root
...
checking base pixmap returns false for xwayland clients
2017-06-30 10:25:18 -04:00
Mike Blumenkrantz
69c85fc1aa
only set E_Client->want_focus for wl override clients if not popup client
...
do not attempt to focus popups as they are already child windows and thus
do not require keyboard focus
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
b183e001a1
make e_comp_object_frame_allowed() return false for ignored clients
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
d0accb8e52
block pointer warping on override clients
...
this is never okay
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
3fdcc92ab0
check exit status from auth subprocess
...
if the process doesn't exit then auth didn't succeed and this is a system issue
ref T5604
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
42523d27f0
multiply pointer axis values by 10 for wl clients
...
wayland clients expect this multiplier, so now scrolling speed should be
back to normal
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
89aa89f3a6
use event grabber for gadget editors to improve event detection
...
fixes some cases where clicking the background didn't dismiss the editor
and allows for clicking on non-gadget parts of the editor
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
1fe4555d7b
remove eeze init/shutdown calls from modules
...
this is unnecessary and was done with mismatched init/shutdowns in some cases
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
809a3492ae
unset gadget editor pointer on editor delete
2017-06-30 10:25:17 -04:00
Mike Blumenkrantz
4f77573e6c
perform move after resize during comp object show
...
in the case where an object is being shown before it has been moved or
resized, a move operation will trigger a series of callbacks which force the
compositor to attempt an illegal operation (recursive show before resize)
fix T5521
2017-06-30 10:25:17 -04:00
Derek Foreman
e26f2a12f5
Test dmabuf via native_surface_set even in software render
...
This is necessary to verify the the attributes struct is the same
version EFL can process, before we commit to displaying it.
@fix
2017-06-29 16:01:56 -05:00
Mike Blumenkrantz
bb1d7790b0
force shape queue when adding/deleting action client event grabber
...
ensure that this is normalized to provide consistent behavior before
and after actions begin/terminate
2017-06-26 14:48:03 -04:00
Mike Blumenkrantz
63f3fe949c
block "user" client resizes during comp client updating phase
...
resizing objects triggers clip resizes and further event feeding which
can propagate mouse events such that clients try to resize themselves
during the update phase, resulting in illegal compositor behavior
2017-06-24 12:34:12 -04:00
Mike Blumenkrantz
0a67a96df3
Revert "block client mouse move calls from comp object during move/resize"
...
This reverts commit 4464c681fd
.
on the right track but not 100%...
2017-06-24 12:10:43 -04:00
Mike Blumenkrantz
4464c681fd
block client mouse move calls from comp object during move/resize
...
this is now handled by the event grabber. many callbacks on this
object are due to clip changes instead of genuine mouse movements,
meaning that processing events can lead to further resizes during a
render cycle
2017-06-24 11:57:15 -04:00
Carsten Haitzler
a9cd60fb90
e - remove doofus-like code from mike with regards to making e crash or not
2017-06-24 13:27:16 +09:00
Mike Blumenkrantz
aad74ea341
do not enable abort on critical in development builds for raster only
...
let's dispense with the new environment variables and workarounds and
avoid future conflicts with this efl-style problem solving
2017-06-23 18:23:42 -04:00
Mike Blumenkrantz
46fc9c0988
freeze client action event grabber stacking
...
ensure event stacking does not get modified by external handlers
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
8b8703cfa6
use safe list iterating when clearing a gadget site during shutdown
...
demo gadgets are immediately removed when deleted, leading to list
corruption unless a safe iterator is used
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
9fa3fdfc78
always grab input when showing a gadget wizard
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
be0015a283
hide gadget editor when dragging/wizarding a new gadget
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
11a6d7ae35
Revert "e - allow env var to turn off aborting at any CRI issue"
...
This reverts commit 62feb358e6
.
set EINA_LOG_LEVELS=e:0 or comment out code locally if you aren't interested
in helping to de-bug development builds
this is meant to be as convenient for users as disabling "core"
features in efl builds in order to deter them from disregarding bug
reporting
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
fd2817df4a
use seat0 as default seat name instead of default
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
7e6a2a9064
update gadget position during a resize from top/left edge
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
099e6e019d
reset demo gadget id before deleting gadget object during drop operation
...
ref 75224784bd
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
446860b68a
if gadget wizard returns a zero id, remove gadget from site and destroy
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
4c58940291
force horizontal orient for all gadget editors with orientation
...
vertical orient does not fit well into any list/grid widgets, not sure
if this can be further improved yet
2017-06-23 17:49:44 -04:00
Mike Blumenkrantz
ebfb925a11
redo the gadget editor (again)
...
the list implementation had some issues with sizing and was also
inflexible and prevented a good display for desktop gadget sites
2017-06-23 17:49:43 -04:00
Mike Blumenkrantz
0180cef47d
do not attempt to pack cpumonitor into box in sysinfo mode
...
this causes an eo error
2017-06-23 17:49:43 -04:00
Mike Blumenkrantz
a441d4d22a
do not advertise luncher grid or sysinfo for gadget sites with orient
...
these are only feasible for non-bar sites
2017-06-23 17:49:43 -04:00
Mike Blumenkrantz
6a1d0226ed
allow gadgets to return a null object for demo objects
...
this indicates the gadget should not be advertised for the given demo
purpose
2017-06-23 17:49:43 -04:00
Mike Blumenkrantz
97c3db5ab1
ensure flag to preserve gadget editor is unset after setup
...
the first click on the desktop should always dismiss the editor if
a gadget is not being dragged
2017-06-23 17:49:43 -04:00