Commit Graph

21207 Commits

Author SHA1 Message Date
Simon Lees 538b33be0c 20.8 release 2016-05-16 19:54:28 -04:00
Mike Blumenkrantz eedbfb4f5f more tweaks for manual window placement in client eval 2016-05-13 11:39:07 -04:00
Mike Blumenkrantz 479ed14872 prevent double emission of E_EVENT_CLIENT_SHOW 2016-05-13 11:39:05 -04:00
Mike Blumenkrantz 9005332468 ensure that client eval correctly handles retries on visibility-pending clients
ref 2854352bc8
fix T3636
2016-05-13 11:25:06 -04:00
Mike Blumenkrantz 57f7f4f5e0 force cursor placement to obey useful zone geometry 2016-05-12 12:43:53 -04:00
Mike Blumenkrantz 00e427b126 adjust some client eval parts to make manual placement work again
activating the window_move action doesn't require the client to successfully
be shown, and failing this check would cause the window_move action to be
deleted until the next restart
2016-05-12 12:43:49 -04:00
Mike Blumenkrantz 90f0740d27 use parent windows for x11 binding grabs
ensure that internal windows do not receive mouse events before the compositor

fix T3347
2016-05-12 12:43:45 -04:00
Mike Blumenkrantz e4f3e73d7d only check pixmap argb state for non-X11 clients
non-argb windows can have argb pixmaps.

ref 6d397e313b
2016-05-12 12:43:40 -04:00
Mike Blumenkrantz 30f3a75366 avoid infinitely looping when applying x11 window grouping
#ThatTimeKainXFoundABug
2016-05-12 12:43:36 -04:00
Mike Blumenkrantz 93a2233f28 use window id for internal window pixmaps again on wayland
this was breaking internal windows when more than one was open, and
especially if any were open which had a parent-child relationship, by
using the same id for all internal window pixmaps
2016-05-12 12:43:32 -04:00
Mike Blumenkrantz 1629ea5c63 set E_Client->override flag for internal wins as needed 2016-05-12 12:43:28 -04:00
Mike Blumenkrantz 68f4a7b75e remove some cruft from _e_comp_wl_client_cb_new() 2016-05-12 12:43:21 -04:00
Mike Blumenkrantz d54f51af57 ensure int64_t is used in all cases for wl pixmap ids 2016-05-12 12:43:18 -04:00
Mike Blumenkrantz 877a1c46f4 enforce setting alpha on comp objects only after image data has been set
setting alpha can trigger a render sync, crashing if the old data is no
longer valid
2016-05-12 12:43:13 -04:00
Mike Blumenkrantz 3de65edc23 also check pixmap argb state when setting comp object alpha
more accurate for wayland
2016-05-12 12:43:04 -04:00
Mike Blumenkrantz c5f8eeeed9 fix usage of e_object_unref in xkbswitch when managing new kbd dialog
probably harmless?
2016-05-12 12:43:00 -04:00
Mike Blumenkrantz 0d20333eb3 toggle compositor canvas focus during init
this sets the toplevel focus flag in elm, allowing widgets on the compositor
canvas to receive focus in wayland compositors
2016-05-12 12:42:54 -04:00
Mike Blumenkrantz 5ea743800c change efm icon entry to only toggle focus in x11 compositors (runtime) 2016-05-12 12:42:49 -04:00
Mike Blumenkrantz 2ddd4d9bda handle positioning of x11 overrides with csd accurately
when first applying the csd region to this type of window the coords must
be adjusted in order to account for the shadow

fix T2934, T2931
2016-05-12 12:42:43 -04:00
Mike Blumenkrantz c5c115c530 only load wayland-specific modules on startup if they have been built 2016-05-12 12:42:39 -04:00
Mike Blumenkrantz 961d3177da block keyboard sending for wl clients if a compositor grab is active
fix T3599
2016-05-12 12:42:35 -04:00
Mike Blumenkrantz eee1ee8fb0 disable focus effects for windows with csd
fix T3408
2016-05-12 12:42:29 -04:00
Mike Blumenkrantz 5cd256da78 ensure child windows are placed on screen
when centering a child over its parent, checks were not made to ensure that
by centering the child it had not gone offscreen
2016-05-12 12:42:21 -04:00
Mike Blumenkrantz 729de96672 do not add ignored clients to ibar menu
fix T3603
2016-05-12 12:42:12 -04:00
Mike Blumenkrantz a0d6b35ae1 update README.wayland to include dbus-launch 2016-05-12 12:42:06 -04:00
Mike Blumenkrantz c86c239d72 make init fail if a dbus session connection cannot be created
typically this indicates a broken session manager or someone trying to run
a wayland session without using dbus-launch
2016-05-12 12:42:00 -04:00
Mike Blumenkrantz b1e4f3d1da flag wl surfaces as internal during create() based on pid matching
fix T3596
2016-05-12 12:41:40 -04:00
Mike Blumenkrantz de03be5131 ensure xwayland module init does not fail due to early startup
comp_type may not be set at the time of init
2016-05-12 12:36:38 -04:00
Mike Blumenkrantz aef99290d0 unset DISPLAY during mixer's pulse backend startup
fixes more xwayland deadlocks
2016-05-12 12:36:31 -04:00
Mike Blumenkrantz a4a6ac0537 clean up mixer includes
config.h needs to be included. always.
2016-05-12 12:36:26 -04:00
Mike Blumenkrantz a259de324e add configure flag for xwayland binary 2016-05-12 12:36:21 -04:00
Mike Blumenkrantz 44526e6ae1 bad copy/paste in _e_place_desk_region_smart_obstacle_add()
CID 1354988
2016-05-12 12:36:14 -04:00
Mike Blumenkrantz f49979bb72 evry null deref
CID 1355061
2016-05-12 12:34:41 -04:00
Chris Michael ed349d4751 disable option for mouse to use Application theme if we are running in Wayland
Small patch to disable selecting Application themed mouse pointers
when running in wayland as this option is currently broken when
running in wayland (gives no mouse cursor at all)

