Commit Graph

19902 Commits

Author SHA1 Message Date
Mike Blumenkrantz 1f199f940e fix wl-drm install rule 2015-04-23 13:37:11 -04:00
Mike Blumenkrantz 9c573a49ac fix internal win pixmap id int size in show trap 2015-04-23 12:35:22 -04:00
Mike Blumenkrantz b526ee200e fix tasks gadget parenting
gc->o_container is NULL for desktop gadgets

ref T2336
2015-04-23 08:42:09 -04:00
Mike Blumenkrantz 97a1642222 fix typo when setting event state in e_randr2_screen_refresh_queue()
a non-event should not unset this variable
2015-04-23 08:33:20 -04:00
Mike Blumenkrantz 4afb4b8fe9 simplify comp_x screen setup
we only care about the first root now, no point getting all the roots
2015-04-23 08:27:45 -04:00
Mike Blumenkrantz 0c0d481e4e check module name existence before reading from it
CID 1295427
2015-04-23 08:23:13 -04:00
Mike Blumenkrantz 2894bae445 add read-only randr iface for wl drm output module
mostly just reads stuff right out of libdrm for now. seems to display mostly as expected.
no applying yet, and only connected+active monitors will display since that's all ecore-drm
tracks for now

try using ecore-drm, they said. it'll be easier than using libdrm, they said.
2015-04-22 21:21:58 -04:00
Mike Blumenkrantz e1697892bc add wl drm module phony make targets 2015-04-22 21:20:58 -04:00
Mike Blumenkrantz a86fe60d3a use const lists for drm devices in signal handlers 2015-04-22 21:20:57 -04:00
Mike Blumenkrantz 1eb6bb20b3 move canvas init after wl init in output modules
ensure that randr screens have been created
2015-04-22 21:20:57 -04:00
Mike Blumenkrantz a452baafca move comp_x screen setup code into e_randr
this was not x-specific, so move it for use in wl compositors
2015-04-22 21:20:57 -04:00
Mike Blumenkrantz e64998b042 resize comp canvas on e_comp_canvas_init()
remove unnecessary call in wl drm output module
2015-04-22 21:20:57 -04:00
Mike Blumenkrantz 05d87a9b30 fix module blocking for wl modules
these should never be saved to or loaded from the config
2015-04-22 21:20:57 -04:00
Mike Blumenkrantz f104ceb922 enable conf_randr module unconditionally by default
this no longer uses/requires ecore-x
2015-04-22 21:20:57 -04:00
Mike Blumenkrantz e7219bab37 remove dead conf_randr files 2015-04-22 21:20:57 -04:00
Mike Blumenkrantz 4b1925dadf init randr during wayland init...always 2015-04-22 21:20:57 -04:00
Mike Blumenkrantz 18c34ed151 change comp type check at start of e_comp_wl_init()
at present, this value will be set to either TYPE_NONE if no valid
compositor has been created or TYPE_X if running a wl compositor inside
an x11 compositor
2015-04-22 21:20:57 -04:00
Mike Blumenkrantz 15540c01e4 use randr for screen setup in wl-x11 output module
enabling this module requires that e is linked against ecore-x to
allow screen management
2015-04-22 21:20:53 -04:00
Mike Blumenkrantz 89ae59b407 always add e_randr2.c to e build
randr no longer requires x11
2015-04-22 21:19:00 -04:00
Mike Blumenkrantz a4ea6e7f23 add a small screen management interface to E_Comp, remove hardcoded x11 randr calls
this interface is extremely basic and should allow easy additions for other display
backends
2015-04-22 21:19:00 -04:00
Mike Blumenkrantz c9ff3b1434 create wl-x11 canvas using comp_x canvas creation method 2015-04-22 21:19:00 -04:00
Mike Blumenkrantz 8c6ec83e43 break out comp_x gl/sw canvas creation into external function 2015-04-22 21:18:53 -04:00
Mike Blumenkrantz 36ea1ba372 move comp_x randr init to screen init function 2015-04-22 21:18:53 -04:00
Mike Blumenkrantz 3ac3e9bc71 ensure valid strings are send when sending wl output geometry 2015-04-22 21:18:53 -04:00
Mike Blumenkrantz 825dbfdb0b fix wl-x11 configure detection/check
previous check would not allow compiling against ecore-x which would
prevent such a compositor from being able to manage its own xserver
2015-04-22 21:18:53 -04:00
Mike Blumenkrantz df4ada7e75 fix ecore-x cflags/libs inclusion for e binary
these variables will always exist
2015-04-22 21:18:53 -04:00
Mike Blumenkrantz e383b5b55a always register E_EVENT_RANDR_CHANGE
failing to register this will cause event handlers for it to fail
on creation
2015-04-22 21:18:53 -04:00
Mike Blumenkrantz e1181c4d03 create e_comp during e_comp_init, set comp_type automatically
this simplifies comp creation slightly
2015-04-22 21:18:53 -04:00
Mike Blumenkrantz de0b1b2d39 add E_PIXMAP_TYPE_NONE
null type currently only used during comp init
2015-04-22 21:18:42 -04:00
Mike Blumenkrantz 881e0ab805 move all x11-related randr code into e_comp_x_randr.c 2015-04-22 16:16:05 -04:00
Mike Blumenkrantz 7104e637ef _config_screen_find() -> e_randr2_config_screen_find() 2015-04-22 16:07:58 -04:00
Mike Blumenkrantz b4e65519d1 move acpi lid status tracking from e_randr to e_acpi 2015-04-22 16:05:16 -04:00
Mike Blumenkrantz 853d04592e move e_randr internal screen changing timer -> e_randr2_screen_refresh_queue() 2015-04-22 16:04:36 -04:00
Mike Blumenkrantz 98068e9b9c add e_acpi_lid_is_closed() for returning cached state of computer lid 2015-04-22 15:50:05 -04:00
Mike Blumenkrantz f843b48eb2 update wl shell parent setting code to use clients instead of pixmaps
ref T2354
2015-04-22 14:55:45 -04:00
Chris Michael 57611c6d2f e-comp-wl: Init randr if we are not wayland only
This is needed for the wl-x11 module

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-22 10:46:41 -04:00
Chris Michael 57191576db wl-drm: We need to set the compositor pointer values After wl_comp_data has been created else we crash
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-22 10:42:33 -04:00
Chris Michael 37223908a6 Revert "wl-drm: Set initial compositor pointer values base on ecore_evas_pointer_position"
This reverts commit 16e9126302.

