Commit Graph

22066 Commits

Author SHA1 Message Date
Mike Blumenkrantz 96c3bd7c96 try only 1 reconnect to pulse when mixer fails to init
this causes huge lag on failure with no termination case. if it fails
on the reconnect attempt then odds are it's never going to succeed
2017-06-30 15:22:38 -04:00
Derek Foreman d6826b1c20 Initialize the Evas_Native_Surface to 0 for dmabuf tests
ref e6f17dee5d

Should probably clear this one too, though the recent native surface api
changes won't cause any breakage here, future ones might.
2017-06-30 15:22:29 -04:00
Derek Foreman 75b2cdfd65 Clear the native surface structure before initializing it
Since the native surface "API" is isomorphic with pain and suffering, we
should be extra careful when we touch it.
2017-06-30 15:22:07 -04:00
Mike Blumenkrantz 63caec26eb reject client mouse move if coords match previous position
ensure that random event feeds don't accidentally trigger unwanted
move/resize attempts which can break the compositor
2017-06-16 15:06:12 -04:00
Mike Blumenkrantz ef891ae105 use fake xinerama screens when initializing wl outputs
always ignore physical screens if fake ones are present
2017-06-16 15:05:22 -04:00
Mike Blumenkrantz 56437be3a0 hook client object unref callback to cleanup comp object internals
ensure cleanup occurs before client object is freed
2017-06-16 15:05:12 -04:00
Mike Blumenkrantz 8e9b530582 don't null pointer after deleting internal win during wl delete request
this is invalid during a logout
2017-06-16 15:05:05 -04:00
Mike Blumenkrantz de3bb9e7cf only remove left/right maximize when removing vertical if left/right is set
avoid accidentally removing horizontal maximizes
2017-06-16 15:04:55 -04:00
Mike Blumenkrantz 17d9379ba1 do not trigger events/bindings on zone object events with timestamp==0
these are internal event feeds and should not trigger additional actions
2017-06-09 20:28:00 -04:00
Mike Blumenkrantz 2393e6aeed delete client raise timer when beginning a move/resize operation
this breaks things in subtle ways
2017-06-09 20:27:51 -04:00
Mike Blumenkrantz ba9c8ab2c1 perform client raise before triggering move/resize BEGIN client hook
hooks may further modify stacking, so ensure any changes are done before
that point
2017-06-09 20:27:44 -04:00
Mike Blumenkrantz f97b157bca another fix for e_comp_wl->ptr.x/y coords being wl_fixed instead of ints
ref 2c7e91d38f
2017-06-09 20:26:06 -04:00
Derek Foreman f006caaee7 clean up some code
remove write-only variable in the pixmap struct
2017-06-09 20:25:47 -04:00
Derek Foreman 7396c05b52 Fix unused var compiler warning in wl_drm
Unused variable after my session activation cleanup
2017-06-09 20:25:40 -04:00
Derek Foreman 4088e035c6 Remove some duplicate operations
the native surface version was set outside of the switch statement,
so we don't need to re-set it to the same thing here.
2017-06-09 20:25:18 -04:00
Mike Blumenkrantz f41e5a9050 use FOREACH_SAFE when walking client list during logout
internal clients can be instantly destroyed and removed from the list
2017-06-09 20:25:11 -04:00
Derek Foreman db46a8557c Fix wl_drm session (de)activation callback
I missed this in my last commit - we probably shouldn't be calling
e_comp_render_queue or e_comp_shape_queue_block() after hiding the
ecore_evas anyway - and by removing the e_comp_shape_queue_block()
in the activation callback I made things asymmetrical.  Ungood.
2017-06-09 20:25:05 -04:00
Derek Foreman b8b5cb6d77 Fix wl_drm session activation callback
The code intended to force evas to redraw when we switch back from
another virtual console is failing to do so.  Remove it and replace
it with simpler code that successfully forces a redraw.
2017-06-09 20:25:04 -04:00
Derek Foreman f76fb2d558 Don't require dmabuf buffers to be writeable
Compositor doesn't need to write to this buffer, and most clients won't
allocate them in a way that the compositor can.  Relax the test criteria.
2017-06-09 20:24:53 -04:00
Mike Blumenkrantz 3593fe3856 do not perform zone updates on ignored clients during evas callbacks
ignored clients should not have a zone or a desk
2017-06-09 20:24:28 -04:00
Mike Blumenkrantz ecc5d49b9a force client pixmap refresh immediately during resize if nocomp is active
in the case where this path was reached during x11 nocomp, the client's pixmap
refresh would be deferred until the end of nocomp, even when the refresh would
otherwise end the nocomp. instead, force the refresh immediately.

