Carsten Haitzler (Rasterman) [Sun, 12 Jul 2015 09:12:00 +0000 (18:12 +0900)]
e randr2 - auto clone and use common res when doing so - make it work
tested this and made it work. should fix T2100
Mike Blumenkrantz [Sat, 11 Jul 2015 12:37:56 +0000 (08:37 -0400)]
disable size debug on drags
Mike Blumenkrantz [Fri, 10 Jul 2015 20:59:47 +0000 (16:59 -0400)]
delete render updates for xwayland clients upon triggering a client resize
fixes frame dropping during resize
Mike Blumenkrantz [Fri, 10 Jul 2015 20:03:45 +0000 (16:03 -0400)]
only register dnd xwindow with compositor canvas in x11 compositor mode
registering it under wayland creates spurious mouse events
Mike Blumenkrantz [Fri, 10 Jul 2015 20:02:39 +0000 (16:02 -0400)]
fix xdnd in (x)wayland
this is a real thing, so don't abort immediately if it happens
Mike Blumenkrantz [Fri, 10 Jul 2015 18:21:50 +0000 (14:21 -0400)]
adjust layering of pointer and init splash
prevents cursor from getting stuck above screensaver fade
Mike Blumenkrantz [Fri, 10 Jul 2015 17:22:15 +0000 (13:22 -0400)]
add wayland client post-render references in the render loop
Mike Blumenkrantz [Fri, 10 Jul 2015 17:04:12 +0000 (13:04 -0400)]
add function to fill in x11 cursor image on creation
xwayland compositing requires that we set up a root window cursor image
immediately since we'll be getting that cursor surface to display as soon
as the pointer goes out of an x11 client's window
Mike Blumenkrantz [Fri, 10 Jul 2015 17:03:05 +0000 (13:03 -0400)]
break up some pointer setting code into helper functions
Mike Blumenkrantz [Fri, 10 Jul 2015 16:07:29 +0000 (12:07 -0400)]
always set x11 override client geometry on startup
this geometry isn't something we can change later, so apply it now.
also fixes an ACK when trying to show input_only clients early
Mike Blumenkrantz [Thu, 9 Jul 2015 23:32:51 +0000 (19:32 -0400)]
disable netwm sync on x11 clients in wayland compositors
this has no effect
Mike Blumenkrantz [Thu, 9 Jul 2015 19:11:13 +0000 (15:11 -0400)]
when e crashes in wayland, just crash instead of possibly freezing
Mike Blumenkrantz [Thu, 9 Jul 2015 19:01:50 +0000 (15:01 -0400)]
unify crash handler functions
Mike Blumenkrantz [Thu, 9 Jul 2015 18:42:55 +0000 (14:42 -0400)]
redo e_pointer to support xwayland cursors
this requires that both canvas cursors and window cursors be present for the same
E_Pointer object, even though only the canvas cursor is actually visible
#kansas
Chris Michael [Thu, 9 Jul 2015 16:37:42 +0000 (12:37 -0400)]
shot: Enable feature of taking just window shots in wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 8 Jul 2015 21:16:25 +0000 (17:16 -0400)]
return to using standard client util fns for getting client wins in x11
Mike Blumenkrantz [Wed, 8 Jul 2015 21:12:42 +0000 (17:12 -0400)]
remove unnecessary E_COMP_WL #defines
this is only required for aliasing E_Client->comp_data as wayland compositor data.
if comp_data is never dereferenced, it is not necessary to declare the compositor
type
Mike Blumenkrantz [Wed, 8 Jul 2015 21:11:16 +0000 (17:11 -0400)]
make wayland-specific shot protocol files conditional on wayland build
Mike Blumenkrantz [Wed, 8 Jul 2015 21:06:14 +0000 (17:06 -0400)]
remove NEED_WL define from some makefiles
this isn't a thing and I don't know why it's here
Chris Michael [Wed, 8 Jul 2015 19:41:23 +0000 (15:41 -0400)]
shot: Disable window shots in wayland for now
NB: Feature still being developed
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:22:08 +0000 (15:22 -0400)]
shot: Update with proper compositor checking tests
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:17:51 +0000 (15:17 -0400)]
remove old wl_screenshot module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:17:17 +0000 (15:17 -0400)]
remove wl_screenshot from configure.ac
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:12:44 +0000 (15:12 -0400)]
shot: Update shot module to now be able to take Wayland screenshots
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:07:49 +0000 (15:07 -0400)]
shot: Update shot makefile to include client screenshot protocol files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:06:09 +0000 (15:06 -0400)]
wl-drm: Add function to readback pixels for compositor screenshots
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:04:49 +0000 (15:04 -0400)]
e-comp-wl: Create compositor screenshooter global and add function to actually handle taking shots
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:03:16 +0000 (15:03 -0400)]
e-comp-wl: Add screenshooter structure to comp_wl_data and add additional fields we need in E_Comp_Wl_Output
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:02:59 +0000 (15:02 -0400)]
e-comp-wl: Add screenshooter files to build order
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 19:02:29 +0000 (15:02 -0400)]
shot: Add screenshooter client protocol files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 8 Jul 2015 18:59:52 +0000 (14:59 -0400)]
e-comp-wl: Add screenshooter protocol files
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Wed, 8 Jul 2015 18:53:55 +0000 (14:53 -0400)]
fix wayland-only build
Mike Blumenkrantz [Wed, 8 Jul 2015 18:49:33 +0000 (14:49 -0400)]
remove NEED_X define from build
this used to be a marker for places where x11 functionality was needed,
but this has been simplified with the removal of wayland-only in configure
and so it is no longer needed
Mike Blumenkrantz [Wed, 8 Jul 2015 18:48:19 +0000 (14:48 -0400)]
make e_client_util_.?win_get() fns return xwayland windows when available
fixes setting x11 hints in xwayland clients
Mike Blumenkrantz [Wed, 8 Jul 2015 18:47:24 +0000 (14:47 -0400)]
set xwayland clients in x11 compositor client hash using parent window on flip
Mike Blumenkrantz [Wed, 8 Jul 2015 18:46:12 +0000 (14:46 -0400)]
properly calculate client+frame sizes during wl surface commit
Mike Blumenkrantz [Wed, 8 Jul 2015 16:36:36 +0000 (12:36 -0400)]
account for race condition when creating initial comp object updates tiler
under wayland, some surfaces (eg. cursors) would attempt to show prior to
having acquired their actual size. these show attempts should be rejected
until the size has been set to ensure that rendering can proceed as expected
fix T2557
Mike Blumenkrantz [Tue, 7 Jul 2015 18:33:14 +0000 (14:33 -0400)]
feed mouse-in event to drm canvas on init
this is normally triggered by the engine/display server, but the drm
output is too powerful to be bothered by such trivial matters as
mouse events on startup
Mike Blumenkrantz [Tue, 7 Jul 2015 17:11:33 +0000 (13:11 -0400)]
block client signal binding activation when mouse action is active
this prevents oddities such as activating [window shade] and [resize] actions
simultaneously from breaking the compositor
Chris Michael [Mon, 6 Jul 2015 13:37:52 +0000 (09:37 -0400)]
shot: Fix formatting for 80 columns
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Mon, 6 Jul 2015 20:21:58 +0000 (16:21 -0400)]
set CRITICAL urgency for notification internal notifications
ensure that presentation/offline mode toggles will display a notify
Mike Blumenkrantz [Mon, 6 Jul 2015 19:46:02 +0000 (15:46 -0400)]
move grabinput focus fix timer to x11 compositor and fix it to Work Better
see inline comments about x11 focus eventing for details
fix T2547
Mike Blumenkrantz [Mon, 6 Jul 2015 18:29:30 +0000 (14:29 -0400)]
use ref macros to silence more printfs in e_remember
Mike Blumenkrantz [Mon, 6 Jul 2015 18:23:54 +0000 (14:23 -0400)]
use evas object callbacks for fwin mouse in/out, don't use ecore-x handlers in wayland
improve compatibility with wayland compositors
Mike Blumenkrantz [Mon, 6 Jul 2015 16:51:38 +0000 (12:51 -0400)]
silence printf noise in screensaver and pkgkit module
Mike Blumenkrantz [Mon, 6 Jul 2015 16:45:03 +0000 (12:45 -0400)]
make pager popups only trigger on urgency hint if client is not currently visible
the annoyance of having this popup constantly triggered while a window is visible
cannot be understated.
Mike Blumenkrantz [Mon, 6 Jul 2015 16:29:27 +0000 (12:29 -0400)]
make e_client_util_desk_visible() work for overrides without desks
Carsten Haitzler (Rasterman) [Sun, 5 Jul 2015 01:51:13 +0000 (10:51 +0900)]
e desktop file properties - fix icon sel tab to expand icon and icon name
this fixes this tab after e20 dev changes
Carsten Haitzler (Rasterman) [Sun, 5 Jul 2015 01:40:38 +0000 (10:40 +0900)]
e -> menu -> fix games menu to be flat like others and include steam
this improves the menu layout to be simpler and nicer by far. steam
games go from other to games menu.
Derek Foreman [Fri, 3 Jul 2015 15:55:40 +0000 (11:55 -0400)]
wizard: Prevent crash
Summary: If we get here when curpage is NULL, we'll crash later, so we should test for it.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2793
Derek Foreman [Thu, 2 Jul 2015 22:11:27 +0000 (18:11 -0400)]
wizard: Prevent crash
Summary: If we get here when curpage is NULL, we'll crash later, so we should test for it.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2789
Derek Foreman [Thu, 2 Jul 2015 21:54:40 +0000 (17:54 -0400)]
Init some vars to NULL in compositor create
Summary: In some cases these end up uninitialized and we crash.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2788
Mike Blumenkrantz [Thu, 2 Jul 2015 20:52:11 +0000 (16:52 -0400)]
set title/name/class on wl-x11 output canvas window
Mike Blumenkrantz [Thu, 2 Jul 2015 20:49:19 +0000 (16:49 -0400)]
only apply xwl client deletion to xwl clients in x11 compositor
Mike Blumenkrantz [Thu, 2 Jul 2015 20:49:06 +0000 (16:49 -0400)]
bump required efl version
Mike Blumenkrantz [Thu, 2 Jul 2015 18:58:10 +0000 (14:58 -0400)]
reorder xwayland client swap attribute setting
Mike Blumenkrantz [Thu, 2 Jul 2015 18:57:42 +0000 (14:57 -0400)]
unset x11 focus grabs on clients only if there is an xwindow present
fix T2539
Mike Blumenkrantz [Thu, 2 Jul 2015 18:57:01 +0000 (14:57 -0400)]
return NULL when a client's xwayland pixmap is unreachable
Mike Blumenkrantz [Thu, 2 Jul 2015 18:30:54 +0000 (14:30 -0400)]
block wl key events from reaching clients during client actions or key grabs
Mike Blumenkrantz [Thu, 2 Jul 2015 18:26:40 +0000 (14:26 -0400)]
pop an error dialog when trying to load xwayland module under x11
this is impossible and will never be possible; ecore-x can only manage
a single x11 connection at any time, and so it will never be possible to both
manage the x11 compositor canvas on one xserver and manage xwayland clients
on a separate server
invalidates T2537
Mike Blumenkrantz [Thu, 2 Jul 2015 18:26:28 +0000 (14:26 -0400)]
reject xwayland module from saved module loading
Mike Blumenkrantz [Thu, 2 Jul 2015 18:26:02 +0000 (14:26 -0400)]
set initial surface attrs for internal wl clients
Mike Blumenkrantz [Thu, 2 Jul 2015 17:55:42 +0000 (13:55 -0400)]
clean up xwayland lock/socket init code
Mike Blumenkrantz [Wed, 1 Jul 2015 21:42:26 +0000 (17:42 -0400)]
fix typo in conditional for setting x11 hints
Mike Blumenkrantz [Wed, 1 Jul 2015 21:12:16 +0000 (17:12 -0400)]
do not apply x11 focus grabs to internal elm clients
due to recent changes in ecore-input-evas, mouse events are propagated
differently; specifically, there are now "more" events than there previously were.
as a result, grabs on internal wins are no longer necessary, though they probably
never were necessary after the elm conversion
see
5cb6cdbc5e1a13ea0262e155983b494e6519abde in efl
Mike Blumenkrantz [Wed, 1 Jul 2015 21:01:54 +0000 (17:01 -0400)]
reject x11 replay clicks when event window != client window
Mike Blumenkrantz [Wed, 1 Jul 2015 20:47:57 +0000 (16:47 -0400)]
only ungrab x11 windows when appropriate focus options are set
Mike Blumenkrantz [Wed, 1 Jul 2015 20:44:09 +0000 (16:44 -0400)]
allow hint setting on x11 windows in xwayland
Mike Blumenkrantz [Wed, 1 Jul 2015 20:41:26 +0000 (16:41 -0400)]
replace comp_x usage of internal xwindow detection function with new util fn
Mike Blumenkrantz [Wed, 1 Jul 2015 20:40:10 +0000 (16:40 -0400)]
add client util function for determining if a backing xwindow exists
Mike Blumenkrantz [Wed, 1 Jul 2015 20:25:45 +0000 (16:25 -0400)]
replace some x11 compositor checks with calls to util function
Mike Blumenkrantz [Wed, 1 Jul 2015 20:08:21 +0000 (16:08 -0400)]
fix e_scale wayland conditional defines
Mike Blumenkrantz [Wed, 1 Jul 2015 20:05:25 +0000 (16:05 -0400)]
add util function for determining presence of x11 compositor
Mike Blumenkrantz [Wed, 1 Jul 2015 20:02:48 +0000 (16:02 -0400)]
print xwl loading debug after checking compositor type
Mike Blumenkrantz [Wed, 1 Jul 2015 19:51:46 +0000 (15:51 -0400)]
ensure x11 focus grabs are applied on client init when needed
Mike Blumenkrantz [Wed, 1 Jul 2015 19:32:25 +0000 (15:32 -0400)]
straggler ungrab of x11 parent window from previous commit
Mike Blumenkrantz [Wed, 1 Jul 2015 19:24:05 +0000 (15:24 -0400)]
redo all x11 client mouse grabbing for focus
I did an audit of this and it seemed that it no longer served the purpose
for which it was originally intended. specifically, this is for enforcing
click: raise/focus options, and so grabs must be in play on client windows
only when they are not focused to ensure that we get mouse events and can
then focus them. the grabs must then be removed once the window has focus
to avoid spurious mouse eventing
Chris Michael [Wed, 1 Jul 2015 18:50:28 +0000 (14:50 -0400)]
e-comp-wl: Update modifiers on key down/key up events
NB: Fixes Ctrl+D problem here.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 1 Jul 2015 17:25:20 +0000 (13:25 -0400)]
e-comp-wl-input: destroy xkb keyboard state Before destroying the keymap
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 1 Jul 2015 17:18:55 +0000 (13:18 -0400)]
e-comp-wl-input: Format for 80 columns
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 1 Jul 2015 16:43:05 +0000 (12:43 -0400)]
xwayland: Use proper E_API for exporting module symbols
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 1 Jul 2015 16:23:40 +0000 (12:23 -0400)]
correctly fix check for x11 compositor in e_xkb
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 1 Jul 2015 16:20:32 +0000 (12:20 -0400)]
correctly fix check for compositor in e_grabinput
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 1 Jul 2015 16:17:54 +0000 (12:17 -0400)]
e_grabinput: Don't call ecore_x functions if we are not an X compositor
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 1 Jul 2015 13:16:18 +0000 (09:16 -0400)]
Don't call ecore_x_xkb_select_group if the compositor is not X11
This fixes T2533 where the startup wizard would crash when run under
DRM due to the change in build options (xwayland support).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Tue, 30 Jun 2015 22:46:33 +0000 (18:46 -0400)]
use client window for x11 button ungrabbing
ref
afb62b498997ca038687c0cd0ca97aa361aaa1b7
Mike Blumenkrantz [Tue, 30 Jun 2015 22:38:36 +0000 (18:38 -0400)]
copy more attributes from x11 -> wl on xwayland client swap
xwayland sets a wrong size on some (eg. menus) clients and wayland
cannot provide geometry or stacking information, so ensure that all
of this is copied over
also remove overrides from focus stack
Mike Blumenkrantz [Tue, 30 Jun 2015 22:38:01 +0000 (18:38 -0400)]
clean up xwl data on client deletion
remove the extra comp_data, the pending client list entry, and the pixmap ref
Mike Blumenkrantz [Tue, 30 Jun 2015 22:37:21 +0000 (18:37 -0400)]
don't create first draw timers for input-only x11 clients
Mike Blumenkrantz [Tue, 30 Jun 2015 22:36:23 +0000 (18:36 -0400)]
don't attempt to change layer of override clients with parent set in x11
overrides will stack how they want, leave them alone
Mike Blumenkrantz [Tue, 30 Jun 2015 22:36:03 +0000 (18:36 -0400)]
add debug info when x11 client messages are missed
Mike Blumenkrantz [Tue, 30 Jun 2015 22:34:16 +0000 (18:34 -0400)]
temporarily toggle ignored flag during wl surface commit
ensures canvas operations succeed during commit in cases where
subsequent commits do not occur (eg. menus, popups, ...)
Mike Blumenkrantz [Tue, 30 Jun 2015 22:33:38 +0000 (18:33 -0400)]
fix typo in iterating pending xwl clients on wl surface creation
Mike Blumenkrantz [Tue, 30 Jun 2015 22:33:00 +0000 (18:33 -0400)]
free all ec->comp_data ptrs in _e_client_del
need this to live through multiple del hooks, so simplify all code by
freeing in one place
Mike Blumenkrantz [Tue, 30 Jun 2015 22:31:43 +0000 (18:31 -0400)]
only reject ec->ignored clients from wl mouse events
fixes input on overrides
Mike Blumenkrantz [Tue, 30 Jun 2015 20:03:51 +0000 (16:03 -0400)]
add special case for xwayland override clients in show event handler
Mike Blumenkrantz [Tue, 30 Jun 2015 20:03:37 +0000 (16:03 -0400)]
use separate client hashes for x11/wl clients
Chris Michael [Tue, 30 Jun 2015 19:58:10 +0000 (15:58 -0400)]
e-comp-wl: Release keys on key_up regardless if client has focus
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Tue, 30 Jun 2015 19:51:29 +0000 (15:51 -0400)]
fix compile from previous commit
I am not a smart man.
Mike Blumenkrantz [Tue, 30 Jun 2015 19:50:04 +0000 (15:50 -0400)]
disable uuid store
currently seems to fill logs with infinite error messages
ref T2532