Michaël Bouchaud (yoz)
718ef898d7
e_client: add a volume control to the window theme
...
This commit brings 2 objects to the group "e/widgets/border/default/border", an
icon and a slider. If you click the icon the volume is muted.
The slider set the volume level.
Theme part added "e.swallow.volume_icon" and "e.swallow.volume"
@features
2016-10-27 22:34:13 +02:00
Michaël Bouchaud (yoz)
6e8070d226
e_remember: add e_client sound volume support
...
@features
2016-10-27 21:54:40 +02:00
Michaël Bouchaud (yoz)
307f0831ce
mixer: use the new e_client api to export volume control by app.
...
We use the pulseaudio backend to export volume control by app.
This commit introduce 3 news shortcuts to control the volume with the current
focused window.
@features
2016-10-27 21:54:40 +02:00
Michaël Bouchaud (yoz)
06ea6cadbd
E_Client: add an abstraction api to control volume by app
...
This api give the possibility to add sink to an E_Client and control the volume
or the mute state of the sinks associated with this E_Client.
@features
2016-10-27 21:54:39 +02:00
Michaël Bouchaud (yoz)
1943cee080
mixer: fix the volume conversion calc into pulseaudio backend
...
a get and a set don't give the same result
@fix
2016-10-27 21:54:39 +02:00
Mike Blumenkrantz
f434891137
redo session recovery handling to use separate E_Remember
...
I tried to be too clever with the initial implementation of this and it was
a lot more complex and nonfunctional than expected
2016-10-27 11:22:27 -04:00
Mike Blumenkrantz
653e671bf5
Revert "prevent editing of session recovery remembers"
...
This reverts commit 890008cdf2
.
2016-10-27 10:35:01 -04:00
Mike Blumenkrantz
6b7631d204
Revert "update secondary remembers when a session recovery remember is updated"
...
This reverts commit 10eb06b377
.
2016-10-27 10:34:27 -04:00
Mike Blumenkrantz
b640872edf
Revert "only find the session recovery remember if ec->remember is not it"
...
This reverts commit 8e61889336
.
2016-10-27 10:34:14 -04:00
Mike Blumenkrantz
98bc594299
Revert "correctly handle applying of non-SR remember in remember config"
...
This reverts commit 62068912e9
.
2016-10-27 10:34:05 -04:00
Mike Blumenkrantz
a9d0a27ea3
add generic handler for desktop gadget layers
...
...and a menu item for triggering basic editing
2016-10-26 13:59:29 -04:00
Mike Blumenkrantz
6c16988adc
calc new gadget size based on ratio of size:target site size
...
no use case for this yet...
2016-10-26 13:58:15 -04:00
Mike Blumenkrantz
edee519304
copy gadget position from pointer gadget -> drop gadget when executing drop
...
fixes desync which would cause gadgets to move offscreen
2016-10-26 13:57:07 -04:00
Mike Blumenkrantz
0b40aade50
force gadget site recalc on gadget object creation to ensure sizing
...
fixes initial sizing for no-orient gadget sites
2016-10-26 13:55:45 -04:00
Mike Blumenkrantz
ef2cb47daf
handle no-orient gadget visibility based on site->events visibility
2016-10-26 13:54:25 -04:00
Mike Blumenkrantz
87515abd2a
force recalc on bryce scroller when doing recalc on gadget site
...
should have no functional change
2016-10-26 11:33:12 -04:00
Mike Blumenkrantz
3e6f2f1fa7
add workarounds for ctxpopup geometry for use in input shape tiling
...
ref T4687
2016-10-26 10:28:30 -04:00
Derek Foreman
2af066c97a
Remove EVAS_CALLBACK_HIDE on shelf when freeing
...
Prevents a use after free when an evas callback fires later.
2016-10-25 14:12:15 -05:00
Derek Foreman
30e9f45dfc
Block session recovery for internal windows
2016-10-25 14:12:15 -05:00
Mike Blumenkrantz
4251e12462
bump modapi
2016-10-25 12:02:15 -04:00
Mike Blumenkrantz
ef33638c42
create substruct for E_Comp to put canvas objects into
...
allow adding/removing objects in the future without breaking abi
2016-10-25 12:01:17 -04:00
Mike Blumenkrantz
989675f310
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-10-25 11:30:23 -04:00
Chris Michael
2c096f685c
Revert "reset elementary softcursor config on shutdown"
...
This reverts commit bdd290591c
.
Reverting this as we need to find a better way to handle mouse
pointers on EFL Wayland Clients.
2016-10-25 11:06:07 -04:00
Chris Michael
d4b9ad591e
Revert "disable elementary softcursor mode for wayland compositing"
...
This reverts commit f7592166eb
.
Reverting this as we need to find a better way to handle mouse
pointers for EFL Wayland Clients.
2016-10-25 11:06:07 -04:00
Joshua McBeth
ec37884a31
add dbus message 'org.enlightenment.wm.Window.SendToDesktop'
...
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2016-10-25 10:45:59 -04:00
Chris Michael
bdd290591c
reset elementary softcursor config on shutdown
...
This is needed because if we shutdown E then try to run EFL apps in
Weston, the Elm Softcursor mode would have been saved as 'off' so we
should be sure to reset this.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-10-25 07:44:41 -04:00
Chris Michael
f7592166eb
disable elementary softcursor mode for wayland compositing
...
This commit disables elementary softcursor mode when running as a
wayland compositor. This stops any EFL Wayland Client apps from
creating their own mouse pointer and thus we do not have 2 mouse
pointers on EFL apps anymore.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-10-24 13:52:09 -04:00
Mike Blumenkrantz
21422fd256
trigger zone geometry events when updating zone/desk obstacles
2016-10-21 10:02:24 -04:00
Mike Blumenkrantz
3e186b1509
reject successive zone_geometry_dirty() calls
...
no point in thrashing the compositor if events are already pending
2016-10-21 10:01:50 -04:00
Mike Blumenkrantz
62068912e9
correctly handle applying of non-SR remember in remember config
...
fix T4512
2016-10-20 12:15:03 -04:00
Mike Blumenkrantz
e365848406
apply non-session recovery remember to client when creating recovery remember
...
ensure that the attributes get applied before engaging SR mode
ref T4512
2016-10-20 12:14:16 -04:00
Mike Blumenkrantz
8e61889336
only find the session recovery remember if ec->remember is not it
...
ref T4512
2016-10-20 12:13:22 -04:00
Mike Blumenkrantz
41f5a3e1fd
loop bryce autosize recalc when gadget site has not yet calculated its size
...
fixes moving of autosizing bryces
2016-10-20 12:12:27 -04:00
Mike Blumenkrantz
fb94f1e069
rename bryces when changing anchors
2016-10-20 12:11:39 -04:00
Mike Blumenkrantz
8bf7999c31
add gadget site sizing workaround to avoid elm box sizing desync
...
ref T4747
fix T4732
2016-10-19 11:38:34 -04:00
Mike Blumenkrantz
2c4316633b
avoid extra recalc when resizing a bryce on its oriented axis
2016-10-19 11:38:04 -04:00
Mike Blumenkrantz
e690d70512
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-10-19 11:13:32 -04:00
Mike Blumenkrantz
39d561c8b4
fix bryce upgrade path from 0 -> 2 re:naming
2016-10-18 10:59:04 -04:00
Mike Blumenkrantz
7a06a6b661
trigger bryce menus from right click if event has not been consumed
2016-10-17 12:44:32 -04:00
Mike Blumenkrantz
b9afecde41
remove unused attribute from used param
2016-10-17 12:44:08 -04:00
Mike Blumenkrantz
491b18b920
set ON_HOLD flag when triggering gadget mouse buttion actions
...
allow detection that this event is being consumed
2016-10-17 12:42:28 -04:00
Mike Blumenkrantz
79b24ea884
handle gadget_popup smart callback on gadget's display object
...
fixes case where this signal was not accurately propagated
ref T4732
2016-10-17 11:57:05 -04:00
Mike Blumenkrantz
d5847e8ca6
call gadget_popup smart callback when configuring gadgets
...
ensure visibility changes are received by containers
ref T4732
2016-10-17 11:56:32 -04:00
Mike Blumenkrantz
d0e21c912a
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-10-17 11:55:23 -04:00
Mike Blumenkrantz
ae628b214b
force bryce visibility during editor activity
...
ref T4732
2016-10-17 11:25:43 -04:00
Mike Blumenkrantz
7dc0930c8a
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-10-17 11:18:46 -04:00
Mike Blumenkrantz
dece6a5514
also do full bryce rename when moving between zones
2016-10-14 08:10:43 -04:00
Mike Blumenkrantz
b86efbe301
further improve bryce portability across zones
...
also fix typo from yesterday which broke everything and was definitely not
noticed by anyone
2016-10-14 08:03:43 -04:00
Mike Blumenkrantz
ebefa49e4b
do not check for shelf/bryce existence in opposing anchorages during bryce wizard
...
fixes false positives when detecting positions
2016-10-13 11:27:43 -04:00
Mike Blumenkrantz
afa358fa9e
add zone number to bryce names
...
fixes usage of bryces in identical setups on different zones
2016-10-13 11:27:40 -04:00
Mike Blumenkrantz
d5ada5c1d5
fix bryce check for shelf existence on orientation/anchor to break when expected
...
restores missing anchor points when adding/moving bryces
2016-10-13 11:27:40 -04:00
Mike Blumenkrantz
baa7e85e61
add EINTERN function for renaming gadget sites
2016-10-13 11:27:12 -04:00
Mike Blumenkrantz
a9bab812ec
enforce bryce resizing when orientation changes
...
screens are not square, so this would never have worked
2016-10-13 11:20:21 -04:00
Marcel Hollerbach
838dde02ee
mixer: we changed that name when we merged the mixer in
2016-10-11 14:16:53 +02:00
Marcel Hollerbach
f0ef2198c5
wizard: make page 065 translatable
...
we should use here the translation for plural or singular, everything
else makes it hard to translate
This commit also adds the file to POTFILES so it gets recognized by the
pot file
2016-10-11 14:16:52 +02:00
Mike Blumenkrantz
ad3d0bd8c5
split wl_desktop_shell into separate files per shell
...
this should make it easier to selectively disable shells, and it will
definitely simplify future shell additions
2016-10-10 11:30:52 -04:00
Mike Blumenkrantz
abb97ca0fb
force zone useful geometry recalc on desk flip if prev/next desk has obstacles
...
ensure that this gets calculated accurately any time it's applicable
2016-10-04 09:22:05 -04:00
Mike Blumenkrantz
0354f8a5b1
remove unused variable
...
ref b83cfb858c
2016-10-04 09:22:05 -04:00
Mike Blumenkrantz
e20b439020
handle "unmaximize" smart callback differently depending on fullscreen state
...
this is a bit hacky, but it seems to provide accurate results to fix more maximize bugs
ref c29157189f
2016-10-04 09:22:05 -04:00
Carsten Haitzler
1afddc3b5e
explicitly use eina list types passing into EINA_LIST_FREE()
2016-10-03 11:55:55 +09:00
Mike Blumenkrantz
2642e8c95a
clamp gadget util ctxpopups to E_LAYER_POPUP at the lowest
...
avoid having these be obscured by windows when the gadget is on a lower layer
2016-10-02 09:35:40 -04:00
Mike Blumenkrantz
7cbca19705
print object type in shape debug if name does not exist
2016-10-02 09:34:48 -04:00
Mike Blumenkrantz
b47b3cd75f
force shape queue when gadget util ctxpopups change visibility
...
fixes some input region issues in x11
2016-09-30 12:59:10 -04:00
Mike Blumenkrantz
9d63a1db3e
do not show wireless gadget popups if desklock is active
...
this gadget may be allowed on lockscreen, but configuration should be disabled
2016-09-28 10:43:00 -04:00
Mike Blumenkrantz
ab56bc4662
remove (wrong) setting of layer for time's clock gadget popup
...
e_gadget_util_ctxpopup_place() already handles this correctly
2016-09-28 10:41:21 -04:00
Mike Blumenkrantz
b83cfb858c
remove x11 input window from desklock grab process
...
now the compositor canvas is grabbed, simplifying handling of grabs which
persist through the desklock activation
2016-09-28 10:40:38 -04:00
Mike Blumenkrantz
90fcc55f1e
add e_util_open(), unify all callers of enlightenment_open
...
ref adbba1042b
2016-09-27 11:19:00 -04:00
Mike Blumenkrantz
bb53d4606f
do not consume key events in comp autoclose key callback if desklock is active
...
fix T4655
2016-09-27 10:59:52 -04:00
Derek Foreman
e4da5ba56a
Auto generate wayland protocol
...
Replaces any checked-in wayland protocol files with auto-generation.
In some cases this means renaming include files that didn't use "standard"
names, or adding missing xml files. Any source edits are simple search and
replace, there should be no functional changes.
2016-09-26 15:23:50 -05:00
Derek Foreman
b7d37e9d51
Add the capability to auto-generate protocol code and headers
...
We'd like to drop all the generated files and keep just the xml files.
This is a step in that direction but we've been naming things irregularly
and some of our checked in generated code doesn't have an associated xml
yet, so this'll be a bit of a process.
2016-09-26 15:23:50 -05:00
Carsten Haitzler
adbba1042b
e exec - fix exec of enlightenment_open to use actual e prefix
...
so this code path was using the COMPILED IN prefix like broken
old-school unix apps that cannopt be relocated. efl and e have runtime
prefix detection so use it properly. stop doing things the broken way
just because people have written broken code for 30+ years and
continue to. we don't do that in e/efl land.
@fix
2016-09-25 23:53:08 +09:00
Stephen Houston
5b2f952c85
Introduce pager gadget using new gadget api.
2016-09-23 10:17:54 -04:00
Derek Foreman
22a99c5b5a
NULL out xwayland fd handlers after deleting them
...
This fixes a valgrind error that can happen when we accidentally
free these again later because they still had non-NULL values.
2016-09-21 16:45:57 -05:00
Derek Foreman
494f76b0ab
Don't kill self during shutdown
...
When Xwayland is running we end up with a client with the same pid
as the compositor in the client list. We need to avoid killing that
client, as it will interrupt the proper shutdown procedure.
fix T4439
2016-09-21 16:45:57 -05:00
Cedric BAIL
ff0b513daa
Revert "protect against non-nul terminated string from mmap in filepreview"
...
This reverts commit 5861d9bef9
.
T4543 was already fixed by ae23533b0d
.
2016-09-21 09:34:31 -07:00
Carsten Haitzler
5861d9bef9
protect against non-nul terminated string from mmap in filepreview
...
this should address 2nd gdb bt and fix T4543
@fix
2016-09-21 20:19:01 +09:00
Mike Blumenkrantz
0074c1ca27
remove extraneous recalc trigger when deleting a gadget
...
CID 1362898
2016-09-21 07:12:49 -04:00
Mike Blumenkrantz
509443af55
do not update bryce layer when restacking to a higher layer than CLIENT_ABOVE
2016-09-20 12:46:48 -04:00
Mike Blumenkrantz
f700a57baf
clean up gadget drop handlers correctly
...
use drop_handler_del when deleting gadget drop handlers, also delete spacer rects
2016-09-20 12:46:46 -04:00
Mike Blumenkrantz
17909e4fb5
always delete gadget's display object and ensure gadget object is null
...
fixes some object errors during container deletion
2016-09-20 11:20:22 -04:00
Cedric BAIL
ae23533b0d
fix text preview to use eina_strbuf_append_length that doesn't call strlen and crash.
2016-09-19 14:50:57 -07:00
Mike Blumenkrantz
a85d142b93
force bgpreview widget to resize after a wallpaper update
...
ref be1b11ca28
fix T4632
2016-09-19 16:18:48 -04:00
Mike Blumenkrantz
09cf90b05a
add gadget doc note for gadget_destroyed callback re:object lifetimes
2016-09-19 16:18:47 -04:00
Mike Blumenkrantz
d1953c2205
always use largest available size for free-oriented gadgets
...
ensure that gadgets don't unexpectedly clamp to minimum size
2016-09-19 15:50:55 -04:00
Mike Blumenkrantz
9439228816
add backspace/delete for clearing all lockscreen gadgets
...
this was turning into a total wasteland
2016-09-19 15:18:06 -04:00
Mike Blumenkrantz
682dd5f835
check visibility of gadget site 'events' member to determine drop availability
...
the layout object of a gadget site does not need to be visible since it may be
used for desktop gadgets or a transparent overlay
2016-09-19 15:04:47 -04:00
Mike Blumenkrantz
b5701bdb1b
adjust gadget drop coords for pointer offset
...
gadgets are centered on the pointer when moved, so the drop coord needs to
then be uncentered to avoid unintended movement
2016-09-19 14:55:53 -04:00
Mike Blumenkrantz
d4450d8eb6
attempt to retain gadget size when executing move operations
2016-09-19 14:55:28 -04:00
Mike Blumenkrantz
8923415f8b
force smart calc on gadget sites at key points during move operations
...
ensure that gadget info and visuals match up
2016-09-19 14:54:35 -04:00
Mike Blumenkrantz
4dd99ed669
add separate codepath for handling layout of moving gadgets
...
these get sized and positioned in a passthrough manner, so avoid doing any calc
2016-09-19 14:53:20 -04:00
Mike Blumenkrantz
42056009a5
set gadget added flag any time a gadget is created or wizarded
...
ensure that desktop gadget editor doesn't exit when attempting to add
subsequent gadgets
2016-09-19 14:32:20 -04:00
Mike Blumenkrantz
6ee205ec57
use same layer in bryce editor for "above window" setting
2016-09-19 09:56:38 -04:00
Mike Blumenkrantz
9313121e79
clamp bryces to a lower canvas layer
...
note to self: if you remember why you had these at POPUP, annotate the reason
here...
2016-09-19 09:54:21 -04:00
Mike Blumenkrantz
f456215828
always use compositor object stacking when performing internal drags
...
attempting to use a client window for any internal drag operation will always
yield wrong results and broken behavior
ref 1a982fd72a
2016-09-16 18:05:07 -04:00
Mike Blumenkrantz
eea3bdfacf
handle e_comp deref during e_dnd shutdown to avoid crash
2016-09-15 15:10:42 -04:00
Mike Blumenkrantz
ca7bc28286
set the spacer rect as the drop handler base when creating gadget drop handlers
...
this provides layering info to dnd internals
2016-09-15 14:48:28 -04:00
Mike Blumenkrantz
2d9ee4233e
use comp canvas win by default for any drop handler with an E_Object
...
this is always going to be the case anyway
2016-09-15 14:48:28 -04:00
Mike Blumenkrantz
c29157189f
move 'unmaximize' smart callback to after geom calc in client_unmaximize
...
fixes some cases where geometry wouldn't be accurately calculated, such as when
fullscreening a flash video in a browser
2016-09-14 10:31:02 -04:00
Marcel Hollerbach
eed35d3c4f
mixer: lock up the slider for the case a drag is in progress
...
if you click on the slider in the gadget the slider jumps a back to the
old volume and then to the new volume, this is because a pulseaudio
update is sent while the last changed event was called, but not the
drag_stop callback.
2016-09-14 10:43:17 +02:00
Derek Foreman
def99a337f
Fix error print when wl_wl fails to start
...
Probably copypastad from wl_drm, very confusing.
2016-09-13 10:34:35 -05:00