Commit Graph

21865 Commits

Author SHA1 Message Date
Chris Michael 1087516f39 wl_fb: Check that e_comp_wl_init does not fail.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-08-17 07:31:37 -04:00
Chris Michael 3d94fefd57 remove need to create different dialog windows under wayland
NB: This hack is no longer needed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-08-17 07:31:37 -04:00
Chris Michael df40bef557 e ibar - fix "old man" fat finger typo ;)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-08-17 07:31:37 -04:00
Carsten Haitzler dc608ede51 e ibar - fix devilhorns fix to use the right widght and hight for separator 2016-08-17 07:31:37 -04:00
Chris Michael 15de3e6ac8 use proper variables to set size_hint_max on ibar
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-08-17 07:31:37 -04:00
Chris Michael a0f411a772 remove unused variables from _ibar_resize_handle
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-08-17 07:31:37 -04:00
Chidambar Zinnoury e66f0e5634 e fm: Don’t check every other line whether the location is writable when creating menu. 2016-08-17 07:31:37 -04:00
Chidambar Zinnoury 595e527a9a e fm: Add a separator only if there is something before.
Currently, the context menu will show a separator before the background and overlay items even if there is nothing before, such as on the favourites pane.

 @fix
2016-08-17 07:31:37 -04:00
Chidambar Zinnoury bef0bafda6 e: Don’t show two consecutive menu separators if there is no need in client menu.
This would happen if we don’t show some stacking settings.

 @fix
2016-08-17 07:31:37 -04:00
Derek Foreman 18cef43716 Fix wayland clients not deleting when they're hidden
We kept an extra reference for wayland clients and dropped it on their final
render to stop crashes.  However, if they're not on screen at the time of
their deletion this reference still needed to be dropped.

Fixes clients remaining on the deskmirror after dying on another desktop.
2016-08-17 07:31:37 -04:00
Carsten Haitzler 70c8fa7ae1 e temp module - kill tempget process not terminate to ensure death
it seems on openbsd sigterm doesnt kill things... sigkill does so move
to that. fixes T4121

@fix
2016-08-17 07:31:36 -04:00
Chris Michael 27917c26df Revert "e - fix major memory bloat when in gl mode - dont create shm segments"
This reverts commit ae6e09ec11.

This breaks resizing of windows inside Enlightenment. Evas_Engines
don't bind a pixmap permanently, they just bind during each render, so
on resize this caused a broken pixmap if we don't create a new one for
each size. This patch Would be correct IF engines worked differently
wrt x pixmap binding during render.
2016-07-26 10:51:44 -04:00
Carsten Haitzler a9d73c89ed e - fix major memory bloat when in gl mode - dont create shm segments
so e pixmap was ALWAYS creating an ecore_x_image EVERY time for EVERY
window. this means allocate all the sysv shared memory segments for
every window even if never used. this is bad. it litters systems
with unused shared memory segments (ipcs and see) and eats up shared
mem limits/quotas too. we just don't need them in gl unless a window
is shaped or texture from pixmap is off. so allocate the pixmap on
demand, and otherwise leave the ecore x image NULL. this fixes this
bloat.

@fix
2016-07-26 13:31:19 +09:00
Carsten Haitzler 6aa3de0425 e ibar/ibox port to elm box - fix assumption on resize
so... when ibar/ibox were ported to elm box they assumed elm box would
resize itself. this was wrong as it only should have set min size
hints. this has been fixed by 96fbea9daecf7040ac63203c4823722fa6d5d73f
and this addresses T3031. this requires we fix enlightenment too.

@fix
2016-07-25 19:21:25 +09:00
Carsten Haitzler bd3fb818ba e - fix dnd problems coming from getting top object in comp canvas
so getting top object was broken. it didnt account for repeat event
objects that would be included. so get the full l,ist and walk them
top to bottom for the first one thats a client. THAT is the correct
thing to do. this would affect both x11 and wayland.

@fix
2016-07-21 17:24:39 +09:00
Simon Lees 8d7358a66f
21.1 NEWS Updates 2016-07-20 11:09:13 +09:30
Simon Lees 477395859f
21.1 Release 2016-07-20 10:41:07 +09:30
Mike Blumenkrantz 4ca5f3f420 adjust xdg-shell window menu coords by client's coords
the coords passed in this method are relative to the window geometry
2016-07-19 14:19:09 -04:00
Chris Michael 858800389e add missing EINA_UNUSED for unused function params
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-19 14:19:09 -04:00
Mike Blumenkrantz e561a31fec set/unset smart parent as e_widget when adding sub-objects
in the case where there is no smart parent, this fixes the object tree
and resolves some stacking issues. if there is a parent or a parent is added
later, nothing is changed

fixes eg. screenshot preview visibility in wayland
2016-07-19 14:19:09 -04:00
Cedric Bail 22ebf5caaa filepreview: avoid race condition when destroying txt file preview with slow hard drive.
@fix T4119
2016-07-19 14:19:09 -04:00
Carsten Haitzler 8312f98f83 e ibar/ibox fix starrting/started signal emittion
i found this didn't emit signals correctly and multiple times when not
needed. this fixes that.

@fix
2016-07-18 15:52:33 +09:00
Al Poole 8377cf2d5d fwin: prevent segv when the vaarg abi messup with unused parameter.
Quite a hack overall, but if you don't need those parameter, just put
nothing and it will work.

