Simon Lees [Tue, 11 Aug 2015 08:00:03 +0000 (10:00 +0200)]
Fix copy-paste error in comment, This page is tasks not connman
Summary: No functional change
Reviewers: zmike, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2930
Mike Blumenkrantz [Mon, 10 Aug 2015 22:52:22 +0000 (18:52 -0400)]
finish off x11<->wl clipboard support
a lot of this functionality is reused from dnd. basic selection owner
management in x11 and slapping bytes down a pipe to the wl client;
a bit laggy when pasting to wl clients sometimes, need to spend more time
debugging that...
#Kansas
Mike Blumenkrantz [Mon, 10 Aug 2015 22:51:32 +0000 (18:51 -0400)]
close xwl dnd pipe on operation end
Mike Blumenkrantz [Mon, 10 Aug 2015 22:50:56 +0000 (18:50 -0400)]
make e_comp_wl_data_device_keyboard_focus_set() external
Mike Blumenkrantz [Mon, 10 Aug 2015 22:50:31 +0000 (18:50 -0400)]
make wl clipboard source create/unref external
Mike Blumenkrantz [Mon, 10 Aug 2015 22:49:04 +0000 (18:49 -0400)]
don't crash in wl compositor when data resource is destroyed in multiple listeners
Mike Blumenkrantz [Mon, 10 Aug 2015 20:40:56 +0000 (16:40 -0400)]
only update wl dnd surface client if a wl drag is active
Mike Blumenkrantz [Mon, 10 Aug 2015 20:29:11 +0000 (16:29 -0400)]
track xwl clipboard owner
Mike Blumenkrantz [Mon, 10 Aug 2015 20:25:04 +0000 (16:25 -0400)]
use current ecore-x time when setting selection owner for xwl dnd operations
according to icccm spec, it is not recommented to use currenttime here
Mike Blumenkrantz [Mon, 10 Aug 2015 19:15:54 +0000 (15:15 -0400)]
add comp util function for determining whether xwayland is active
Mike Blumenkrantz [Mon, 10 Aug 2015 17:20:35 +0000 (13:20 -0400)]
account for state in xwl property change handler
we only care about events where the property was deleted here
Marcel Hollerbach [Mon, 10 Aug 2015 17:48:10 +0000 (19:48 +0200)]
Merge branch 'devs/bu5hm4n/mixer'
This merge fixes problems which where discovered by the mail "[e-users] alsa NOT mixer?"
Marcel Hollerbach [Mon, 10 Aug 2015 17:23:53 +0000 (19:23 +0200)]
mixer: Fix segfault when backend does not have any sink
Marcel Hollerbach [Mon, 10 Aug 2015 17:23:31 +0000 (19:23 +0200)]
mixer: only list playbackdevices if they are _real_ playbackdevices
Marcel Hollerbach [Mon, 10 Aug 2015 17:16:49 +0000 (19:16 +0200)]
mixer: update internal volume and call the changed event
Marcel Hollerbach [Mon, 10 Aug 2015 17:15:59 +0000 (19:15 +0200)]
mixer: get volume after setting channels
Marcel Hollerbach [Mon, 10 Aug 2015 16:13:25 +0000 (18:13 +0200)]
mixer: this if does not make much sense
Stefan Schmidt [Mon, 10 Aug 2015 15:00:25 +0000 (17:00 +0200)]
README.Wayland: Update to latest configure options and mention xwayland
Many of them have been out of date. Remove what is no longer needed and
mention XWayland.
Dave Andreoli [Sun, 9 Aug 2015 20:52:32 +0000 (22:52 +0200)]
Improve italian lang
"Abortire", "abortito" e, sopprattutto "abortisci" sono veramente di cattivo gusto
e suonano anche male.
Sostituti tutti con "annullare" o "interrompere"
Carsten Haitzler (Rasterman) [Sat, 8 Aug 2015 15:22:16 +0000 (00:22 +0900)]
e - randr - handle lid close screen turnoff correctly again
this USED to work until i made things like auto-clone work without
config and so on and that broke turning off closed lid screens. it
also works when i suspend while lid is closed and resume (i can only
test with lid open as i need to open lid to unsuspend).
Mike Blumenkrantz [Sat, 8 Aug 2015 01:06:47 +0000 (21:06 -0400)]
implement wl->x11 dnd operations
seems to work fine, large selection data (ref T2330) still untested
Mike Blumenkrantz [Sat, 8 Aug 2015 01:04:07 +0000 (21:04 -0400)]
do not send wl dnd positioning updates to xwl clients
Derek Foreman [Fri, 7 Aug 2015 21:20:05 +0000 (17:20 -0400)]
wayland: force wl surface frame callbacks on commit for undamaged surfaces
Summary:
Doing it just for bufferless surfaces wasn't quite enough, sometimes
we get a sequence like: attach, commit, frame, commit
And we need to respond to the frame.
#Kansas
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2934
Flavio Ceolin [Sun, 26 Jul 2015 23:33:07 +0000 (20:33 -0300)]
modules:mixer:pulse Update default sink
Update the default sink when it changes (for instance when it is changed
on pavucontrol).
Derek Foreman [Fri, 7 Aug 2015 18:52:33 +0000 (14:52 -0400)]
wayland: Always add frame callbacks to current state on commit
Summary: Previously we ignored it for unmapped surfaces.
Reviewers: devilhorns, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2932
Mike Blumenkrantz [Fri, 7 Aug 2015 17:47:38 +0000 (13:47 -0400)]
force wl surface frame callbacks on commit for bufferless surfaces
#Kansas
Mike Blumenkrantz [Fri, 7 Aug 2015 17:36:00 +0000 (13:36 -0400)]
print DBG infos for unhandled x11 client messages
Mike Blumenkrantz [Fri, 7 Aug 2015 16:52:44 +0000 (12:52 -0400)]
block screensaver activation during xwl dnd operations
Mike Blumenkrantz [Fri, 7 Aug 2015 16:49:12 +0000 (12:49 -0400)]
track xwl dnd event handlers
Stefan Schmidt [Fri, 7 Aug 2015 13:49:45 +0000 (15:49 +0200)]
wl_drm: No need to init orient to 0 as it will never be read.
Mike Blumenkrantz [Thu, 6 Aug 2015 23:40:10 +0000 (19:40 -0400)]
force render update on wayland clients during commit
an unmapped wayland client must still run post-render code to execute
frame callbacks
fixes terminology initial render with efl from git
Mike Blumenkrantz [Thu, 6 Aug 2015 23:26:08 +0000 (19:26 -0400)]
implement x11->wayland dnd operations
still a little rough, but the basics are functional. works by showing
the x11 compositor selection window, which has rects to exclude geometries
of xwl clients, for getting x11 xdnd events, and then manually sending
all the related client messages in order to inform the x11 client that
enlightenment is, in fact, an extremely credible xdnd drop site and not
a rogue compositor which will mangle/destroy the dnd data.
still render crashes after the operation completes, so possibly not the
most useful thing to be using now
Mike Blumenkrantz [Thu, 6 Aug 2015 23:17:51 +0000 (19:17 -0400)]
alias xwl client pixmaps -> wl surface pixmaps
it's now possible to retrieve the xwl client using the xwl xwindow
Mike Blumenkrantz [Thu, 6 Aug 2015 23:16:10 +0000 (19:16 -0400)]
add pixmap aliasing
this provides the ability to alias one pixmap id as another pixmap
Mike Blumenkrantz [Thu, 6 Aug 2015 23:15:18 +0000 (19:15 -0400)]
make dummy e_drag rect invisible
Mike Blumenkrantz [Thu, 6 Aug 2015 23:14:03 +0000 (19:14 -0400)]
set pass events on DND type windows
these are the actual drag windows from external apps and will be stuck
under the cursor, ideally not blocking/intercepting all motion events
Mike Blumenkrantz [Thu, 6 Aug 2015 23:11:11 +0000 (19:11 -0400)]
reject xwl clients from wayland data device enter/leave functions
NYI
Mike Blumenkrantz [Thu, 6 Aug 2015 23:08:53 +0000 (19:08 -0400)]
make most wayland data device functions external
Mike Blumenkrantz [Thu, 6 Aug 2015 23:07:26 +0000 (19:07 -0400)]
only attempt to provide wayland drag motion data if drag exists
Mike Blumenkrantz [Thu, 6 Aug 2015 23:07:05 +0000 (19:07 -0400)]
block wayland mouse button propagation to clients while drag is active
Mike Blumenkrantz [Thu, 6 Aug 2015 23:06:36 +0000 (19:06 -0400)]
store global wayland data manager resource
Mike Blumenkrantz [Thu, 6 Aug 2015 22:57:40 +0000 (18:57 -0400)]
move wl compositor function for creating data sources to be external
Mike Blumenkrantz [Thu, 6 Aug 2015 22:45:27 +0000 (18:45 -0400)]
reenable compositor shape cutting onto the selection window in xwl
this will provide x11 eventing as needed on an already existing window
Mike Blumenkrantz [Thu, 6 Aug 2015 22:43:56 +0000 (18:43 -0400)]
block internal usage of x11 input grabs under wayland
these shouldn't be necessary since we control the input
Stefan Schmidt [Thu, 6 Aug 2015 08:31:24 +0000 (10:31 +0200)]
module/geolocation: Use correct unref function for proxies.
We used the manager unref for client and location as well. Looking at the
generated code it does not make any difference right now but might do in
the future so better fix this up.
Stefan Schmidt [Thu, 6 Aug 2015 08:30:25 +0000 (10:30 +0200)]
modules/geolocation: Remove unused eldbus interface variable
Never used, no need to keep it.
Yomi [Thu, 6 Aug 2015 16:01:14 +0000 (12:01 -0400)]
Update links in head.html
Summary: Make sure links point to updated URLs.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2913
Mike Blumenkrantz [Wed, 5 Aug 2015 21:30:03 +0000 (17:30 -0400)]
force mouse-up on wayland drag start
allows mouse eventing to function as expected during drags and provides
updating during the drag
Mike Blumenkrantz [Wed, 5 Aug 2015 21:26:50 +0000 (17:26 -0400)]
move menu mouse-up feed util function to E_API in comp canvas
Mike Blumenkrantz [Wed, 5 Aug 2015 20:06:33 +0000 (16:06 -0400)]
enable x11 dnd in wayland compositors
maximize footgun potential since this currently crashes immediately
Stefan Schmidt [Wed, 5 Aug 2015 16:03:41 +0000 (18:03 +0200)]
modules/geolocation: Limit the accurancy double to one decimal in the popup
Having to mayn decimal places in there is confusing.
Stefan Schmidt [Wed, 5 Aug 2015 15:51:22 +0000 (17:51 +0200)]
modules/geolocation: Keep track of accuracy and set lower minimal value
Instead of setting the highest accuracy level as minimum we now set the
lowest level. By doing so we should get a somewhat accurate location in
any case. Before this change we would just not get any location
information at all which was confusing and let people think the module
did not work.
We also keep track of the AvailableAccuracyLevel property know.
Fixes T2641
Mike Blumenkrantz [Tue, 4 Aug 2015 23:48:11 +0000 (19:48 -0400)]
use pointer hash to track data manager resources
Mike Blumenkrantz [Tue, 4 Aug 2015 23:10:25 +0000 (19:10 -0400)]
block screensaver activation during wl dnd operations
Mike Blumenkrantz [Tue, 4 Aug 2015 23:10:09 +0000 (19:10 -0400)]
add functionality for blocking wl screensaver activation
Mike Blumenkrantz [Tue, 4 Aug 2015 22:56:18 +0000 (18:56 -0400)]
add server-side wl dnd
weston-dnd seems to work as expected
Mike Blumenkrantz [Tue, 4 Aug 2015 22:55:27 +0000 (18:55 -0400)]
fix wl data device kbd focus function
this should only send the selection offer
Mike Blumenkrantz [Tue, 4 Aug 2015 22:54:17 +0000 (18:54 -0400)]
make wl data device util function EINTERN
e_comp_wl_data_find_for_client()
Mike Blumenkrantz [Tue, 4 Aug 2015 22:51:41 +0000 (18:51 -0400)]
add more wl data device debug infos
Mike Blumenkrantz [Tue, 4 Aug 2015 22:50:16 +0000 (18:50 -0400)]
apply wayland data device focus after focus has been set
the focus_set client hook is for setting focus, not for doing things which
must occur after focus has been set
Mike Blumenkrantz [Tue, 4 Aug 2015 22:48:33 +0000 (18:48 -0400)]
fix compositor type detection for dnd operations
wayland compositors will always use a compositor grab
Mike Blumenkrantz [Tue, 4 Aug 2015 22:47:59 +0000 (18:47 -0400)]
allow new drags to be created with no associated mime types
Mike Blumenkrantz [Tue, 4 Aug 2015 22:47:30 +0000 (18:47 -0400)]
reduce explicit ecore-x type usage in e_dnd
Mike Blumenkrantz [Tue, 4 Aug 2015 22:45:36 +0000 (18:45 -0400)]
further unify drag start functions
Mike Blumenkrantz [Tue, 4 Aug 2015 22:44:23 +0000 (18:44 -0400)]
track the current pointer focus client in wayland compositor
Mike Blumenkrantz [Tue, 4 Aug 2015 22:41:31 +0000 (18:41 -0400)]
reject deleted clients from wl show callback
Mike Blumenkrantz [Tue, 4 Aug 2015 18:14:27 +0000 (14:14 -0400)]
show drag object immediately when beginning a drag
fixes flicker at start of drag
Mike Blumenkrantz [Tue, 4 Aug 2015 17:15:36 +0000 (13:15 -0400)]
only return xwayland pixmap from e_comp_x_client_pixmap_get() for xwl clients
Yomi [Mon, 3 Aug 2015 19:52:09 +0000 (15:52 -0400)]
Update README for those viewing this repo from github.
Summary: Update readme.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2908
Mike Blumenkrantz [Fri, 31 Jul 2015 19:35:55 +0000 (15:35 -0400)]
unify most of drag start functions
Mike Blumenkrantz [Fri, 31 Jul 2015 17:55:44 +0000 (13:55 -0400)]
defer focus-setting on focus revert during desk flip when visibility is pending
in the case that a client is going to be shown on the next loop iteration,
focus setting must still occur and be deferred
this fixes the case of a window appearing on a desk while the user is switching
desks away from it even though this window is attempting to focus itself
Mike Blumenkrantz [Thu, 30 Jul 2015 20:35:51 +0000 (16:35 -0400)]
notidle the screensaver in wl compositor mouse move cb
fixes screen blanking while user is active
Mike Blumenkrantz [Thu, 30 Jul 2015 20:29:25 +0000 (16:29 -0400)]
set ELM_DISPLAY appropriately for wayland compositors
Mike Blumenkrantz [Thu, 30 Jul 2015 20:22:08 +0000 (16:22 -0400)]
reject internal window moves when they originate from a wl configure event
fixes a number of internal win positioning issues
Mike Blumenkrantz [Thu, 30 Jul 2015 17:36:42 +0000 (13:36 -0400)]
unset DISPLAY on xwayland module shutdown
fixes loading across restarts
Mike Blumenkrantz [Thu, 30 Jul 2015 17:24:24 +0000 (13:24 -0400)]
fix wizard module loading when E_MODULE_SRC_PATH is set
Mike Blumenkrantz [Thu, 30 Jul 2015 17:15:50 +0000 (13:15 -0400)]
flip conditional in wizard xdg events to call xdg function first
when curpage was not set, the xdg checking function would never be run,
preventing the wizard from advancing
fix T2622
Mike Blumenkrantz [Wed, 29 Jul 2015 23:46:22 +0000 (19:46 -0400)]
remove spurious focus setting on desk flip without animation
focus gets automatically handled in e_desk_flip_end(). changing it
again here will produce unintended/wrong results in some cases
fix T2071
Mike Blumenkrantz [Wed, 29 Jul 2015 21:41:21 +0000 (17:41 -0400)]
add fallback loading of default theme on init
this should fix cases where whatever the user-set theme is doesn't provide
a required group by filling it in
fix T2210
Mike Blumenkrantz [Wed, 29 Jul 2015 21:21:00 +0000 (17:21 -0400)]
use gadget zone for evry gadget launcher
probably fixes T2423 maybe
Mike Blumenkrantz [Wed, 29 Jul 2015 19:40:02 +0000 (15:40 -0400)]
Revert "remove unnecessary geometry setting during xwl client swap"
This reverts commit
ae1fc10d06e89f8b9e38cbd40a12223084e38861.
not unnecessary if the client has already been shown. fixes xwl menus
randomly showing up at 0,0
Mike Blumenkrantz [Wed, 29 Jul 2015 19:39:39 +0000 (15:39 -0400)]
fix new_client setting on xwl clients during swap
Mike Blumenkrantz [Wed, 29 Jul 2015 19:38:17 +0000 (15:38 -0400)]
don't reset wayland surface geometry for overrides
Mike Blumenkrantz [Wed, 29 Jul 2015 19:25:22 +0000 (15:25 -0400)]
end compositor animations for dead clients on hide
fixes a huge object leak in xwayland related to menus
Mike Blumenkrantz [Tue, 28 Jul 2015 21:36:13 +0000 (17:36 -0400)]
return immediately on wayland focus-in key timer when no focused kbds exist
Mike Blumenkrantz [Tue, 28 Jul 2015 21:34:58 +0000 (17:34 -0400)]
do not call ecore_time_unix_get() on each key sending loop for wayland clients
Derek Foreman [Tue, 28 Jul 2015 21:12:57 +0000 (17:12 -0400)]
wayland: Only send keyboard modifiers to focused resources
Summary: We were sending them to anything that bound a wl_keyboard.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2879
Mike Blumenkrantz [Tue, 28 Jul 2015 20:58:53 +0000 (16:58 -0400)]
reduce delay before running screensaver-off animations in wayland
this feels a bit more natural while still displaying animations after dpms
has finished cycling
Mike Blumenkrantz [Tue, 28 Jul 2015 20:46:00 +0000 (16:46 -0400)]
disable ecore-evas events on client windows during actions
this is a not-great way of hacking around various issues related to
the efl mouse button cancel patches that went in for the 1.15 cycle
which changed the entire mouse input workings of the toolkit.
to avoid further issues, the compositor will explicitly block eventing
on all internal canvases during actions
Mike Blumenkrantz [Tue, 28 Jul 2015 19:57:52 +0000 (15:57 -0400)]
disable x11 mouse eventing in wayland compositor mode
these events are delegated directly by the compositor. anything that
is told to us by x11 may or may not be the case and we shouldn't care
either way
Chris Michael [Tue, 28 Jul 2015 18:37:08 +0000 (14:37 -0400)]
wl_desktop_shell: Formatting
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Tue, 28 Jul 2015 16:41:05 +0000 (12:41 -0400)]
do not create wayland screensaver timer when screensaver is disabled
ref T2609
Mike Blumenkrantz [Tue, 28 Jul 2015 16:34:05 +0000 (12:34 -0400)]
block xsettings config update if xsettings has not been initialized
fix T2610
Mike Blumenkrantz [Tue, 28 Jul 2015 16:32:50 +0000 (12:32 -0400)]
fix x11 detection for wayland compositor setup
ref T2609
Mike Blumenkrantz [Tue, 28 Jul 2015 16:31:22 +0000 (12:31 -0400)]
fix desklock-related screensaver modification
ref T2609
Mike Blumenkrantz [Mon, 27 Jul 2015 22:24:34 +0000 (18:24 -0400)]
ensure expected screensaver blanking in x11 compositors with HAVE_WAYLAND
Mike Blumenkrantz [Mon, 27 Jul 2015 21:32:11 +0000 (17:32 -0400)]
fix wl screensaver activation when deactivating during fade
Mike Blumenkrantz [Mon, 27 Jul 2015 20:54:31 +0000 (16:54 -0400)]
add dpms handling for wayland compositors
Mike Blumenkrantz [Mon, 27 Jul 2015 20:54:01 +0000 (16:54 -0400)]
add E_EVENT_SCREENSAVER_OFF_PRE
for hooking dpms changes which occur before animations play
Mike Blumenkrantz [Mon, 27 Jul 2015 20:48:19 +0000 (16:48 -0400)]
add wl_drm dpms setting