Commit Graph

22066 Commits

Author SHA1 Message Date
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
Mike Blumenkrantz c4a3c648d9 destroy gadget configs when deleting a gadget site 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 1727098387 set clock gadget id on creation
fix T5851
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 04436da412 clamp internal win min/max size hints to 0
ref T5845
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 4034bd97be do not defer wl gl init 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 5964b2cf41 make mouse-activated menus function as expected with 0 passed as activate time 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz d5251d3b5a don't arbitrarily bind version=1 for wl extension resources 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 4ba2333344 rescale x11 clients after fetching hints
ensure that clients initially respect useful geometry after size hints
have been fetched
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz e09cd065e2 apply client hints when rescaling a client
ensure rescales obey hints
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 7d1edcadf7 do not add delete/kill request smart callbacks for non-internal wl clients
this is not functional for other windows
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz ceb402d404 use explicit rounding for bryce scaling 2017-08-18 16:51:02 -04:00
Mike Blumenkrantz b705ac1c9e clamp vertical bryce size to useful zone geometry
this should improve layouts when vertical and horizontal layouts are mixed
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz 672d052501 do not reposition new bryces after using editor
this is now handled more accurately by bryce internals
2017-08-18 16:51:02 -04:00
Mike Blumenkrantz c650f60aea reject gadget site layout attempts only when it would be impossible
a site with orient set is expected to fill using only one axis, so a size
of 0xH or Wx0 is valid in some cases

fix T5806
2017-08-18 16:51:02 -04:00
Marcel Hollerbach 761e5e7461 e_startup: check for efreet errors
for the case efreet does not come up with any event, give a error to the
  user
2017-08-18 16:51:02 -04:00
Carsten Haitzler 5b24293a8f e - fix eet image format test to actually use key when loading
fix complaint from eet format test ... was failing because we didnt
use a key

@fix
2017-08-18 16:51:02 -04:00
Carsten Haitzler f206194fea wireless module - dont segv e if connman daemon restarts
so i get a new service of type WIRELESS_SERVICE_TYPE_NONE that's going
to suck when accessing arrays by type like wireless does like
array[cs->type] ... so check type value and if its invalid kill off
the cs as we can't do much useful with it. this fixes an actual segv e
gets if you restart the connamn daemon while e runs.
2017-08-18 16:51:01 -04:00
Simon Lees 7aef6c7040
21.9 NEWS Updates 2017-08-04 17:01:43 +09:30
Simon Lees ae87b44cf0
21.9 Release 2017-08-04 16:49:35 +09:30
Mike Blumenkrantz 4ae1b5b1fc Revert "reset comp object update regions when a render occurs"
This reverts commit e6ab84ffd5.

fix T5817
2017-08-03 10:21:39 -04:00
Mike Blumenkrantz 30e160a083 remove left/right maximize before removing vertical maximize
ensure maximize states are removed accurately and in the right order

ref b48419c577
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 7b8757997b set client opacity any time netwm hint has changed in fetch
fix T5370
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 893b7af664 continue to fetch netwm opacity hint if it changed since the last fetch
some apps (e.g., wine) do not trigger any event when changing this property,
and they use the property in order to simulate window fade in/out

ref T5370
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz e6ab84ffd5 reset comp object update regions when a render occurs
allow saving the current update regions in case evas decides not to render
this object
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 92671f2624 handle updates_full when adding comp object update regions
this flag means that the entire surface should be redrawn

ref T5370
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 7375a4beef use ecore_x_netwm_opacity_get() for x11 opacity checking
this makes the check for opacity more accurate since it returns a bool
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz efcb9a308d return updates_full state from e_comp_object_damage_exists() 2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 39963066ae show clients immediately after pixmap refresh if visibility is pending 2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 689a78533c return immediately when setting a null gadget style if current style is null 2017-07-28 16:21:32 -04:00
Mike Blumenkrantz a35844724e abort gadget site layouts if the gadget site has not been sized
this triggers infinite loops, and a resize on the site will trigger a layout
automatically
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 30be540c8a apply gadget aspects with greater precision
aspect ratio is not an integer, rounding it prematurely loses precision
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 8ff0925613 reject invalid comp object resizes
interceptors are called before any of the normal evas object geometry
validations, so ensure that invalid sizes are not applied
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz e79d5e3a1d don't create xwl receive pipe for SelectionRequest when getting the selection
this seems to sneak in sometimes even though it's totally wrong?
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 5896caa394 add text/plain;charset=utf-8 to xwl-created wl clipboard data source
UTF8_STRING is not an accepted mime type, use wl equivalent
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz d953ba43ff set xwl-originating data source dnd actions during source creation 2017-07-28 16:21:32 -04:00
Mike Blumenkrantz bef1a5f428 free xwl selection atom names after creating selection source 2017-07-28 16:21:32 -04:00
Mike Blumenkrantz 19c5da9e5c handle xwl data source cleanup more effectively
ensure source is freed and references to it are unset when changing selection
2017-07-28 16:21:32 -04:00
Mike Blumenkrantz bd53c0d8f5 focus x11 root window on init when starting with xwayland
comp canvas does not have a valid xwindow and is unfocusable
2017-07-28 16:21:31 -04:00
Mike Blumenkrantz af82318bd7 add special case for xwl-originating drags to set dnd actions
there are no protocol methods received for setting actions, so fill them
in from the xwl source
2017-07-28 16:21:31 -04:00
Mike Blumenkrantz 499cd346a8 save xwindow of x11 selection owner, not client
gtk uses non-application xwindows for managing selections, so this would always
fail when bridging selections from gtk apps
2017-07-28 16:21:31 -04:00
Derek Foreman ff915f92f2 Fix geometry for drm outputs
It appears that config.geom.x and config.geom.y specify the corner of
an output in global space, but ecore_drm2_output_mode_set's x and y
are offsets into the framebuffer for the corner of the display.

Just pass 0, 0 and everything will be ok.
2017-07-28 16:21:31 -04:00
Carsten Haitzler 23eb5fb3ba randr - discovered new output names that are display panels in laptops
add to the list like lvds, edp etc. ... adding DSI/dsi
2017-07-28 16:21:31 -04:00
Mike Blumenkrantz 4029124cf5 resize comp bg_blank_object on zone update
various things hook this to check when the compositor is resized
2017-07-28 16:21:31 -04:00
Mike Blumenkrantz b57cfe8476 rework internal win centering
call resize before attempting to center to ensure accurate positioning
2017-07-28 16:21:31 -04:00
Mike Blumenkrantz d28ff92e6b do not use elm api to unset centered flag during resize
this triggers a full eval which resizes the window and breaks the compositor
2017-07-28 16:21:31 -04:00