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
Carsten Haitzler
019b6641a3
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).
2015-08-09 00:22:16 +09:00
Mike Blumenkrantz
8e211f1950
implement wl->x11 dnd operations
...
seems to work fine, large selection data (ref T2330) still untested
2015-08-07 21:07:34 -04:00
Mike Blumenkrantz
c696fa7088
do not send wl dnd positioning updates to xwl clients
2015-08-07 21:07:34 -04:00
Derek Foreman
f124f1bf6e
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
2015-08-07 17:20:05 -04:00
Derek Foreman
15d13dad16
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
2015-08-07 14:52:33 -04:00
Mike Blumenkrantz
cae58cea9f
force wl surface frame callbacks on commit for bufferless surfaces
...
#Kansas
2015-08-07 13:48:21 -04:00
Mike Blumenkrantz
262598a126
print DBG infos for unhandled x11 client messages
2015-08-07 13:48:21 -04:00
Mike Blumenkrantz
a579c2ec36
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
2015-08-06 19:40:10 -04:00
Mike Blumenkrantz
5bde1a8648
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
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
3c722ac7f2
alias xwl client pixmaps -> wl surface pixmaps
...
it's now possible to retrieve the xwl client using the xwl xwindow
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
6aa9a9477e
add pixmap aliasing
...
this provides the ability to alias one pixmap id as another pixmap
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
8557da360c
make dummy e_drag rect invisible
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
e37f5d8c28
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
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
000c97659f
reject xwl clients from wayland data device enter/leave functions
...
NYI
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
550cc56e59
make most wayland data device functions external
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
106dfe4e21
only attempt to provide wayland drag motion data if drag exists
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
3dca058dfa
block wayland mouse button propagation to clients while drag is active
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
9740477615
store global wayland data manager resource
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
aa5788175b
move wl compositor function for creating data sources to be external
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
0f070c6683
reenable compositor shape cutting onto the selection window in xwl
...
this will provide x11 eventing as needed on an already existing window
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
fa75d181d4
block internal usage of x11 input grabs under wayland
...
these shouldn't be necessary since we control the input
2015-08-06 19:31:20 -04:00
Mike Blumenkrantz
dddbe2a518
force mouse-up on wayland drag start
...
allows mouse eventing to function as expected during drags and provides
updating during the drag
2015-08-05 17:30:03 -04:00
Mike Blumenkrantz
f2f4b65ead
move menu mouse-up feed util function to E_API in comp canvas
2015-08-05 17:26:50 -04:00
Mike Blumenkrantz
b7cc0e07b8
enable x11 dnd in wayland compositors
...
maximize footgun potential since this currently crashes immediately
2015-08-05 16:07:10 -04:00
Mike Blumenkrantz
53900d184a
use pointer hash to track data manager resources
2015-08-04 19:48:45 -04:00
Mike Blumenkrantz
5f6c91a4f4
block screensaver activation during wl dnd operations
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
d4aa1ba7c2
add functionality for blocking wl screensaver activation
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
1beecb72d7
add server-side wl dnd
...
weston-dnd seems to work as expected
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
bce5283b57
fix wl data device kbd focus function
...
this should only send the selection offer
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
b5a5e98632
make wl data device util function EINTERN
...
e_comp_wl_data_find_for_client()
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
965d089c8a
add more wl data device debug infos
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
616ca6583e
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
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
6a50d5f581
fix compositor type detection for dnd operations
...
wayland compositors will always use a compositor grab
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
b33d8bdf10
allow new drags to be created with no associated mime types
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
b011c4a045
reduce explicit ecore-x type usage in e_dnd
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
fa11e0ecd7
further unify drag start functions
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
e5678549da
track the current pointer focus client in wayland compositor
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
acf5d09796
reject deleted clients from wl show callback
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
9669dc1dc5
show drag object immediately when beginning a drag
...
fixes flicker at start of drag
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
2607ad2339
only return xwayland pixmap from e_comp_x_client_pixmap_get() for xwl clients
2015-08-04 19:39:09 -04:00
Mike Blumenkrantz
5526bd357a
unify most of drag start functions
2015-07-31 15:35:55 -04:00
Mike Blumenkrantz
81a797a0fa
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
2015-07-31 13:58:29 -04:00
Mike Blumenkrantz
04fe354592
notidle the screensaver in wl compositor mouse move cb
...
fixes screen blanking while user is active
2015-07-30 16:35:51 -04:00
Mike Blumenkrantz
de1d24021b
set ELM_DISPLAY appropriately for wayland compositors
2015-07-30 16:29:25 -04:00