Mike Blumenkrantz [Wed, 19 Aug 2015 18:38:57 +0000 (14:38 -0400)]
redo fileman menus to only scan the first 100 items found
this was meant to be a quick way to navigate directories, not a fully
operational filemanager in a menu
fix T2462
Mike Blumenkrantz [Wed, 19 Aug 2015 18:36:20 +0000 (14:36 -0400)]
do not relaunch relaunchable quickaccess windows during logout
fix T2492
Mike Blumenkrantz [Wed, 19 Aug 2015 18:35:16 +0000 (14:35 -0400)]
set 'stopping' during logout action
this flag is used in some cases to determine whether to behave as
though enlightenment is stopping. in the case of logout, we are stopping.
Mike Blumenkrantz [Wed, 19 Aug 2015 18:17:12 +0000 (14:17 -0400)]
end wl xdnd drags on the compositor canvas using the full dnd end codepath
fix T2652
Mike Blumenkrantz [Wed, 19 Aug 2015 18:00:52 +0000 (14:00 -0400)]
don't set E_Client->changes.visible on successful show/hide
iirc this was a fix for something else that was going on early in
e19 development, now it creates issues when attempting to hide clients
Mike Blumenkrantz [Wed, 19 Aug 2015 17:33:43 +0000 (13:33 -0400)]
update wayland readme with current information
Chris Michael [Wed, 19 Aug 2015 16:37:39 +0000 (12:37 -0400)]
enlightenment: Remove commented out reference to wl_screenshot Makefile
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 19 Aug 2015 16:29:20 +0000 (12:29 -0400)]
enlightenment: Remove wl_screenshot module from whitelist
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 19 Aug 2015 01:06:59 +0000 (21:06 -0400)]
only use deferred focus-setting on desk flip focus if client is not visible
Mike Blumenkrantz [Tue, 18 Aug 2015 22:18:12 +0000 (18:18 -0400)]
unset E_Client->want/take_focus flags in hide callback
deferred focus should no longer be valid if a client has been hidden
before the focus-set could be triggered
fixes super fun infinite loop with desk flips
Mike Blumenkrantz [Tue, 18 Aug 2015 22:17:51 +0000 (18:17 -0400)]
do not modify E_Client->visible value in show/hide callbacks
Mike Blumenkrantz [Tue, 18 Aug 2015 21:11:01 +0000 (17:11 -0400)]
reject x11 NotifyVirtual and NotifyInferior mouse in events more accurately
these events are valid when moving from parent<->child window
fix T2674
Cedric BAIL [Mon, 17 Aug 2015 20:30:01 +0000 (22:30 +0200)]
temperature: let's finally allow the temp process to rest also when enlightenment die.
Cedric BAIL [Mon, 17 Aug 2015 20:26:24 +0000 (22:26 +0200)]
battery: let's finally allow the battery process to rest also when enlightenment die.
Mike Blumenkrantz [Mon, 17 Aug 2015 18:52:58 +0000 (14:52 -0400)]
add event rect for deskmirror in pager/taskbar modes
ensures that events are properly triggered and consumed when this
widget is clicked on
fix T2645
Mike Blumenkrantz [Mon, 17 Aug 2015 18:30:34 +0000 (14:30 -0400)]
simplify ibar focus function
Mike Blumenkrantz [Mon, 17 Aug 2015 18:27:47 +0000 (14:27 -0400)]
explicitly grab compositor on ibar focus
Mike Blumenkrantz [Mon, 17 Aug 2015 18:23:02 +0000 (14:23 -0400)]
make pager kbd/mouse grabs more effective in wayland compositors
use the same codepaths as x11 compositors, but explicitly grab the
compositor canvas
Mike Blumenkrantz [Mon, 17 Aug 2015 18:04:58 +0000 (14:04 -0400)]
handle winlist kbd events more accurately in wayland compositors
key handlers here will pick up both wayland and drm engine type events,
so ensure that we only handle events matching the compositor canvas
window to prevent unexpected behavior
fix T2637
Mike Blumenkrantz [Thu, 13 Aug 2015 21:10:54 +0000 (17:10 -0400)]
force xwl client to retain original x11 client's placed flag during swap
fixes race condition where xwl clients would sometimes erroneously place
at 0,0
Mike Blumenkrantz [Thu, 13 Aug 2015 20:20:39 +0000 (16:20 -0400)]
enable shape cutting for xwl clients during flip
fixes xwl<->xwl dnd
Mike Blumenkrantz [Thu, 13 Aug 2015 20:08:55 +0000 (16:08 -0400)]
remove some local aliasing of e_comp_wl global
Mike Blumenkrantz [Thu, 13 Aug 2015 20:05:57 +0000 (16:05 -0400)]
replace existing usage of x/wl_comp_data with corresponding globals
Mike Blumenkrantz [Thu, 13 Aug 2015 20:01:08 +0000 (16:01 -0400)]
add e_comp_x and e_comp_wl globals
constantly typing e_comp->x/wl_comp_data-> is tiring
Mike Blumenkrantz [Thu, 13 Aug 2015 17:55:16 +0000 (13:55 -0400)]
delete data device resources from hash using client
fixes crash when currently-entered wl surface is destroyed
Chris Michael [Thu, 13 Aug 2015 14:33:48 +0000 (10:33 -0400)]
enlightenment: Replace old comp_type conditionals
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 13 Aug 2015 14:31:54 +0000 (10:31 -0400)]
enlightenment: Replace old comp_type conditionals
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Thu, 13 Aug 2015 00:19:18 +0000 (20:19 -0400)]
redo wayland shot init to account for async+slow global loading
previously it was possible for the shot module to init in a wayland
compositor and fail to grab the necessary globals, resulting in black
rects for all shots
Mike Blumenkrantz [Thu, 13 Aug 2015 00:18:43 +0000 (20:18 -0400)]
add local event for wl_wl output to use when a global has been received
Mike Blumenkrantz [Thu, 13 Aug 2015 00:17:25 +0000 (20:17 -0400)]
emit randr change event on randr init
wayland compositors have been failing to create any outputs for some
time as a result of not getting any randr events on init
Mike Blumenkrantz [Wed, 12 Aug 2015 23:27:53 +0000 (19:27 -0400)]
enforce compositor canvas resizing/updating when emitting randr events
all compositors will want this to occur, so make it automatic
Mike Blumenkrantz [Wed, 12 Aug 2015 23:26:19 +0000 (19:26 -0400)]
move x11 ee resize callback to comp_canvas, simplify x11 randr event handler
this should ensure that all compositors accurately perform resize-related
canvas operations
Mike Blumenkrantz [Wed, 12 Aug 2015 22:42:42 +0000 (18:42 -0400)]
init null wl mime types array when new type is offered
Mike Blumenkrantz [Wed, 12 Aug 2015 21:59:16 +0000 (17:59 -0400)]
reject xwl selection notify events which do not match our xwl property atom
Mike Blumenkrantz [Wed, 12 Aug 2015 21:45:34 +0000 (17:45 -0400)]
don't toggle screensaver twice on x11 xdnd selection owner change
Mike Blumenkrantz [Wed, 12 Aug 2015 21:45:01 +0000 (17:45 -0400)]
only delete current drag on x11 xdnd selection loss if x11 owned selection
Mike Blumenkrantz [Wed, 12 Aug 2015 21:39:15 +0000 (17:39 -0400)]
convert E_Comp_Wl_Data_Source->mime_types to Eina_Array
this data struct fits the usage of the data more effectively
Mike Blumenkrantz [Wed, 12 Aug 2015 19:39:42 +0000 (15:39 -0400)]
track button mask for all drags, only end drag when mask has depopulated
previously, beginning a drag with the left button, then pressing and
releasing another button would result in the drag terminating without
the original button being released
Mike Blumenkrantz [Wed, 12 Aug 2015 19:11:09 +0000 (15:11 -0400)]
force sending of mouse button release on xwl drag end
seems to be necessary for the client to end its drag
Mike Blumenkrantz [Wed, 12 Aug 2015 19:04:45 +0000 (15:04 -0400)]
make wl client mouse button handler fn external
Mike Blumenkrantz [Wed, 12 Aug 2015 18:56:55 +0000 (14:56 -0400)]
break out wl client motion sending, force motion events during x11 drags
weird, but fixes xwl drag positioning
Mike Blumenkrantz [Wed, 12 Aug 2015 18:31:54 +0000 (14:31 -0400)]
fix xwl pixmap unaliasing during client deletion
no more crashing, hooray!
Chris Michael [Wed, 12 Aug 2015 18:19:47 +0000 (14:19 -0400)]
enlightenment: Remove legacy unused e_pixmap_image_draw_done function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 12 Aug 2015 18:13:21 +0000 (14:13 -0400)]
don't iterate damage rects during render in wayland compositor mode
this is a no-op that spins for no reason
Mike Blumenkrantz [Wed, 12 Aug 2015 18:12:04 +0000 (14:12 -0400)]
force copy rendering for argb wayland clients
wayland protocol for shm handling is broken for now and I can't fix
real issues because of the constant crashing when buffers disappear
randomly
Mike Blumenkrantz [Wed, 12 Aug 2015 17:27:40 +0000 (13:27 -0400)]
use unmodified client geometry for new xwl clients during first surface commit
fixes a race condition where a configure request occurring before the xwl
client swap could fail to take effect due to xwayland bug where buffer size
is reported incorrectly
Mike Blumenkrantz [Wed, 12 Aug 2015 17:25:30 +0000 (13:25 -0400)]
do not add render update on resize fail due to unusable pixmap in wl
this will not have any effect
Chris Michael [Wed, 12 Aug 2015 14:55:54 +0000 (10:55 -0400)]
enlightenment: Update README.wayland to reflect things that do not work yet
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Stefan Schmidt [Wed, 12 Aug 2015 07:26:19 +0000 (09:26 +0200)]
modules/battery: Remove assign without effect
CID: 1316024
Stefan Schmidt [Wed, 12 Aug 2015 07:25:16 +0000 (09:25 +0200)]
e_widget_filepreview: Remove assign without effect
CID: 1316023
Mike Blumenkrantz [Tue, 11 Aug 2015 20:03:01 +0000 (16:03 -0400)]
finish xwl dnd operation immediately if drop occurred somehow
Mike Blumenkrantz [Tue, 11 Aug 2015 19:27:16 +0000 (15:27 -0400)]
don't create pipe for x11->wl clipboard selections
this is never used
Mike Blumenkrantz [Tue, 11 Aug 2015 19:27:00 +0000 (15:27 -0400)]
only create fd handler for wl clipboard data source if fd is passed
Mike Blumenkrantz [Tue, 11 Aug 2015 19:26:03 +0000 (15:26 -0400)]
don't remove wl data source listener when xwl owns the selection
crash-- since xwl has no listener
Mike Blumenkrantz [Tue, 11 Aug 2015 16:55:30 +0000 (12:55 -0400)]
add separate log domain for xwayland
Chris Michael [Tue, 11 Aug 2015 13:50:41 +0000 (09:50 -0400)]
xwayland: Add missing EINA_UNUSED for unused function parameters
Signed-off-by: Chris Michael <cp.michael@samsung.com>
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