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
Mike Blumenkrantz [Mon, 27 Jul 2015 20:47:55 +0000 (16:47 -0400)]
add dpms method for E_Comp_Screen_Iface
Mike Blumenkrantz [Mon, 27 Jul 2015 19:54:15 +0000 (15:54 -0400)]
remove e_screensaver_force_update()
this was just used to set up x11 screensaver stuff, which has now been
relocated to the related comp_init function
Mike Blumenkrantz [Mon, 27 Jul 2015 19:46:57 +0000 (15:46 -0400)]
add functioning wayland screensaver support
block xscreensaver events, manage input<->activation eventing
fix T2525
Mike Blumenkrantz [Mon, 27 Jul 2015 17:25:01 +0000 (13:25 -0400)]
reject x11 NotifyVirtual and NotifyInferior mouse in events
these are triggered "in passing" when mouse in events occur and do
not necessarily indicate that the mouse has entered this specific window
failing to reject such events can cause mouse-based focus policies to
attempt to set focus onto windows which are not visible, resulting in
an infinite loop where no window is actually focused
Mike Blumenkrantz [Mon, 27 Jul 2015 17:23:13 +0000 (13:23 -0400)]
allow x11 mouse wheel events to check ev->event_window for possible client match
in the event that these windows are different, event_window is the parent of window
which may or may not be explicitly tracked by an E_Client, so the wheel events here
should be sent to the parent as is done in mouse button events
fix T2604
Mike Blumenkrantz [Fri, 24 Jul 2015 20:35:21 +0000 (16:35 -0400)]
apply csd sizing transform for wayland configure events
when not resizing, the sizes passed to configure should be based on the
window size and not the surface size. in order to calculate this, it's
necessary to keep track of the last-known window geometry for non-maximized
states and create offsets with which to calculate new sizes
this fixes directional maximizes as well as unmaximizing
Mike Blumenkrantz [Fri, 24 Jul 2015 20:34:18 +0000 (16:34 -0400)]
always send geometry to configure method for wayland clients when not resizing
failure to set this would lead to clients changing geometry when maximized while
focus state was removed
Mike Blumenkrantz [Fri, 24 Jul 2015 20:33:06 +0000 (16:33 -0400)]
do not send duplicate configures for wayland clients during maximize
this seems to not have caused any real issues, but it made debugging
more of a pain and is unnecessary connection noise
Mike Blumenkrantz [Fri, 24 Jul 2015 18:33:08 +0000 (14:33 -0400)]
fix client smart callbacks on (un)maximize
these should match the callbacks triggered for whatever the current
maximize state is
Mike Blumenkrantz [Fri, 24 Jul 2015 18:31:29 +0000 (14:31 -0400)]
add an actual module no-save blacklist
this should make it easier to keep track of modules that should be
blocked from having their load states saved
Chris Michael [Fri, 24 Jul 2015 17:16:04 +0000 (13:16 -0400)]
enlightenment: Remove static function prototype for unused function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 24 Jul 2015 17:12:20 +0000 (13:12 -0400)]
enlightenment: Allocate space for terminating NULL
Fixes CID1261289
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 24 Jul 2015 17:09:05 +0000 (13:09 -0400)]
enlightenment: Remove listener for XDnD status
As we don't do anything within this handler, having it is just
pointless. Remove it. Fixes Coverity CID1267214
Signed-off-by: Chris Michael <cp.michael@samsung.com>
maxerba [Fri, 24 Jul 2015 10:59:46 +0000 (12:59 +0200)]
Updating catalan translation
maxerba [Thu, 23 Jul 2015 21:09:17 +0000 (23:09 +0200)]
Updating italian translation
Derek Foreman [Thu, 23 Jul 2015 15:01:31 +0000 (11:01 -0400)]
wayland: fix key repeat
Summary:
wl_keyboard_send_repeat_info takes ints, not floats. We were rounding to
0 and weston-terminal didn't key repeat.
fixes T2597
Reviewers: devilhorns, zmike
Subscribers: cedric
Maniphest Tasks: T2597
Differential Revision: https://phab.enlightenment.org/D2859
Mike Blumenkrantz [Wed, 22 Jul 2015 21:55:30 +0000 (17:55 -0400)]
add a timer for wl client focus to delay held key input
this prevents keys from immediately being sent to newly-focused clients
and avoids the case of reverting focus from one app to another on keybind
close, only to have the second app also close immediately using the same keybind
Mike Blumenkrantz [Wed, 22 Jul 2015 21:46:39 +0000 (17:46 -0400)]
send wl kbd modifiers only when changes occur
Mike Blumenkrantz [Wed, 22 Jul 2015 21:38:40 +0000 (17:38 -0400)]
create/manage list of focused wl keyboard resources for reuse in kbd operations
this simplifies kbd code all over
Mike Blumenkrantz [Wed, 22 Jul 2015 21:10:49 +0000 (17:10 -0400)]
set new_client flag on xwl clients during swap
this forces another run of client placement so that xwl clients do
not always appear at 0,0
Mike Blumenkrantz [Wed, 22 Jul 2015 21:10:11 +0000 (17:10 -0400)]
remove unnecessary geometry setting during xwl client swap
this geometry will be applied during show
Mike Blumenkrantz [Wed, 22 Jul 2015 21:09:14 +0000 (17:09 -0400)]
set shell-less wl surface mapped state regardless of visibility during commit
new_client flag here will defer show operations, but the operations will complete
Mike Blumenkrantz [Wed, 22 Jul 2015 20:59:23 +0000 (16:59 -0400)]
update wl keyboard resource key presses on focus in/out of surfaces
Mike Blumenkrantz [Wed, 22 Jul 2015 20:28:48 +0000 (16:28 -0400)]
allow wl client focus-out callback to execute on deleted E_Clients
Mike Blumenkrantz [Wed, 22 Jul 2015 20:28:08 +0000 (16:28 -0400)]
don't update wl keyboard state on client focus events
this is always up-to-date
Mike Blumenkrantz [Wed, 22 Jul 2015 17:56:19 +0000 (13:56 -0400)]
fix backlight init value
in the case where xrandr is not used, setting backlight to very dim on init
will result in the backlight remaining at a very dim level when the backlight
normal level is 1.0 since backlight values will not successfully update until
at least 0.05s after the main loop starts
ref T1333
Mike Blumenkrantz [Wed, 22 Jul 2015 17:30:02 +0000 (13:30 -0400)]
fix compositing error when client is ec->hidden during show animation
this prevented clients from being deleted and resulted in artifacts and
memory leaks
Mike Blumenkrantz [Wed, 22 Jul 2015 16:54:20 +0000 (12:54 -0400)]
simplify deskmirror client desk checking
Mike Blumenkrantz [Wed, 22 Jul 2015 16:24:35 +0000 (12:24 -0400)]
fix wl build
Mike Blumenkrantz [Tue, 21 Jul 2015 22:24:39 +0000 (18:24 -0400)]
simulate modal windows for badly behaved x11 clients
it seems that some clients, eg. libreoffice, don't set the modal window
property on child dialogs. instead of fighting for focus, set up the child
as a modal on the parent and then avoid the whole issue
fix T2594
Mike Blumenkrantz [Tue, 21 Jul 2015 19:33:50 +0000 (15:33 -0400)]
don't block keybind activation while grabs are active
Mike Blumenkrantz [Tue, 21 Jul 2015 18:34:11 +0000 (14:34 -0400)]
ensure clients possess comp_data before dereferencing it during x11 stacking
ref T2566
Mike Blumenkrantz [Tue, 21 Jul 2015 18:27:29 +0000 (14:27 -0400)]
redo wl compositor key eventing
* break out key callbacks into EINTERNs
* remove extraneous/unused mouse event handlers
* enforce wl modifier updating in all cases
* ensure keybinds are activated before wl clients receive input
- block wl client input during grabs
fixes T2565
Mike Blumenkrantz [Tue, 21 Jul 2015 18:25:41 +0000 (14:25 -0400)]
do not add x11 compositor desklock hooks in non-x11 compositor
Mike Blumenkrantz [Tue, 21 Jul 2015 18:25:16 +0000 (14:25 -0400)]
add wl compositor desklock hooks to add grabs during lock
Mike Blumenkrantz [Tue, 21 Jul 2015 18:21:36 +0000 (14:21 -0400)]
add clients to focus stack as necessary in e_client_unignore()
Mike Blumenkrantz [Tue, 21 Jul 2015 18:21:07 +0000 (14:21 -0400)]
always stop passing key events on once they reach the lokker callback
Mike Blumenkrantz [Tue, 21 Jul 2015 18:15:08 +0000 (14:15 -0400)]
do not attempt to remove wl xdg popup clients from focus stack
these have never been added to the focus stack, so removing them is useless
Mike Blumenkrantz [Tue, 21 Jul 2015 18:13:55 +0000 (14:13 -0400)]
do not block winlist activity based on event window in non-x11 compositors
fixes winlist interaction in wayland
Derek Foreman [Tue, 21 Jul 2015 16:23:08 +0000 (12:23 -0400)]
shot: Skip the wayland setup bits when running under X
fix T2592
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2851
Chris Michael [Tue, 21 Jul 2015 13:03:59 +0000 (09:03 -0400)]
desklock: Fix T2589: Screen Lock crashes in E
Don't call ecore_x functions unless we are using an X11 compositor.
Signed-off-by: Chris Michael <cp.michael@samsung.com>