Commit Graph

18840 Commits

Author SHA1 Message Date
Mike Blumenkrantz e8e93eaa7d remove fdo interfaces from music control dbus xml 2017-10-12 10:38:48 -04:00
Mike Blumenkrantz 2ffa0f23dc fix clickable edge binding activation with other mouse buttons
check for the button specified in the binding, not whether the event
contains a click

fix T4510
2017-10-12 10:38:23 -04:00
Mike Blumenkrantz 8a7ee06aab flag zone/edge mouse binding activation with ON_HOLD
ensure multiple bindings aren't triggered by the same event
2017-10-12 10:37:34 -04:00
Mike Blumenkrantz 0bbd01b6db handle unmovable gadgets in gadget move action
a gadget which refuses to create a duplicate of itself can be considered
immobile

fix T5998
2017-10-12 10:37:29 -04:00
Mike Blumenkrantz 4432299947 block recursive mouse eventing in bryce action handlers
ensure that only the outermost event adds a post callback to avoid
triggering actions multiple times
2017-10-12 10:37:23 -04:00
Mike Blumenkrantz 72144e49c1 hide clients again after show in idler if clients are on hidden desk
clients need initial show to correctly handle mirror visibility but should
then be hidden again

ref 0ee8cc896e
fix T6024
2017-10-12 10:36:59 -04:00
Mike Blumenkrantz 667cb72323 use EC_CHANGED when setting changed flag in client idler 2017-10-12 10:36:53 -04:00
Mike Blumenkrantz 301edff286 resolve desktop spec issues with emixer.desktop
fix T5076
2017-10-12 10:36:31 -04:00
Carsten Haitzler d8753a3c72 e start - fix path prepend/append if already in path assuming clue
"
I have a directory at the head of my PATH that contains alternate
versions of command line utils like grep, ls, etc., but E puts
/usr/bin ahead of it, overriding my tools of choice with the system
defaults.

If my understanding is correct, the only way currently to have
directories that E prepends to your PATH appended instead is to use
-i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it.
I'd like to see a more sane option if there isn't one already.
Alternatively, I wonder if it wouldn't be a better idea to only
prepend directories to PATH if they aren't already contained within
it--thereby preserving the user's desired search order.
"

this should fix T5953

@fix
2017-10-12 10:36:25 -04:00
Mike Blumenkrantz 82e095e8b0 handle shade <-> unshade toggling in same frame
this should result in a no-op instead of a fail-op

fix T6006
2017-10-12 10:35:38 -04:00
Mike Blumenkrantz 378b49f7c5 use animator del function to delete comp object animators 2017-10-12 10:35:30 -04:00
Carsten Haitzler 6ddf1ee961 fix up window+screen positioning fixup so it doesnt catch other clients
so some other clients like mpv also try to explicitly position their
windows (like centering on screen 0 ALWAYS) and this now gets caught
up in trying to detect libreoffice doing the same thing for
presentations. so only support this is the app has explicitly
requested initial positionin explicitly and then use pending configures.
2017-10-12 10:34:26 -04:00
Derek Foreman 8ca6f02914 Fix crash when processing a wayland client cursor set after death
It looks like the only way we can get here with NULL resource data
is when we explicitly cleared it in the del hook, meaning the client
is dead to us.  In this case it's ok to ignore the cursor set request.

ref T4988
2017-10-12 10:33:39 -04:00
Mike Blumenkrantz e2d35d9b77 remove fullscreen clients from vdesk clients list when toggling sticky state
fix T5988
2017-09-07 14:16:01 -04:00
Mike Blumenkrantz 7af9ab44a6 handle first time desk setting for fullscreen clients without crashing
ref T5988
2017-09-07 14:15:57 -04:00
Mike Blumenkrantz 976ec828b5 apply pointer focus to existing config dialogs from settings window
this should be more consistent with expected behaviors
2017-09-07 14:15:52 -04:00
Mike Blumenkrantz 3fc4c39bb4 warp pointer to center of internal dialog on show if dialog has focus
ensure that pointer-based focus policies do not experience unexpected focus
changes when a dialog changes from basic<->advanced

ref T1931
2017-09-07 14:15:48 -04:00
Mike Blumenkrantz 92b23f0d6d block all desk flips during window resize
this breaks *

fix T5984
2017-09-07 14:15:30 -04:00
Mike Blumenkrantz 0bbff0664a reset zone edge objects after comp canvas update
fix T5969
2017-09-01 13:55:43 -04:00
Carsten Haitzler 06dbb255c8 batget - fix warnings about buffer sizes
not an actual bug but too much warning noise.
2017-09-01 13:51:39 -04:00
Mike Blumenkrantz d46de408c7 add time config event rects to gadget popups list
attempt to preserve event propagation for sites in different environments
2017-09-01 13:46:37 -04:00
Mike Blumenkrantz 57593564c3 stack gadgets below site event rect when reparenting gadget 2017-09-01 13:46:26 -04:00
Mike Blumenkrantz d7ad6e027b don't update clock timer for time gadgets when deleting a non-advanced gadget
if the deleted gadget won't affect timers then don't update timers