e_pointer calls _e_pointer_x11_setup (from _e_pointer_type_set) which
only sets the cursor via ecore_x_cursor_shape_get calls...

essentially you end up with no mouse cursor because e_pointer is
missing codepaths to lookup system mouse cursor images when running in
wayland.

ref T3585

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-12 12:34:37 -04:00
Mike Blumenkrantz 16f6ef4d9c don't revert focus to desktop fileman during compositor grab
grabs indicate an action is already occurring and focus shouldn't be altered
2016-05-12 12:34:31 -04:00
Mike Blumenkrantz 37aa6a191c hide evry on focus-out
handles case where focus is lost due to compositor grab
2016-05-12 12:34:26 -04:00
Mike Blumenkrantz d21b44b019 ensure lifetime for wl client focus timer
fixes some focus-out crashing
2016-05-12 12:34:22 -04:00
Mike Blumenkrantz 1faf199f45 don't refocus deleted clients during wl compositor grab 2016-05-12 12:34:17 -04:00
Mike Blumenkrantz 5b2cb3ddc7 further optimize window smart placement by reducing obstacle calcs
previously the obstacle list would build from the bottom up, skipping
fullscreen and maximized windows. this would lead to cases where windows
would be moved to avoid windows which were fully obscured, and also cases
where unnecessarily large amounts of looping would occur related to the
existence of maximized windows
2016-05-12 12:34:14 -04:00
Mike Blumenkrantz d525ba8589 directly load extra wl modules during compositor init
speed++++++++
2016-05-12 12:34:09 -04:00
Mike Blumenkrantz a0d5d4b839 ensure that the startup apps cache handler has run before trying to start apps
fixes timing issues when running startup apps
2016-05-12 12:34:05 -04:00
Mike Blumenkrantz dc0ec2339e feed mouse up events to internal wins before mouse out during action exec
ref 609276e12d

fix T3347
2016-05-12 12:34:00 -04:00
Mike Blumenkrantz 12a1894dad Revert "handle recursion more effectively in e_menu_hide_all()"
This reverts commit 5764bf680e.

this was a workaround for a behavior change in efl
2016-05-12 12:33:44 -04:00
Mike Blumenkrantz f7b7a92c5e 20.7 NEWS updates 2016-04-26 10:57:49 -04:00
Mike Blumenkrantz 94b18bec23 20.7 release 2016-04-26 10:57:00 -04:00
Mike Blumenkrantz 75d967cba3 handle recursion more effectively in e_menu_hide_all()
there were recent changes to evas object deletion mechanics which caused
this to begin crashing due to recent changes to evas object deletion mechanics
2016-04-26 10:57:00 -04:00
Mike Blumenkrantz c7a2c55805 distribute all weekeyboard edj files
fixes a build failure in packaging
2016-04-26 10:57:00 -04:00
Mike Blumenkrantz 4750aa6d77 move wayland surface E_Client del check to a place where it's more useful
completely breaks wayland on first commit? off to an auspicious start!

ref d9679f765f
2016-04-26 10:57:00 -04:00
Derek Foreman 5d1dfdf33e wayland: Fix crash when attempting to create surfaces for deleted clients
Internal clients can be deleted by keybind before the surface create
callback fires resulting in a NULL pointer dereference.
2016-04-26 10:57:00 -04:00
Mike Blumenkrantz 4c311d301e protect xdg-shell functions from accessing deleted client data
this is mostly an issue for internal windows since they get deleted by
the compositor before the client is aware
2016-04-26 10:57:00 -04:00