Commit Graph

22110 Commits

Author SHA1 Message Date
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
Mike Blumenkrantz 673195a6ac handle gadget ctxpopup placement for desktop gadgets
fix T5877
2017-08-25 14:54:19 -04:00
Mike Blumenkrantz 43dd2c1166 always use client geometry for comp object centering functions
this should always be more accurate than the object geometry, which may
or may not have been applied at any given time
2017-08-25 14:53:44 -04:00
Mike Blumenkrantz 13f3072172 force min size calc on dialog show
this resolves a number of dialog sizing issues where text or content could
be clipped due to deferred sizing
2017-08-25 14:53:15 -04:00
Carsten Haitzler 6c7cd33cf3 xsettings - fix warning for buffer that could be a bit small
warnings of buffer being a little small in theory. fix.
2017-08-25 14:52:55 -04:00
Carsten Haitzler 3aa8f2f1f7 filepreview - properly set min size on cells not in a broken way
this should fix T5891
2017-08-25 14:52:34 -04:00
Mike Blumenkrantz d770c06840 batch x11 maximize state change requests
if an app wants to set both horizontal and vertical, set both at the same
time to improve performance and accuracy
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 091d49d936 don't set gadman overlay gadgets as editing if overlay not visible
this screws up mover visibility

fix T3291
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 6246da93b7 check imc exe existence before showing in imc dialog list
don't show things which will definitely fail

fix T1526
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 81b05723b7 remove invalid framelist call on frametable object in imc dialog 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 961129bb59 temporarily cache x11 configure requests which reposition hidden windows
when an app tries to position itself before being shown, attempt to store this
and apply it in order to effectively handle cases where an app attempts to show
on a specific screen, e.g., presentation apps which show a console on one monitor
and the presentation on a different monitor

fix T1571
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz b6df8639a4 only set new clients to current desk if desk has not yet been set
placement policies can override setting windows onto the current desk
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 1c9f9bd32c use menu item geometry to determine whether menu item is onscreen
fix T2126
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz fbbccfc346 lock menu eventing during menu idler positioning
ensure moving menus doesn't trigger menu item activation
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz c870923716 replace existing resize pointer mode for x11 client-initiated resizes
ensure there is no mismatch between pointer modes when pushing/popping modes

fix T4893
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz a8fc231d67 handle focus reverting correctly when using desk flip all actions
perform the focus revert once the last desk has finished flipping and based
on all available visible windows

fix T3495
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 7fc3d6e094 only update wl client window size on commit if no pending resize exists
this breaks pending resizes

fix T4189
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz f9f75df309 clamp xsettings font size to 12 when size is 0
font class config does not require the user to select a size, so do
extra clamping here when a size isn't set

fix T3093
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz e89f94d505 re-select previously selected font+size in font class config 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 2e7e988555 avoid hiding->showing->hiding->etc submenus for active menu items 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz a4d9574307 use EC_CHANGED for client menu attr changes 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 95831a19e1 block updating window remembers while applying them
some attrs (e.g., desk setting) change the position/size of a window before
another attr is set, changing the original value

fix T5295
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 1e0c07489b only pop a single dialog to notify about all fail themes in theme dialog
popping a million dialogs is super annoying
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 4ad464d746 send theme signal for dialogs when no buttons are present 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 514446e620 always align ibar inner box to the left
fix T5041
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz a4e0c5a836 use xwindow check to determine whether to check icccm accept/take focus attrs 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 33e8bf0a49 don't force xwl drag client motion for override drag clients
this should improve dnd visuals a bit

ref T5593
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 339020b8e4 end xdnd operations on window hide if no FINISHED event is received
fix T5886
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 90d70f8dc0 set gadget ctxpopup priority based on anchor
fix T5877
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz b24df63860 make menu autoplacement more consistent by preferring DOWN placement 2017-08-18 16:51:02 -04:00
Marcel Hollerbach 7aaa20f219 everything:declare this object as const
The object is not meant to be moved, we only subscribe click events on
it, this isnt really changing the context where the api wants to declare
it const, so for now safe it everywhere as const and register /
unregister the callbacks with casts.
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 8545fc08be capture zone for newly-added bryces based on name
the last number is always the zone number
2017-08-18 16:51:02 -04:00
Marcel Hollerbach 7d2fdfa880 tiling: give a better error message if a client doesnt fit 2017-08-18 16:51:02 -04:00
Marcel Hollerbach e32fab8b8e mixer: find a better name
if pa does not provide the name via the proplist we can just use the
information from name if the name exists
2017-08-18 16:51:02 -04:00
Marcel Hollerbach b1a64b290f everything: use correct edje api
everything used here edje_object_part_swallow_get, which is somehow
wrong, since we dont really know if the everything theme gives the type
swallow, using the plain object_get of edje is the solution here. Its
returning a alias object that is hiding the internal edje object.
2017-08-18 16:51:02 -04:00
Marcel Hollerbach 70a33bcbe9 tiling: show notification if a client cannot be tiled
this at least tells the user that the client could not be tiled and not
just mysterically putting it under floating.
2017-08-18 16:51:02 -04:00
Al Poole 73a78b5a1a Efm: file properties, fix widget sizing issue.
Summary: This fixes the erroneous sizing of labels in Efm preview dialogues.

Reviewers: zmike!

Subscribers: stephenmhouston, cedric, raster

Differential Revision: https://phab.enlightenment.org/D5093
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 0361db9fd5 handle case where eglBindWaylandDisplay fails during wl init 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz d4179fea54 avoid object hide animations during shutdown 2017-08-18 16:51:02 -04:00
Derek Foreman 7f89c3a4e8 Remove ecore_drm support
ecore_drm2 supersedes this, ecore_drm is deprecated, and we depend on
an efl version newer than the deprecation, so none of this code should
ever be built.
2017-08-18 16:51:02 -04:00