ref T4648
2017-09-01 13:46:21 -04:00
Mike Blumenkrantz a6589188f2 set shaped client image alpha after setting image data
avoid triggering render sync with old image data

fix T5957
2017-09-01 13:46:13 -04:00
Mike Blumenkrantz 9ac1b433b1 use correct string for randr screen fuzzy matching
using the full edid string results in infinite recursion
2017-09-01 13:46:09 -04:00
Mike Blumenkrantz b4574be2bc check for matching '/' in screen edid before fuzzy matching in randr init
if no / exists then this function is pointless
2017-09-01 13:46:04 -04:00
Mike Blumenkrantz 12fc4286a6 avoid adding render updates on client resize while shading the client
this results in a blank render

fix T5929
2017-09-01 13:45:49 -04:00
Mike Blumenkrantz 6c93f1fedd return during client pixel callback if pixmap is dirty and no updates exist
this probably indicates a client update is needed in order to complete the
render, so the existing data should be reused since nothing will render now
2017-09-01 13:45:44 -04:00
Mike Blumenkrantz e88bfc6fd3 move pending client render queue in pixel callback to before render call
no functional changes
2017-09-01 13:45:40 -04:00
Mike Blumenkrantz 007dbf04c6 do not reset existing client damage on resize if tiler size matches pixmap size
this probably indicates a case where the client wasn't actually resized and the
compositor is doing something like shading a window
2017-09-01 13:45:32 -04:00
Mike Blumenkrantz 4c4016ad02 track gadget ctxpopups and reposition within zone on resize
this attempts to shift the ctxpopup content vertically and horizontally to
keep it on the same screen that the gadget is on

fix T5945
2017-09-01 13:45:11 -04:00
Mike Blumenkrantz 19f45ab1c9 use focus_set_with_pointer to focus from clients menu (middle click)
fixes pointer warping for this case
2017-09-01 13:45:01 -04:00
Mike Blumenkrantz 6406c2c1b6 use int array for client maximize hint state update
CID 1379946
2017-08-25 14:57:38 -04:00
Mike Blumenkrantz 1cb85fbe26 initialize stack variables
CIDs 1379939, 1379943
2017-08-25 14:57:30 -04:00
Mike Blumenkrantz 2d6f01a18d force client render on mirror show for clients which have not yet been rendered
this is the same mechanism in e_comp_object_dirty() which applies now if a
mirror is created for a previously-dirty client

fix T5937
2017-08-25 14:57:17 -04:00
Mike Blumenkrantz 97b22aaa91 Revert "handle updates_full when adding comp object update regions"
This reverts commit fac907e0c5.

this was already handled and I'm dumb.
2017-08-25 14:57:12 -04:00
Mike Blumenkrantz 0adffef016 Revert "force recalc on bryce scroller when doing recalc on gadget site"
This reverts commit 87515abd2a.

this breaks scaling since the min size must be reset in order to trigger a
resize
2017-08-25 14:57:02 -04:00
Mike Blumenkrantz 4da9016bff track setxkbmap processes and allow only one to run at a time
fix T5188
2017-08-25 14:56:29 -04:00
Mike Blumenkrantz df69508d89 handle bryce setup when theme is broken
fix T5889
2017-08-25 14:55:59 -04:00
Mike Blumenkrantz 939e3d8f20 handle xdg "autostart" directories in apps dialogs
a valid autostart directory can exist in any xdg data/config directory
according to spec, so ensure we check everywhere when listing them
2017-08-25 14:55:52 -04:00
Mike Blumenkrantz e386143e43 use clone of remembers list in window remember config
this modifies the remember list and guarantees a crash if sorting occurs
2017-08-25 14:55:29 -04:00
Mike Blumenkrantz 914aef57d7 do not rescale override x11 clients during hint fetching 2017-08-25 14:55:24 -04:00
Mike Blumenkrantz 6e522f8026 perform client zone updates on canvas move/resize when not ignored
overrides still need zone updates here
2017-08-25 14:55:15 -04:00
Mike Blumenkrantz f2579fbc5b use client frame for internal win geometry setting on show
calling these functions on the elm_win has no effect here
2017-08-25 14:55:05 -04:00
Mike Blumenkrantz adf2f8597f use evas size hints for image widget internals if internal obj is not edje obj 2017-08-25 14:54:50 -04:00
Mike Blumenkrantz 33ec02061b use client geometry for fileman popup positioning instead of win object geometry
window objects don't return accurate geometry under wayland

fix T3842
2017-08-25 14:54:45 -04:00
Mike Blumenkrantz 27a0b9b0a6 fix color class dialog sizing
ref T3682
2017-08-25 14:54:40 -04:00
Mike Blumenkrantz 602e93651f destroy dropped gadgets after drop operation completes
the gadget object is used during the drop callback, so destroying it
before the callback breaks the drop operation
2017-08-25 14:54:38 -04:00
Mike Blumenkrantz 56f6c0f950 perform gadget site layout before calling drop callback
calling this inside the drop callback resets the dropped gadget's position
and causes the drop operation to fail
2017-08-25 14:54:30 -04:00
Mike Blumenkrantz 9dac9c7946 set moving gadgets in pointer site to have moving state
prevent spurious resizes during layout
2017-08-25 14:54:25 -04:00