@fix T4112

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-07-16 07:16:21 -04:00
Derek Foreman 4edf4476df Fix xdg_shell focus logic
Moves and resizes tripped up the new xdg focus logic, so test if the
focus is leaving the client entirely before trying to determine if it's
leaving into a parent surface.
2016-07-15 10:08:17 -04:00
Derek Foreman 8760579e25 Make sure the same keyboard resource doesn't end up on the focus list twice
This stops recent xdg_popup focus tracking changes from causing multiple
key events to be sent to the focused client.
2016-07-15 10:08:12 -04:00
Marcel Hollerbach 93808761d3 e_comp_data: NULL out source once it is freed
Otherwise the pointer is removed when the next drag starts, so this
makes debugging dnd problems easier.
2016-07-15 10:07:57 -04:00
Mike Blumenkrantz 5726fc6f88 set unmax flag for xdg shell unmaximize
ref b5576dbb8c
2016-07-15 10:07:50 -04:00
Mike Blumenkrantz 08c98213cf match wl_wl output sizing in wl_x11 when running in an existing wm session
global sizing policy++
2016-07-15 10:07:45 -04:00
Mike Blumenkrantz c948541460 set x11 randr iface for wl_x11 based on wm presence, not composited state
fixes usage in non-composited x11 environments (eg. openbox)
2016-07-15 10:07:38 -04:00
Mike Blumenkrantz 9487da476b handle e_comp_x init failure more effectively and perform cleanups
fixes autodetection for x11 wayland output without setting E_WL_FORCE
2016-07-15 10:07:29 -04:00
Derek Foreman 38227ba536 Properly send kbd focus to xdg_shell popups
Oops, a client can have multiple top level windows.

ref f391a0fb67
2016-07-15 10:07:04 -04:00
Chidambar Zinnoury 3b2d9a74c2 e desks config: Bring some flip settings back.
These were inadvertently removed by e1369a24bd.

 @fix
2016-07-15 10:06:56 -04:00
Mariusz Bialonczyk 71da3a7832 modules/temperature: cosmetics: typo fix (celcius -> celsius)
Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4129
2016-07-15 10:06:52 -04:00
Mike Blumenkrantz c7cfde260b 0.21.0 NEWS updates 2016-06-30 11:56:48 -04:00
Mike Blumenkrantz ce27dd0ffd merge E20.X NEWS items 2016-06-30 11:52:17 -04:00
Mike Blumenkrantz 6a58004f61 21.0 release 2016-06-30 11:47:35 -04:00
Derek Foreman f391a0fb67 Fix xdg_shell keyboard enter/leave events
On xdg_shell we should only ever send enter/leave to top level surfaces
or GTK becomes sad.
2016-06-29 16:23:41 -05:00
Derek Foreman ada8e2deac Don't send keyboard leaves to unmapped wayland surfaces
There are actually toolkits that create surfaces, do nothing with them,
and destroy them.  Sending keyboard leave events for this causes problems.

Fixes a bug in handling of some GTK popups.
2016-06-29 16:21:49 -05:00
Derek Foreman 1f44a593c2 Track whether a surface is an xdg one 2016-06-29 16:19:20 -05:00
Derek Foreman 7b470c402e Set up attributes properly for wl_shell transient windows
This fixes Qt sub-windows.
2016-06-29 13:20:45 -05:00
Derek Foreman 27e9845abd Only unignore a client on the first commit with a buffer
Otherwise, if a wayland client does its first commit without a buffer
attached it will confuse our focus logic.
2016-06-29 13:20:37 -05:00
Mike Blumenkrantz 033217c8e1 destroy evry's focus-out timer if focus-in occurs before timer triggers
fixes dismissal during comp input regrabs
2016-06-29 10:02:47 -04:00
Derek Foreman 124e59df6f Add a pixel get callback for mirrors
Mirrors can be rendered independently of what they're mirroring,
which (at least under wayland) can result in a situation where the
mirror is rendered before the parent sets up their image pointers
properly.

We give mirrors their own callback to prevent that from causing a
crash.
2016-06-28 15:44:00 -05:00
Derek Foreman a04ee8e253 Revert "Always clear the mirror image data pointer"
This reverts commit 326d638ba2.

This, for some reason, resulted in client surfaces being blacked out,
despite only ever changing mirror surfaces.
2016-06-28 15:43:54 -05:00
Derek Foreman ab5879b926 Fix wayland pixmap ids again
Wayland pixmap ids are a different data type for internal and
external windows.  cast them both to 64-bits so they're the same
size regardless of arch.

ref d3ba524a62
2016-06-28 15:43:45 -05:00
Marcel Hollerbach 4f0e3bce84 emix: update sink of sink_input when changed
this fixes none changing sinks in the app.
2016-06-25 17:12:35 +02:00
Marcel Hollerbach afeb588632 e_comp: silence warning, this time really
as said on the ML
2016-06-25 16:00:30 +02:00
Marcel Hollerbach a80bc13336 e_comp: silence warning
after talking to zmike, this is by intend.
2016-06-25 15:29:45 +02:00
Marcel Hollerbach 9c8b6a1c5d e_xkb: eval group before setted to wl
otherwise we are going to set 0 as default group.

This commit refactors out _eval_cur_group from the init timer, since wl
does not need a init timer.
2016-06-25 15:01:44 +02:00
Marcel Hollerbach 4bc61cfbd3 music-player: add spotify 2016-06-25 01:11:57 +02:00