Commit Graph

21948 Commits

Author SHA1 Message Date
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
Mike Blumenkrantz 9cd6632904 adjust size for frame geometry in no-animation maximize path
this is based on window size, not surface size

also ignore coords if the size matches, animating just a positional
change looks dumb
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 39f3215fe7 only center internal windows once
these shouldn't re-center on every resize
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 8920894de0 force animationless re-maximize when unfullscreening
animating here results in the window resizing to its original (smaller)
size, then growing back to its maximized size
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 00cf30470e check pixmap size before triggering maximize animation
if pixmap size matches animation size then avoid animation calls since
this will look stupid
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz 26e2a96d1f slightly optimize maximize -> fullscreen protocol comms for wl clients
this is a no-op since a configure will be sent later
2017-04-28 15:41:56 -04:00
Mike Blumenkrantz af66d18d88 force e_client_unmaximize() to complete during fullscreen operation
it doesn't matter if the current client size doesn't match the unmax
size in this case since the size will be changed to fullscreen anyway

fixes maximize -> fullscreen transition
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz 5049ab02b3 always set E_Client->need_fullscreen when fullscreening
provide a method for determining whether a client is about to become
fullscreen during callbacks
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz 3483d045a6 disable client maximize anims when unmaximizing before a fullscreen
this ensures accurate positioning of windows about to be fullscreened
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz 543666790f account for late object setup when adding ssd mouse in/out callbacks
internal windows have a different setup order in which the frame is created
before any of the other internal objects in a comp object
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz bd23b9c19b do not attempt to set window hidden hints on non-internal x11 windows
this causes a BadWindow error
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz 84091de515 block x11 focus eventing under xwayland
ensure that focus changes come from the compositor and not from clients
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz 081ab309cd always feed mouse events for wl client move events
better handling for xwayland case of moving pointer into ssd region
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz a47a9a73a1 use even more accurate wl callbacks for detecting ssd mouse in/out events
ensure that any wl client with ssd hits the ssd mouse eventing path
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz d23584856e do not send mouse events to ssd wl clients if mouse is within ssd region 2017-04-28 15:41:55 -04:00
Mike Blumenkrantz 8bfbf90d13 Revert "Stop sending wayland motion events when the mouse is grabbed"
This reverts commit 0a91a24573.

this should be resolved in a more readable way now
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz 4354a94305 compare against e_client_action_get() for rejecting wl mouse events
signal actions do not set the cur_mouse_action pointer, but the return
of this function will still match the client for a more accurate heuristic
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz 9e06da7e75 set signal move/resize clients as action_client internally
technically action_client is used to indicate that an e_action is
active, but functionally it really just means "this client is moving or
resizing" and the compositor makes certain adjustments based on this
2017-04-28 15:41:55 -04:00
Mike Blumenkrantz 70d5ebb66e send wl client resize edges during focus-in/out send_configure
avoid prematurely terminating resize operations
2017-04-28 15:41:55 -04:00