Commit Graph

21777 Commits

Author SHA1 Message Date
Mike Blumenkrantz 28160ad450 set wl pointer surfaces to E_LAYER_CLIENT_PRIO during setup
these later get overridden onto the pointer layer, but setting a layer
here ensures that the pointer surface will always be the client
returned by e_client_top_get()
2016-12-07 11:17:09 -05:00
Mike Blumenkrantz 8d7cb8201e do not pop pointer types on client hide events if the client is pass_events
these clients cannot receive events and thus have no pointer to pop
2016-12-07 11:17:03 -05:00
Chris Michael 1942f89bf4 remove unused variables in e_comp_wl
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-07 11:16:26 -05:00
Derek Foreman e1120051d0 Stop sending key up/down events on focus change under wayland
We shouldn't be doing this, but there's a collective memory that
this was put in place to fix stuck modifier bugs.

If we run into stuck modifiers again because of this patch, then we
should be fixing them in a different way.

If anyone bisects to this point, I apologize - assign me a ticket.
2016-12-07 11:15:30 -05:00
Carsten Haitzler 6cd108513b e_util_defer_object_del - ensure order of deferred deletions are right
so since e_util_defer_object_del used a before idler this would
reverse deletion order vs the order submitted. this may cause issues.
not sure. chasing netstar's "animator stops" issue, but if defered
deletion if disabled seems to stop it from happening.

at least fix order if multiple deferred deletions are queued

@fix
2016-12-07 11:15:13 -05:00
Derek Foreman 51b25ecad4 More aggressively prune keyboard focus list
Even if a client is deleted we still need to get its resources off the
keyboard focus list.
2016-12-07 11:15:06 -05:00
Derek Foreman ea3afd11c1 Fix crash when exiting an xdg shell application
The focus in timer has been firing for deleted clients, this causes a
NULL pointer dereference.

Then again, maybe the timer should've been disabled by now...
2016-12-07 11:14:48 -05:00
Derek Foreman e2eec45e3b Fix keyboard tracking when leaving an xdg shell window
_parent_client_contains_pointer() shouldn't return true if there is no
parent client.  This could result in leaving stale resources in the
keyboard focus list and crash the compositor.
2016-12-07 11:14:34 -05:00
Mike Blumenkrantz a61f64f150 use more accurate determination for applying xdg-shell (un)maximize operations
fixes maximizing again
2016-12-07 11:13:11 -05:00
Mike Blumenkrantz 0eb453f39c stack subsurfaces above their parents upon creation
handles the case where no explicit stacking is set on the subsurface
2016-12-07 11:10:33 -05:00
Mike Blumenkrantz 7b7ba99c4d handle xdg-shell maximize/unmaximize calls correctly 2016-12-07 11:10:16 -05:00
Simon Lees 43b9258376
21.4 NEWS Updates 2016-11-29 11:39:15 +10:30
Simon Lees 39e6605bf1
21.4 Release 2016-11-29 11:29:54 +10:30
Al Poole 617ef1887e Add temperature support for DragonFly BSD.
Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4432
2016-11-28 10:59:50 -05:00
Romain Naour 157ab70673 E: fix Wayland without xwayland build
When building enlightement without xwayland, we need to provide
MESA_EGL_NO_X11_HEADERS in the CFLAGS to avoid including X11/Xlib.h.

This define is provided by WAYLAND_EGL_CFLAGS, so add it for E modules
and e_fm build.

Fixes:
In file included from /usr/include/EGL/egl.h:39:0,
                 from ./src/bin/e.h:108,
                 from src/modules/mixer/lib/backends/pulseaudio/pulse.c:1:
/usr/include/EGL/eglplatform.h:119:22: erreur fatale : X11/Xlib.h

Signed-off-by: Romain Naour <romain.naour@gmail.com>
2016-11-28 10:59:49 -05:00
Mike Blumenkrantz 1e85ec4174 prevent divide by zero when calculating gadget aspect sizing 2016-11-28 10:59:48 -05:00
Mike Blumenkrantz e6efe45227 revise internal window session recovery blocking to compile with older efl
this is an important fix which should be active where available

ref 9673df56ee
2016-11-28 10:59:01 -05:00
Mike Blumenkrantz 37eb433a41 make fake mouse-out upon focus-out conditional on pending pointer warp
in the case where warping would not occur and a mouse-based focus policy was
not in use, this would break mouse eventing on wayland when a window lost focus
but the cursor remained inside the window

ref 3e6d6b348f
2016-11-22 11:33:50 -05:00
Mike Blumenkrantz 7c38e4edb4 clarify some wl surface checks to require elm wins
these should not apply to role-less surfaces
2016-11-22 11:33:40 -05:00
Mike Blumenkrantz a95d5ebd40 require an elm win to apply auto-visibility for internal wins in wl surface commit
other internal surfaces could be things like cursors, and these should not be made visible
before setting a role
2016-11-22 11:33:08 -05:00
Mike Blumenkrantz b4a3dc1f88 make confirm dialogs autoselect the confirm option
esc is already used for cancel, having an easier confirm makes sense (tm)
2016-11-18 11:46:37 -05:00
Mike Blumenkrantz 084aeebaa7 reject non-printable characters from lokker entry
previously characters such as tab would be injected into the entry when pressed.
this is the same check which is used in various other places in efl for string
validation
2016-11-18 11:46:35 -05:00
Mike Blumenkrantz 2c7e448fb2 disable bindings during desklock
hopefully nobody noticed this before now...
2016-11-18 11:46:32 -05:00
Chris Michael bd66d3e1bb fix missing definition of DRM_FORMAT_XRGB8888
As we do not compile-time link with libdrm inside Ecore_Drm2 anymore,
we need to include relivant bits of drm_fourcc header here in order to
define DRM_FORMAT_XRGB8888 else we fail to compile Enlightenment Wayland

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-18 11:46:27 -05:00
Carsten Haitzler 117e30310d wizard - do not set scale to 1.2 forcibly. use dpi as the def prof says
the default profiel is configureed to use dpi to scale. if dpi goes up
so does wizard scaling. setitng to 1.2 forcibly is just wrong. imagine
a uhd screen thats 13" or imagine an 8k display... at least if dpi can
be read correctly things work out find. think the base dpi of 90 is
too high - then adjust that in profile... but not in wizard code.

