Chris Michael [Tue, 24 Feb 2015 20:36:34 +0000 (15:36 -0500)]
remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 24 Feb 2015 20:27:48 +0000 (15:27 -0500)]
append E_Comp_Wl_Output to compositor's output list during output_init
call
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 24 Feb 2015 20:17:07 +0000 (15:17 -0500)]
don't remove E_Comp_Wl_Output on unbind as this Could lead to nasty
crashes if a second client tries to bind wl_output
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Derek Foreman [Tue, 24 Feb 2015 20:10:37 +0000 (15:10 -0500)]
Fix wl_output tracking in wayland compositor
Summary:
We should keep a list of resources per output to propagate wl_output
changes to each client that bound an output.
The output list now contains all outputs, not just bound ones.
Reviewers: devilhorns, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2047
Bryce Harrington [Tue, 24 Feb 2015 19:47:56 +0000 (14:47 -0500)]
Code cleanup and check for OOM condition with wl_array_add
Summary:
wayland: Check wl_array_add return for OOM condition
cosmetic: Make error return check syntax consistent with rest of code
wayland: Reuse use_adj to track child-forced adjust
wayland: Refactor to collapse if chain
wayland: Refactor _e_comp_wl_client_priority_adjust to collapse if chain
+ This uses early returns to unwrap a couple if clauses to make the code a bit less nesty.
wayland: Refactor if statements for consistency with rest of file
Reviewers: cedric, zmike, devilhorns
Subscribers: devilhorns, cedric
Differential Revision: https://phab.enlightenment.org/D2034
Chris Michael [Tue, 24 Feb 2015 18:27:56 +0000 (13:27 -0500)]
create wl_outputs when in wayland-only mode
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 24 Feb 2015 18:25:22 +0000 (13:25 -0500)]
Fix T2131 (crash when creating wl_outputs)
This fixes the crash and creates outputs based on e_randr
configuration (when in wayland-client mode).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Tue, 24 Feb 2015 18:24:56 +0000 (13:24 -0500)]
add E_Comp_Wl_Output structure and function prototype to create outputs
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Tue, 24 Feb 2015 09:36:31 +0000 (18:36 +0900)]
efm - make dir listing far faster - no file magic content and dont sync
this speed sup dir listing in efm drastically. first the e fm back end
uses an io thread that just spools through everything fast and sends
it over the mainloop to then send by ipc to e.
and on the e side we no longer use the heavy file internal magic using
api calls that wander all over a file for magic numbers - this is
insanely slow and brings listing to a crawl.
Mike Blumenkrantz [Mon, 23 Feb 2015 22:54:09 +0000 (17:54 -0500)]
fix border frame color classes to be configured as solids, not text
fix T1637
Mike Blumenkrantz [Mon, 23 Feb 2015 22:31:52 +0000 (17:31 -0500)]
don't clamp bgpreview vsize if bgpreview is a fullscreen overlay
Mike Blumenkrantz [Mon, 23 Feb 2015 22:22:51 +0000 (17:22 -0500)]
fix appindicator icon loading when using IconThemePath key
fix T1888
Mike Blumenkrantz [Mon, 23 Feb 2015 21:53:20 +0000 (16:53 -0500)]
set default text for edgebindings caption when no bindings exist
Mike Blumenkrantz [Mon, 23 Feb 2015 21:48:09 +0000 (16:48 -0500)]
fix dialog sizing when icon setting fails
Mike Blumenkrantz [Mon, 23 Feb 2015 21:43:59 +0000 (16:43 -0500)]
remove unnecessary icon setting and fix sizing in edgebindings
ref T2144
Yomi [Mon, 23 Feb 2015 20:26:00 +0000 (15:26 -0500)]
Fixed tense in presentation mode notifications.
Summary: Fixed tense in presentation mode notifications.
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2020
Chidambar Zinnoury [Wed, 18 Feb 2015 21:56:24 +0000 (22:56 +0100)]
Bugfix: e backlight: use saner default values.
The brightness scale goes from 0 (well, 1) to 100: 0.1 thus seems too low a step, 10 being better and is actually already used.
Carsten Haitzler (Rasterman) [Sun, 22 Feb 2015 08:50:12 +0000 (17:50 +0900)]
e - actions - smart suspend/hibernate - also dont do when on mains power
Carsten Haitzler (Rasterman) [Sun, 15 Feb 2015 23:40:47 +0000 (08:40 +0900)]
randr2 - handle missing clone src and walk back config only structs
Mike Blumenkrantz [Fri, 20 Feb 2015 14:55:20 +0000 (09:55 -0500)]
do not reapply focus on canvas object ungrab/close for pointer-focus enthusiasts
Chris Michael [Thu, 19 Feb 2015 22:02:46 +0000 (17:02 -0500)]
change output_bind function name
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 19 Feb 2015 22:02:04 +0000 (17:02 -0500)]
fix some formatting ugliness
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 19 Feb 2015 22:00:24 +0000 (17:00 -0500)]
fix compiler warning about pointer targets differ in signedness
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 19 Feb 2015 21:51:52 +0000 (16:51 -0500)]
update wayland README file to remove build confusion
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Derek Foreman [Thu, 19 Feb 2015 19:49:21 +0000 (14:49 -0500)]
Provide wl_output events on hotplug
Summary:
Clients that have bound wl_output now receive wl_output events on hotplug
NOTE: We don't handle removal yet
Reviewers: devilhorns, zmike
Reviewed By: devilhorns, zmike
Subscribers: cedric
Maniphest Tasks: T2131
Differential Revision: https://phab.enlightenment.org/D2008
Derek Foreman [Thu, 19 Feb 2015 19:49:01 +0000 (14:49 -0500)]
Provide wl_output interface to clients
Reviewers: devilhorns, zmike
Reviewed By: devilhorns, zmike
Subscribers: cedric
Maniphest Tasks: T2131
Differential Revision: https://phab.enlightenment.org/D2007
Mike Blumenkrantz [Wed, 18 Feb 2015 23:34:29 +0000 (18:34 -0500)]
rename extremely frustratingly-named E_Screen_Limits enum and members
this came in a patch that I take full responsibility for not adequately reviewing at the time.
the names are confusing and counterintuitive, and it does not properly include the client namespace.
Mike Blumenkrantz [Wed, 18 Feb 2015 23:26:16 +0000 (18:26 -0500)]
clamp client size to screen when client limit policy does not allow offscreen
fix T1779
Mike Blumenkrantz [Wed, 18 Feb 2015 22:07:39 +0000 (17:07 -0500)]
fix crashing when changing desklock settings and using pin/personal auth
Mike Blumenkrantz [Wed, 18 Feb 2015 21:50:26 +0000 (16:50 -0500)]
escape notification popup text...always
fix T2053
Mike Blumenkrantz [Wed, 18 Feb 2015 21:35:10 +0000 (16:35 -0500)]
don't send unfocused signal to override clients
fix T2099
Mike Blumenkrantz [Wed, 18 Feb 2015 21:11:45 +0000 (16:11 -0500)]
use direct path for setting icons in util theme set function when icon is a path
fix T1888
Tom Hacohen [Wed, 18 Feb 2015 12:36:20 +0000 (12:36 +0000)]
Allow building without ptrace
Summary: Building without ptrace (on OSes which do not support it, like OpenBSD) did not work, because the fallback code had small typos.
Reviewers: devilhorns
Projects: #enlightenment-git
Differential Revision: https://phab.enlightenment.org/D1990
Daniel Kolesa [Wed, 18 Feb 2015 11:07:56 +0000 (11:07 +0000)]
cpufreq: freebsd fixes
This fixes a sysctlbyname lookup and adds a stub for the "pstate"
command. Based on a patch contributed by Dmitry Luhtionov.
@fix
Mike Blumenkrantz [Tue, 17 Feb 2015 23:54:39 +0000 (18:54 -0500)]
block linear desk flips that would wrap if desk flip wrapping is disabled
fix T1948
Mike Blumenkrantz [Tue, 17 Feb 2015 23:42:47 +0000 (18:42 -0500)]
don't revert X focus during nocomp
Mike Blumenkrantz [Tue, 17 Feb 2015 23:16:54 +0000 (18:16 -0500)]
use elm scroller for xkb options
fix T2007
Mike Blumenkrantz [Tue, 17 Feb 2015 22:21:37 +0000 (17:21 -0500)]
revert some comp object debugging bits that snuck into another commit
Marcel Hollerbach [Tue, 17 Feb 2015 22:16:50 +0000 (17:16 -0500)]
Ibar: Emit the given origin to the Ibar Icon.
Summary:
This fixes T1828.
The theme also would have to support this!
Reviewers: zmike
Subscribers: myoungwoon, cedric
Maniphest Tasks: T1828
Differential Revision: https://phab.enlightenment.org/D1798
Chris Michael [Tue, 17 Feb 2015 15:46:19 +0000 (10:46 -0500)]
enlightenment: Fix building for wayland-only
We don't have e_randr2 calls for wayland yet, so ifdef those out if we
are building for wayland only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Vincent Torri [Sun, 15 Feb 2015 22:53:47 +0000 (17:53 -0500)]
add MIN define for non-linux systems
Carsten Haitzler (Rasterman) [Sun, 15 Feb 2015 01:48:47 +0000 (10:48 +0900)]
actions - add smart suspend + hibernate actions for laptop usage
this adds 2 actions that only suspend a laptop (or hibernate) if there
are no external screens enabled. if there is no lid screen eg like a
desktop, then it will still go on as usual.
Mike Blumenkrantz [Fri, 13 Feb 2015 21:46:52 +0000 (16:46 -0500)]
Revert "fix dbus unit installation with DESTDIR"
This reverts commit
3afaafe506d0f8c2ee95934cff6224cbc00ee35d.
broken test machine = broken commits :(
Mike Blumenkrantz [Fri, 13 Feb 2015 21:39:38 +0000 (16:39 -0500)]
add ctrl+alt+backspace to kill wl-only e
#barrel
Mike Blumenkrantz [Fri, 13 Feb 2015 21:24:24 +0000 (16:24 -0500)]
only reject client mouse out for X clients
not sure this is still applicable since systray xembeds are gone
Yomi [Fri, 13 Feb 2015 21:03:01 +0000 (16:03 -0500)]
Update the error message shown if a theme file is invalid.
Summary:
Update the error message shown if a theme file is invalid. This isn't E17 any more. rEec1cd25cfe666665b9e5641c91d3ad1fd2f9f11c
{F13161 size="full"}
Reviewers: zmike, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D1959
Mike Blumenkrantz [Fri, 13 Feb 2015 20:48:00 +0000 (15:48 -0500)]
remove wl override clients from focus stack
no more client cursor clients in winlist hoorayyyyy
Mike Blumenkrantz [Fri, 13 Feb 2015 20:46:52 +0000 (15:46 -0500)]
add first YOLO: e_client_focus_stack_set()
to quote ecore docs:
DO NOT use this function unless you are the person God comes to ask for
advice when He has trouble managing the Universe.
Mike Blumenkrantz [Fri, 13 Feb 2015 20:46:04 +0000 (15:46 -0500)]
add YOLO define to throw a compile warning for Extremely Dangerous Functions
a deprecated warning isn't ideal, but at least maybe someone will look at why there's a warning
Mike Blumenkrantz [Fri, 13 Feb 2015 20:45:03 +0000 (15:45 -0500)]
allow focus on normal wl clients again
Mike Blumenkrantz [Fri, 13 Feb 2015 20:41:58 +0000 (15:41 -0500)]
remove unneeded client attr setting in wl shell
these are always set by the wl new client hook
Mike Blumenkrantz [Fri, 13 Feb 2015 20:24:24 +0000 (15:24 -0500)]
set wl popups to appropriate layer in shell module
Mike Blumenkrantz [Fri, 13 Feb 2015 20:17:48 +0000 (15:17 -0500)]
remove some futile attempts at variable setting in wl client new hook
none of these attrs are available at this point so the client attrs can't be set
Mike Blumenkrantz [Fri, 13 Feb 2015 20:11:43 +0000 (15:11 -0500)]
prevent client cursor clients from receiving focus
Mike Blumenkrantz [Fri, 13 Feb 2015 20:11:33 +0000 (15:11 -0500)]
remove unused var
Derek Foreman [Fri, 13 Feb 2015 16:46:10 +0000 (10:46 -0600)]
Conditionally ignore wayland cursor set events
Wayland cursor set events should be ignored if the client sending them
doesn't own the surface the pointer is currently in.
Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Chris Michael [Fri, 13 Feb 2015 14:37:16 +0000 (09:37 -0500)]
fix typo in wayland readme file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Fri, 13 Feb 2015 10:23:04 +0000 (19:23 +0900)]
e - randr - handle missing relative display and use priority for zone
this makes highest priority screen the lowest (0) zone. this also
handles missing screesn that you are relative "of". missing clones are
not working atm. also zone reconfigure moves windows now too
Mike Blumenkrantz [Fri, 13 Feb 2015 04:31:36 +0000 (23:31 -0500)]
add note about logind to wl readme
Mike Blumenkrantz [Fri, 13 Feb 2015 04:17:00 +0000 (23:17 -0500)]
update wl readme
Mike Blumenkrantz [Fri, 13 Feb 2015 04:12:23 +0000 (23:12 -0500)]
fix dbus unit installation with DESTDIR
Mike Blumenkrantz [Fri, 13 Feb 2015 01:07:35 +0000 (20:07 -0500)]
manage client pointer client hidden states when changing pointer cursor objects
fixes sticky cursors
Mike Blumenkrantz [Fri, 13 Feb 2015 00:30:21 +0000 (19:30 -0500)]
don't clear wl surface input tiler during commit
this broke input regions for successive frames
Mike Blumenkrantz [Thu, 12 Feb 2015 21:18:46 +0000 (16:18 -0500)]
add E_Client->mouse.in for determining mouse-in status
Mike Blumenkrantz [Thu, 12 Feb 2015 21:17:50 +0000 (16:17 -0500)]
remove unused E_Client->input_object
this is a relic from E18
Mike Blumenkrantz [Wed, 11 Feb 2015 22:57:43 +0000 (17:57 -0500)]
unset wl client placed value on first commit to force placement
many clients still have not had a first commit prior to running new_client placement,
so this will force a second run of that algo to prevent placing as though a client's
size = 1x1
Mike Blumenkrantz [Wed, 11 Feb 2015 22:22:55 +0000 (17:22 -0500)]
don't add wl evas callbacks multiple times
#sigh
Mike Blumenkrantz [Wed, 11 Feb 2015 22:20:03 +0000 (17:20 -0500)]
don't use garbage values for new_client wl surface configures
Mike Blumenkrantz [Wed, 11 Feb 2015 22:15:31 +0000 (17:15 -0500)]
don't set geometry during wl client surface mapping
this happens automatically in other places, calling it here breaks client placement
#barrel
Mike Blumenkrantz [Wed, 11 Feb 2015 22:14:28 +0000 (17:14 -0500)]
reapply accurate ec->placed value for wl clients during surface commit configure
fixes client placement when client has not been placed prior to first commit
Mike Blumenkrantz [Wed, 11 Feb 2015 22:08:06 +0000 (17:08 -0500)]
use pixmap size for wl subsurface commit configure
Mike Blumenkrantz [Wed, 11 Feb 2015 22:02:01 +0000 (17:02 -0500)]
move map before configure for wl clients during commit
this ensures visibility is set correctly before attempting to set geometry
Mike Blumenkrantz [Wed, 11 Feb 2015 22:00:59 +0000 (17:00 -0500)]
reenable new_client for wl clients, but force moveresize actions to succeed
Mike Blumenkrantz [Wed, 11 Feb 2015 22:00:28 +0000 (17:00 -0500)]
use accurate xy coords for wl surface configures
Mike Blumenkrantz [Wed, 11 Feb 2015 21:23:07 +0000 (16:23 -0500)]
remove nonsensical wl client finding code
if the pixmap has no client set, no client exists for the pixmap
Mike Blumenkrantz [Wed, 11 Feb 2015 16:50:06 +0000 (11:50 -0500)]
set wl client keyboard focus on evas focus and commit
ensure that focus is applied even if there is no new frame
Carsten Haitzler (Rasterman) [Wed, 11 Feb 2015 12:45:39 +0000 (21:45 +0900)]
e - remove earns from randr2
for wahetever reason i dont get warnings from gcc:
-Wno-shadow -Wno-unused-but-set-parameter -Wno-clobbered -W -Wall -Wextra
are the warning flags i get and i simplt dont get a tonne like using
uninitialized var. don't know why.
Carsten Haitzler (Rasterman) [Wed, 11 Feb 2015 03:28:29 +0000 (12:28 +0900)]
shut up shadow warnings
Carsten Haitzler (Rasterman) [Wed, 11 Feb 2015 01:47:02 +0000 (10:47 +0900)]
e - fix build. build break!
Mike Blumenkrantz [Wed, 11 Feb 2015 00:17:50 +0000 (19:17 -0500)]
send wl keyboard enter during commit
in some cases this was happening before the kbd resource was available; this guarantees that it will be
Mike Blumenkrantz [Wed, 11 Feb 2015 00:17:11 +0000 (19:17 -0500)]
setup evas callbacks for wl clients during commit
this was happening way too late and breaking some clients
Mike Blumenkrantz [Wed, 11 Feb 2015 00:15:53 +0000 (19:15 -0500)]
unset wl client cursor when no surface resource is passed
this is probably not correct, but #barrel
Mike Blumenkrantz [Wed, 11 Feb 2015 00:15:22 +0000 (19:15 -0500)]
set take_focus more appropriately for wl clients
Mike Blumenkrantz [Tue, 10 Feb 2015 23:08:39 +0000 (18:08 -0500)]
apply client focus glow based on opaque region
Mike Blumenkrantz [Tue, 10 Feb 2015 23:07:41 +0000 (18:07 -0500)]
redo pixmap image border to take xywh instead of lrtb
client size is not set by the time opacity is set so it's necessary to store the full rect
Mike Blumenkrantz [Tue, 10 Feb 2015 22:30:05 +0000 (17:30 -0500)]
don't add rect for entire screen on wl region create
Mike Blumenkrantz [Tue, 10 Feb 2015 21:40:12 +0000 (16:40 -0500)]
set client image borders even when 0
opaque region can be reset to nonexistent
Mike Blumenkrantz [Tue, 10 Feb 2015 20:51:16 +0000 (15:51 -0500)]
unset new_client flag for wayland clients
this is only applicable for X clients
Chris Michael [Tue, 10 Feb 2015 17:41:27 +0000 (12:41 -0500)]
fix e_pixmap compile for non-wayland usecase
pixmap->border is only defined if we have some wayland support. Not
used in X11.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Mike Blumenkrantz [Tue, 10 Feb 2015 02:25:08 +0000 (21:25 -0500)]
remove wl opaque tilers, just set border in opaque callback
Mike Blumenkrantz [Tue, 10 Feb 2015 02:15:50 +0000 (21:15 -0500)]
set pixmap image borders for wayland clients
Mike Blumenkrantz [Tue, 10 Feb 2015 01:56:45 +0000 (20:56 -0500)]
handle image borders during client rendering
Mike Blumenkrantz [Tue, 10 Feb 2015 01:44:59 +0000 (20:44 -0500)]
fix wl input region setting
Mike Blumenkrantz [Tue, 10 Feb 2015 01:43:30 +0000 (20:43 -0500)]
don't set client shape rects based on wl opaque regions
Mike Blumenkrantz [Tue, 10 Feb 2015 01:38:00 +0000 (20:38 -0500)]
add pixmap image border functions
Mike Blumenkrantz [Tue, 10 Feb 2015 01:27:18 +0000 (20:27 -0500)]
correctly set/update wl opaque regions
Mike Blumenkrantz [Mon, 9 Feb 2015 19:35:11 +0000 (14:35 -0500)]
force wl client cursor clients to hide when unset from pointer
Mike Blumenkrantz [Mon, 9 Feb 2015 19:17:44 +0000 (14:17 -0500)]
use unixtime instead of loop time for wl frame callback done
Mike Blumenkrantz [Mon, 9 Feb 2015 17:24:31 +0000 (12:24 -0500)]
replace all occurrences of cursor setting with calls to pointer util function
Mike Blumenkrantz [Mon, 9 Feb 2015 17:23:59 +0000 (12:23 -0500)]
add pointer util function for changing cursor object without deleting it