Reverting this due to crash
2015-04-22 10:41:13 -04:00
Chris Michael 16e9126302 wl-drm: Set initial compositor pointer values base on ecore_evas_pointer_position
This addresses the issue of initial compositor pointer values not
being proper. They are 0,0 on startup, however things like ecore_drm
will center the mouse on startup. The e_comp pointer values should
reflect this.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-04-22 09:41:23 -04:00
Stefan Schmidt c79d0b1f8c module/geolocation: Stop setting gadget icon from start and stop callbacks
We keep track of this now by monitoring the InUse property which works also
if other clients use the service.
2015-04-22 13:54:51 +02:00
Stefan Schmidt da6297cc37 modules/geolocation: Follow InUse property change to give UI indication
The InUse property of the manager object is available in newer GeoClue2
versions. It shows if the service is in use by any application at the
moment. We use this to indicate the usage in the UI.
A blue geolocation icon means the service is in use, the grey icon means
it is inactive.
2015-04-22 13:54:51 +02:00
Stefan Schmidt 0ac7f90aa7 modules/geolocation: Make module work with newer GeoClue2
In newer GeoClue2 version, tested with 2.1.10, we need to set
the DesktopId and AccurancyLevel to get a location object.
2015-04-22 13:54:51 +02:00
Stefan Schmidt e01edf1f59 modules/geolocation: Only display a valid altitude value
If our backends does no know the altitude it sets it to -DBL_MAX as 0
is a valid altitude value. Check for it and  display N/A if it is not valid.
2015-04-22 13:54:51 +02:00
Carsten Haitzler 40a91376c6 e screenlock config diloag - note insecureness for personal pw/pin
these store pin/pw in your user config files - it may be primitively
hashed to obscure it, but it's there. it never pretended to have
secure storage and even saved cleartext until e19. make sure people
are aware
2015-04-22 17:05:01 +09:00
Stefan Schmidt d65ed603ad po: Remove unused e_int_config_randr.c file from POTFILES.in to pass distcheck
This file is still around while not really used. It is also not distributed and
thus fails if po tries to update during distcheck with this file still in list.
2015-04-22 09:43:16 +02:00
Mike Blumenkrantz 0bad7b6025 unadjust frame coords when calculating wl surface placement during commit
ec->y -> unadjust -> ec->client.y
2015-04-21 16:19:30 -04:00
Mike Blumenkrantz f254531182 use pointer hash for wl pixmaps 2015-04-21 15:57:18 -04:00
Mike Blumenkrantz f276023e71 pass surface resource when creating wl surface pixmaps 2015-04-21 15:41:10 -04:00
Mike Blumenkrantz 0bb444bb21 Revert "build: Remove generated eldbus files during normal clean and not only maintainer-clean"
This reverts commit 95d7012077.

do want in tree
2015-04-21 15:35:10 -04:00
Mike Blumenkrantz c398dbce21 add explicit includes for elm color class header in colorclass cfd 2015-04-21 15:34:56 -04:00