this has been here a while and i always thought this scaling bumping
was a dpi effect. it wasnt. it was hardcoded. bad bad.

@fix.
2016-11-18 11:46:23 -05:00
Mike Blumenkrantz c4339eb273 focus confirmation option in efm delete dialog
fix T4797
2016-11-18 11:46:19 -05:00
Mike Blumenkrantz 1c27386047 only unset cur_mouse_action on client menu delete for the right action
ref 50198ecdde

this still needs improving....
2016-11-18 11:46:14 -05:00
Mike Blumenkrantz 25ae14416c send orientation signal to bryce scroller theme 2016-11-18 11:46:05 -05:00
Mike Blumenkrantz d0419e937c unset cur_mouse_action upon deleting client menu
fix T4522
2016-11-18 11:46:01 -05:00
Mike Blumenkrantz bc5023326e keep bryce starting size unscaled 2016-11-18 11:45:54 -05:00
Mike Blumenkrantz 1acfb78e9b handle e_scale correctly in bryces 2016-11-18 11:45:52 -05:00
Mike Blumenkrantz a0fc71752d unalias internal wl client pixmaps in elm win hide trap callback
this seems to be the best place to remove the alias since it is initially
added in the corresponding show callback
2016-11-18 11:45:40 -05:00
Mike Blumenkrantz 638c3dfbe1 always free wl pixmap buffer list on non-cache image clear
this is only used when the pixmap is freed, after which point accessing
the list guarantees a crash
2016-11-18 11:45:37 -05:00
Mike Blumenkrantz 2108bee616 remove wl client pixmap aliasing on del
not sure why I added this but it was wrong
2016-11-18 11:45:35 -05:00
Mike Blumenkrantz e11aa970d3 unset wl client surface pointer on surface destroy
leaving this around after this point is dangerous and has a high probability
of crashing
2016-11-18 11:45:31 -05:00
Mike Blumenkrantz 8155b456fe reset initial internal wl client states when hiding (but not deleting)
ensure that these windows are not able to be shown again until commits occur
2016-11-18 11:45:24 -05:00
Mike Blumenkrantz 9b17e1079d break out repeated code from _e_place_desk_region_smart_area_calc() into separate function
no functional changes
2016-11-18 11:44:44 -05:00
Mike Blumenkrantz 5972d0369a break out e_place_desk_region_smart() area calcs into separate function
no functional changes
2016-11-18 11:44:41 -05:00
Mike Blumenkrantz 99a9312b52 clamp e_place calcs to zone geometry
fixes some cases where windows would place wrong due to placement code
checking offscreen coords
2016-11-18 11:44:39 -05:00
Mike Blumenkrantz 4c5528a018 use only zone coords when moving bryce to its zone during editing
prevent coords from accidentally resulting in offscreen placement

fix T4826
2016-11-18 11:44:25 -05:00
Mike Blumenkrantz efd0136d22 force bryce repositioning onto target zone during startup
ensure that subsequent operations do not accidentally the bryce's zone

fix T4784
2016-11-18 11:44:21 -05:00
maxerba ffc2706b49 Updating italian translation 2016-11-18 11:43:45 -05:00
Derek Foreman f3282a3748 Stop passing dimensions to _e_comp_wl_surface_state_init
The dimensions we passed were frequently wrong anyway, so let's stop
doing that.
2016-11-18 11:43:36 -05:00
Derek Foreman f856b20db5 Fix wayland opaque regions
Similar set of changes to the recent input region changes.  They may not
have been quite so broken to begin with, but it's probably less confusing
to treat both types of region the same way.
2016-11-18 11:43:31 -05:00
Derek Foreman d95e3a77e8 Fix massive wayland input region brokenness
It was impossible to set an empty input region.

Input regions were being clipped to the size of whatever buffer was
previously attached when they should really be clipped at commit
time to whatever buffer was attached in the commit.

The intersection operation created round off errors and
e_comp_object_input_area_set is clipping anyway, so we can simplify this
and retain precision.
2016-11-18 11:43:29 -05:00
Derek Foreman 805eb55628 Increase area of tilers for regions
We don't have any idea at this point what the region will be used for,
and tilers clip to their area on ingress.  If we're going to use tilers
for wayland regions we need to make them huge and clip them later.
2016-11-18 11:43:21 -05:00
Mike Blumenkrantz b858cf7b73 move bryces to E_LAYER_DESKTOP_TOP when not above windows
moderately sure this won't conflict with anything important...

fix T4819
2016-11-18 11:43:10 -05:00
Mike Blumenkrantz 0bf3a3d365 add special case for returning pixmap argb of unusable wl cursor pixmaps
this is usually called before the surface commits, so ensure that the
most likely case is returned as the default until the commit occurs

fixes black rect flickerings around the cursor
2016-11-18 11:43:06 -05:00
Mike Blumenkrantz 249cbe1d46 add more parens for previous pixmap commit 2016-11-18 11:43:00 -05:00
Mike Blumenkrantz 070eb16a17 avoid crash when calling e_pixmap_image_exists on wl pixmaps without buffers 2016-11-18 11:42:56 -05:00