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
Yomi
98027f2584
Update README for those viewing this repo from github.
...
Summary: Update readme.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2908
2015-08-03 15:52: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
Mike Blumenkrantz
847d3fe358
reject internal window moves when they originate from a wl configure event
...
fixes a number of internal win positioning issues
2015-07-30 16:22:08 -04:00
Mike Blumenkrantz
3a77e8a2e9
unset DISPLAY on xwayland module shutdown
...
fixes loading across restarts
2015-07-30 13:36:42 -04:00
Mike Blumenkrantz
9bf1bd514b
fix wizard module loading when E_MODULE_SRC_PATH is set
2015-07-30 13:24:24 -04:00
Mike Blumenkrantz
043a0b13bb
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
2015-07-30 13:15:50 -04:00
Mike Blumenkrantz
24ec288b3c
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
2015-07-29 19:47:49 -04:00
Mike Blumenkrantz
9ad208bfb8
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
2015-07-29 17:41:21 -04:00
Mike Blumenkrantz
23349aa349
use gadget zone for evry gadget launcher
...
probably fixes T2423 maybe
2015-07-29 17:21:00 -04:00
Mike Blumenkrantz
7848947ea0
Revert "remove unnecessary geometry setting during xwl client swap"
...
This reverts commit ae1fc10d06
.
not unnecessary if the client has already been shown. fixes xwl menus
randomly showing up at 0,0
2015-07-29 15:40:02 -04:00
Mike Blumenkrantz
cd0e11c8c3
fix new_client setting on xwl clients during swap
2015-07-29 15:39:39 -04:00
Mike Blumenkrantz
1496b3db7b
don't reset wayland surface geometry for overrides
2015-07-29 15:38:17 -04:00
Mike Blumenkrantz
01ba4eea55
end compositor animations for dead clients on hide
...
fixes a huge object leak in xwayland related to menus
2015-07-29 15:25:22 -04:00
Mike Blumenkrantz
e5d367292f
return immediately on wayland focus-in key timer when no focused kbds exist
2015-07-28 17:36:13 -04:00
Mike Blumenkrantz
c9e35cc0f9
do not call ecore_time_unix_get() on each key sending loop for wayland clients
2015-07-28 17:34:58 -04:00
Derek Foreman
fea72d5fcd
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
2015-07-28 17:12:57 -04:00
Mike Blumenkrantz
8278e20183
reduce delay before running screensaver-off animations in wayland
...
this feels a bit more natural while still displaying animations after dpms
has finished cycling
2015-07-28 16:58:53 -04:00
Mike Blumenkrantz
42bc9b0bef
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
2015-07-28 16:46:00 -04:00
Mike Blumenkrantz
f7ca0b5791
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
2015-07-28 15:59:19 -04:00
Chris Michael
d4f9ee417d
wl_desktop_shell: Formatting
...
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-28 14:37:26 -04:00
Mike Blumenkrantz
784af9c097
do not create wayland screensaver timer when screensaver is disabled
...
ref T2609
2015-07-28 12:41:05 -04:00
Mike Blumenkrantz
6faa894a59
block xsettings config update if xsettings has not been initialized
...
fix T2610
2015-07-28 12:34:05 -04:00
Mike Blumenkrantz
db41479414
fix x11 detection for wayland compositor setup
...
ref T2609
2015-07-28 12:32:50 -04:00
Mike Blumenkrantz
9138b484d1
fix desklock-related screensaver modification
...
ref T2609
2015-07-28 12:31:22 -04:00
Mike Blumenkrantz
c4024acfd2
ensure expected screensaver blanking in x11 compositors with HAVE_WAYLAND
2015-07-27 18:24:34 -04:00
Mike Blumenkrantz
812ceafec6
fix wl screensaver activation when deactivating during fade
2015-07-27 17:32:11 -04:00
Mike Blumenkrantz
376945dcd8
add dpms handling for wayland compositors
2015-07-27 16:54:31 -04:00
Mike Blumenkrantz
9efb05a865
add E_EVENT_SCREENSAVER_OFF_PRE
...
for hooking dpms changes which occur before animations play
2015-07-27 16:54:01 -04:00
Mike Blumenkrantz
780bba76d2
add wl_drm dpms setting
2015-07-27 16:48:19 -04:00
Mike Blumenkrantz
56a73e3c67
add dpms method for E_Comp_Screen_Iface
2015-07-27 16:47:55 -04:00
Mike Blumenkrantz
4543e26ca6
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
2015-07-27 15:54:15 -04:00
Mike Blumenkrantz
7f638d98bf
add functioning wayland screensaver support
...
block xscreensaver events, manage input<->activation eventing
fix T2525
2015-07-27 15:46:57 -04:00
Mike Blumenkrantz
c2ecadae14
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
2015-07-27 13:25:01 -04:00
Mike Blumenkrantz
0a8ee7b5ad
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
2015-07-27 13:23:13 -04:00
Mike Blumenkrantz
0d19a5914b
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
2015-07-24 16:35:21 -04:00