Mike Blumenkrantz
86d5d318fa
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
2015-08-17 14:56:17 -04:00
Mike Blumenkrantz
a364dbb0c8
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
2015-08-13 17:10:54 -04:00
Mike Blumenkrantz
76fb106129
enable shape cutting for xwl clients during flip
...
fixes xwl<->xwl dnd
2015-08-13 16:20:39 -04:00
Mike Blumenkrantz
91ed3995f0
remove some local aliasing of e_comp_wl global
2015-08-13 16:08:55 -04:00
Mike Blumenkrantz
3f13b6889d
replace existing usage of x/wl_comp_data with corresponding globals
2015-08-13 16:05:57 -04:00
Mike Blumenkrantz
32adc0e901
add e_comp_x and e_comp_wl globals
...
constantly typing e_comp->x/wl_comp_data-> is tiring
2015-08-13 16:01:08 -04:00
Mike Blumenkrantz
4956fe3304
delete data device resources from hash using client
...
fixes crash when currently-entered wl surface is destroyed
2015-08-13 14:21:56 -04:00
Chris Michael
e31441bb48
enlightenment: Replace old comp_type conditionals
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-13 10:33:48 -04:00
Chris Michael
2f1d32a081
enlightenment: Replace old comp_type conditionals
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-13 10:31:54 -04:00
Mike Blumenkrantz
83f49bf44c
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
2015-08-12 20:19:18 -04:00
Mike Blumenkrantz
97f131582e
add local event for wl_wl output to use when a global has been received
2015-08-12 20:18:43 -04:00
Mike Blumenkrantz
725890f105
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
2015-08-12 20:17:25 -04:00
Mike Blumenkrantz
7986b084f8
enforce compositor canvas resizing/updating when emitting randr events
...
all compositors will want this to occur, so make it automatic
2015-08-12 19:27:53 -04:00
Mike Blumenkrantz
a08a1434c1
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
2015-08-12 19:26:19 -04:00
Mike Blumenkrantz
7f3d59f6f2
init null wl mime types array when new type is offered
2015-08-12 18:42:42 -04:00
Mike Blumenkrantz
3b785403b6
reject xwl selection notify events which do not match our xwl property atom
2015-08-12 17:59:16 -04:00
Mike Blumenkrantz
466ceca59b
don't toggle screensaver twice on x11 xdnd selection owner change
2015-08-12 17:45:34 -04:00
Mike Blumenkrantz
ce6703e979
only delete current drag on x11 xdnd selection loss if x11 owned selection
2015-08-12 17:45:01 -04:00
Mike Blumenkrantz
ecffe370d1
convert E_Comp_Wl_Data_Source->mime_types to Eina_Array
...
this data struct fits the usage of the data more effectively
2015-08-12 17:39:15 -04:00
Mike Blumenkrantz
442d63d8d6
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
2015-08-12 15:39:42 -04:00
Mike Blumenkrantz
d1ed90d160
force sending of mouse button release on xwl drag end
...
seems to be necessary for the client to end its drag
2015-08-12 15:12:03 -04:00
Mike Blumenkrantz
48be7016ad
make wl client mouse button handler fn external
2015-08-12 15:12:03 -04:00
Mike Blumenkrantz
5bc8376fb5
break out wl client motion sending, force motion events during x11 drags
...
weird, but fixes xwl drag positioning
2015-08-12 15:11:59 -04:00
Mike Blumenkrantz
ba1077fb42
fix xwl pixmap unaliasing during client deletion
...
no more crashing, hooray!
2015-08-12 14:32:21 -04:00
Chris Michael
cb622b8a7a
enlightenment: Remove legacy unused e_pixmap_image_draw_done function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-12 14:20:05 -04:00
Mike Blumenkrantz
28c84f92dc
don't iterate damage rects during render in wayland compositor mode
...
this is a no-op that spins for no reason
2015-08-12 14:13:21 -04:00
Mike Blumenkrantz
f29410b084
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
2015-08-12 14:12:04 -04:00
Mike Blumenkrantz
edc2de32c1
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
2015-08-12 13:45:19 -04:00
Mike Blumenkrantz
9613b1faff
do not add render update on resize fail due to unusable pixmap in wl
...
this will not have any effect
2015-08-12 13:45:19 -04:00
Chris Michael
20c0ddffd5
enlightenment: Update README.wayland to reflect things that do not work yet
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-12 10:56:16 -04:00
Stefan Schmidt
c588867c1f
modules/battery: Remove assign without effect
...
CID: 1316024
2015-08-12 09:26:19 +02:00
Stefan Schmidt
be97356eaa
e_widget_filepreview: Remove assign without effect
...
CID: 1316023
2015-08-12 09:25:16 +02:00
Mike Blumenkrantz
dcc22aa27c
finish xwl dnd operation immediately if drop occurred somehow
2015-08-11 16:04:54 -04:00
Mike Blumenkrantz
8ea4b9b4e9
don't create pipe for x11->wl clipboard selections
...
this is never used
2015-08-11 16:04:36 -04:00
Mike Blumenkrantz
11e374ce13
only create fd handler for wl clipboard data source if fd is passed
2015-08-11 16:04:36 -04:00
Mike Blumenkrantz
ebc6c0ee35
don't remove wl data source listener when xwl owns the selection
...
crash-- since xwl has no listener
2015-08-11 16:04:36 -04:00
Mike Blumenkrantz
04b6514c51
add separate log domain for xwayland
2015-08-11 16:04:36 -04:00
Chris Michael
ae9ef1a542
xwayland: Add missing EINA_UNUSED for unused function parameters
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-08-11 09:50:41 -04:00
Simon Lees
70226ceedf
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
2015-08-11 10:00:03 +02:00
Mike Blumenkrantz
335f9c4324
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
2015-08-10 18:59:03 -04:00
Mike Blumenkrantz
cb363eb9b8
close xwl dnd pipe on operation end
2015-08-10 18:59:03 -04:00
Mike Blumenkrantz
0ee67a1e52
make e_comp_wl_data_device_keyboard_focus_set() external
2015-08-10 18:59:03 -04:00
Mike Blumenkrantz
495a14ea17
make wl clipboard source create/unref external
2015-08-10 18:59:02 -04:00
Mike Blumenkrantz
0a690c7d17
don't crash in wl compositor when data resource is destroyed in multiple listeners
2015-08-10 18:59:02 -04:00
Mike Blumenkrantz
263794f42f
only update wl dnd surface client if a wl drag is active
2015-08-10 18:59:02 -04:00
Mike Blumenkrantz
bf4c5452f3
track xwl clipboard owner
2015-08-10 18:59:02 -04:00
Mike Blumenkrantz
2e000a45dc
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
2015-08-10 18:59:02 -04:00
Mike Blumenkrantz
5c14b4a17b
add comp util function for determining whether xwayland is active
2015-08-10 18:59:02 -04:00
Mike Blumenkrantz
1ca8c9eb36
account for state in xwl property change handler
...
we only care about events where the property was deleted here
2015-08-10 18:59:02 -04:00
Marcel Hollerbach
c61320ce72
Merge branch 'devs/bu5hm4n/mixer'
...
This merge fixes problems which where discovered by the mail "[e-users] alsa NOT mixer?"
2015-08-10 19:48:23 +02:00