fix T4887
2017-06-09 20:24:21 -04:00
Mike Blumenkrantz d4849f792f add error messages when symbols fail to resolve in xwl init
ref T5258
2017-06-09 20:24:11 -04:00
Mike Blumenkrantz 54a062b7bf don't dup fds during xwl bridged selection transfer, this happens in libwayland 2017-06-09 20:23:22 -04:00
Mike Blumenkrantz d0b6ff11fa unset wl selection target client if that client is deleted
the frame deletion callback would trigger far too late, allowing
crashes to occur if the selection target client exited between the
time of the drop event and the selection send event
2017-06-09 20:23:17 -04:00
Mike Blumenkrantz 43157cb1f5 unset wl button mask when beginning a move/resize operation
ensure that clients do not receive a release event for any pressed
buttons
2017-06-09 20:23:12 -04:00
Mike Blumenkrantz cf9605ffca check efm path existence before using it during dnd selections
CID 1374484
2017-06-09 20:23:03 -04:00
Simon Lees 317a566df9
21.8 NEWS Updates 2017-05-18 10:07:30 +09:30
Simon Lees c430bbf9ca
21.8 Release 2017-05-18 10:06:39 +09:30
Simon Lees 35c0c3ed19
Update .po files 2017-05-18 09:55:49 +09:30
Carsten Haitzler a0322f4b00 further fixes to screensaver/banking with window states like fullscreen
this is a further fix for T5464 to actually make the intended option
work at all. what was there was broken. now it works. init order was
wrong - screensaver was relying on event id's from e_client socde that
were not initted yet AND the handlers didnt account for "dont blank
when fullscreen window is there" at all. @fix
2017-05-08 06:54:02 -04:00
Carsten Haitzler 5730203d60 fix fullscreen no blank logic in e's dpms code
while this is still the wrong place and has other bugs, this fixes
T5464 ... but different things to fix now. @fix
2017-05-08 06:53:25 -04:00
Mike Blumenkrantz 0d7abc11b8 do not show iconic x11 clients on on icccm hint change
this is supposed to handle the case of state changing from withdrawn
to normal, but attempting to show an iconic client in this case results
in dead windows on screen

fix T5444
2017-05-05 10:37:03 -04:00
Mike Blumenkrantz 7439b6ed9d better handling for iconify during comp object show/hide
in the case where effects are disabled, no animation is started for iconify
operations, so this should fall through to the normal hide/show paths

ref T5444
2017-05-05 10:37:02 -04:00
Mike Blumenkrantz 8b9ef06ef1 check image load error when checking dmabuf viability in gl
ref T5418
2017-04-28 15:41:57 -04:00
Mike Blumenkrantz e83aea9106 set initial x11 window geometry for windows which do not have wm hints
fixes case where a non-override window has no hints and must be shown on
startup
2017-04-28 15:41:57 -04:00
Mike Blumenkrantz d832fb5b30 avoid refocusing deleted wl clients during comp input ungrabbing
this is an error
2017-04-28 15:41:57 -04:00
Mike Blumenkrantz 10537060fd explicitly set nested wl output canvas as a toplevel window
this is not an elm win so it needs to be set by the module
2017-04-28 15:41:57 -04:00
Mike Blumenkrantz 519bdd9c6c make SHAPE_DEBUG activate with E_SHAPE_DEBUG env var
this is useful for debugging and the option to recompile is not always
available
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 1d14c6b283 make RENDER_DEBUG activate with E_RENDER_DEBUG env var
this is useful for debugging and the option to recompile is not always
available
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 905607dbc1 set pass events on efm icons when deleting files
ensure that if a delete op is executing the icon cannot be clicked

probably fix T5340
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 9e303d329e re-set list of default desklock bgs when changing to custom bg in config
this list of bgs gets freed a lot, including in this case, which results in
the apply() function failing later after the bg has been changed

fix T5288
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 822879c1a1 remove uuid references from e_pixmap.c
I don't know what these are for?
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz a7f20c7929 add cache for dead x11 manager windows
in the case where an app unmaps and maps its window very quickly, this
allows detection of the maprequest event which will occur with the just-deleted
manager window so that the window can be correctly managed again

fix T5348
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz d25c5d31c9 support clients as positioner objects in e_comp_object_util_center_on() 2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 63be7d3b3f do not arbitrarily center "lost" child windows, center them on the parent
if the parent is also lost, it will eventually be rescued and thus all children
will also be saved

 #WeirdCommitLogs
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 34e6f6ab79 add a client's children to the skiplist during place routine
these should be ignored since they will be positioned relative to the parent
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz e298d4341d re-set backlight level when resuming from suspend
on some hw/systems, suspend sets brightness to maximum
2017-04-28 15:41:56 -04:00
Carsten Haitzler c23d0c578a e randr2 - fix freeing of stringshare by making it a stringshare
cs->id was strduped but freed as a stringshare... so actually add it
as a stringshare.
2017-04-28 15:41:56 -04:00
Al Poole b7813d381f Add user to AUTHORS.
Summary:
Have been on phab > 1 1/4 yr and active since last March, with patches.

Hopefully this isn't too rude or presumptive.

Would be nice tho!?

Test Plan: Run EFL and E (git) on OpenBSD :-)

Reviewers: raster, cedric, zmike!

Differential Revision: https://phab.enlightenment.org/D4753
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 9381f8961f call "maximize" smart callback before "maximize_pre"
this callback induces ssd changes which affect the resulting geometry
and so it must be called before any size calculations are made
2017-04-28 15:41:56 -04:00