Mike Blumenkrantz
b2c5c20cde
manually get client under pointer for checking x11 pointer focus
...
e_client_under_pointer_get() ignores overrides.
ref 3ee5a0378d
fix T5878, T5871
IF ONLY THERE WERE SOME METHOD FOR TESTING COMMITS BEFORE THEY WERE PUSHED
2017-08-14 07:30:04 -04:00
Marcel Hollerbach
d9737ddba5
tiling: change description
...
in one of the last commits i accedently just changed the title on
deletion not when we are creating the action.
fixes T4499
2017-08-14 10:13:49 +02:00
Marcel Hollerbach
430d7e0bb2
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-13 21:18:49 +02:00
Davide Andreoli
ac0e78201e
pkit gadget: do not autoclose the popup
...
Like the majority of other gadgets
2017-08-13 20:08:49 +02:00
Marcel Hollerbach
2e5c9cbe71
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-13 19:06:07 +02:00
Davide Andreoli
0d5bc403c6
pkit gadget: popup title in bold
2017-08-13 08:41:16 +02:00
Al Poole
16d23a628f
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-13 09:52:02 +09:00
Davide Andreoli
8a5b878443
pkit gadget: show the button only if a packager manager is configured
2017-08-13 00:33:40 +02:00
Davide Andreoli
dfcf6d960f
pkit gadget: a new help "mode" that show the icon meanings
2017-08-13 00:21:03 +02:00
Marcel Hollerbach
5b3f38efcf
leave the E_Comp_Wl_Data define in e_comp.h
...
otherwise bulding without wayland breaks
2017-08-12 22:47:52 +02:00
Marcel Hollerbach
de21e6ddb8
tiling: fix insertion in the tree
...
the problem here was that in the initial case the function got the
previous state of the tree wrong, so the insertion of a second client
ended up in a unpossible state of the tree, this should not happen
anymore now.
The insertion is now also way more stable, since in a errorcase the
client is not just not placed in the tree but associated with a window
tree, its just not placing the client in the window tree at all.
2017-08-12 22:30:33 +02:00
Marcel Hollerbach
f1fb4a0c83
tiling: only use the insert function
...
this brings all possible bugs due to insertion to one single function
2017-08-12 22:30:33 +02:00
Davide Andreoli
1e2fa5649e
pkit gadget: show a nice progress bar while working
2017-08-12 22:30:00 +02:00
Davide Andreoli
5fa85726ee
pkit gadget: cosmetics, no functional changes
2017-08-12 19:52:16 +02:00
Davide Andreoli
ef8cc77790
pkit gadget: add ability to install updated directly from the gadget !
...
You can install all updates or select the packages you like.
The update work without asking any password, if it doesn't works check the
org.freedesktop.packagekit.system-update Polkit permission
(work out-of-the-box on Arch Linux, just install packagekit)
2017-08-12 19:28:59 +02:00
Marcel Hollerbach
fcd271dd1b
e_comp_wl: move types into typedef section
...
WIth this we dont need a second define of the same type in e_comp.h
This fixes a duplicated definition warning
2017-08-12 15:17:03 +02:00
Marcel Hollerbach
8ef5a7c89d
e_comp: stop including e_comp_x here without a reason
2017-08-12 15:17:03 +02:00
Carsten Haitzler
7660a6aabc
meson build - simplify and cleanup evrything module
...
all done now! :)
2017-08-12 13:40:49 +09:00
Carsten Haitzler
5e59869a62
meson build - mixer - simplify for module build setup
...
it's still complex anyway... :( but a little smaller
2017-08-12 13:40:44 +09:00
Carsten Haitzler
397e21d0de
meson build - simplify wizard module build like others
2017-08-12 12:25:53 +09:00
Carsten Haitzler
1d90c87334
meson build - minimize teamwork meson build too like other modules
...
also simplify build if's...
2017-08-12 12:00:53 +09:00
Carsten Haitzler
94f3cc4a2a
meson - wl module builds - make them all consistent
2017-08-12 11:11:32 +09:00
Al Poole
7df7b1f5fa
FreeBSD: fix broken build.
...
Reviewers: zmike!, raster
Reviewed By: raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5092
2017-08-12 10:49:38 +09:00
Mike Blumenkrantz
57c448739a
add support for external gadget providers in the gadget editor
...
this allows external gadget managers to add their gadget types into
existing editor/layouts
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
408128df95
handle destruction of demo gadgets without crashing
...
demo gadgets automatically call _gadget_free() on object delete, avoid
recursively calling it
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
2d80ef091e
further improve keyboard handling while gadget editor is active
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
92a0cb11d6
disallow demo gadget ids from counting towards wizard success
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
4e4f66fc2b
prune gadgets from editor if destroyed while editor is active
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
2047ca3bfe
handle case where eglBindWaylandDisplay fails during wl init
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
65fe42fdef
avoid object hide animations during shutdown
2017-08-11 18:48:49 -04:00
Mike Blumenkrantz
31994d4876
don't center wl popups on their parents
...
ref b817db7f09
2017-08-11 18:48:49 -04:00
Marcel Hollerbach
3aa126a90d
meson: build again without wayland
2017-08-11 19:29:36 +02:00
Carsten Haitzler
4b6e25d6c4
meson - remove uneeded array definition for files
...
files is alrteady an array of file objects...
2017-08-11 20:47:21 +09:00
Carsten Haitzler
e464449511
meson build - simplify 3 more wl modules to use generic parent harness
...
this makes wl_text_input wl_desktop_shell and wl_weekeyboard use the
generic build, add to the src list the generated files
2017-08-11 20:44:38 +09:00
Carsten Haitzler
16a702ac73
meson - make modules with helper binaries simpelr to build
...
this makes modules with a binary helper simpler to build using the
parent module build harness as much as possible. i probably could
simplify this down to a single binary only and it is either setuid or
not... define the deps and flags ... it could be a bit simpler. not
much. i also removed the if's in the build for battery and ifdefs in
src handle it instead (imho simpler to maintain in src). sysinfo still
uses the if's there.
2017-08-11 19:50:48 +09:00
Carsten Haitzler
fe7c39fa18
e_start - remove evas deps - don't need them.
...
e_start isnt really using evas atm - cserve2 env vars arent being set
so remove it - e_start can start a little faster with less linking...
good for startup time perhaps and mem footprint of e_start while it
babysits
2017-08-11 15:43:39 +09:00
Carsten Haitzler
ead1be7bd6
meosn build - go back to requires_e it's uses in main meson.build
2017-08-11 14:35:24 +09:00
Cedric Bail
77e4b72d2b
alert: protect use of drm code inside the proper ifdef.
2017-08-10 21:43:17 -07:00
Davide Andreoli
ee412d8913
pkit gadget: a better initial config
2017-08-11 05:53:15 +02:00
Davide Andreoli
2222ba2081
pkit gadget: use genlist instead of list
...
* feature a double-label version with more info for packages
* swapped icon placement, much better for space usage now
2017-08-11 05:53:15 +02:00
Carsten Haitzler
2349a298f0
meson build - reformat and trim build files a bit to be more compact
...
working on it...
2017-08-11 08:28:23 +09:00
Derek Foreman
022dd52cd9
Remove more pre-ecore-drm2 stuff
...
We no longer need a HAVE_DRM2 define since it's become synonymous with
HAVE_WL_DRM.
2017-08-10 13:32:15 -05:00
Cedric BAIL
d8b9ea9f9b
wl_drm: do not say you have wl_drm backend in config.h when you have not.
2017-08-10 10:27:49 -07:00
Derek Foreman
1cdbcb0d94
Resynch with weston's dmabuf implementation
...
Weston's dmabuf implementation continues to be modular enough that we can
pull it in with minimal change.
This updates us to version 3 of the protocol - required by recent mesa to
use dmabuf buffers instead of wl_drm ones.
Currently only contains stubs for format query.
2017-08-10 11:32:45 -05:00
Carsten Haitzler
c80766dfa2
e meson build - refactor and clean up config and some module only cfg
...
config that is only needed fro modules only needs to be don in the
modules subdir meson.build... i tried doing what modules do but output
files cant have paths.
2017-08-10 23:14:12 +09:00
Marcel Hollerbach
bcf0110277
meson: we need to link dl
2017-08-10 15:47:44 +02:00
Marcel Hollerbach
4af2976a54
meson: add HAVE_DRM2 and HAVE_WL_DRM
...
for now i just added HAVE_WL_DRM but its just the same as
USE_MODULE_WL_DRM, maybe we can replace HAVE_WL_DRM once autotools is
gone, so we have a clear pattern.
2017-08-10 15:31:33 +02:00
Davide Andreoli
016b432793
pkit gadget: use elm widgets directly
2017-08-10 10:36:25 +02:00
Derek Foreman
15cb70f13a
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-09 15:10:44 -05:00
Derek Foreman
0b26bdc2f8
Stop doing complicated things after a segfault
...
The chance of any of this succeeded is near zero, and it sometimes ends
up in a tight loop after a crash.
2017-08-09 15:10:41 -05:00
Derek Foreman
0fd23928f0
Add a compatibility layer to protect against ecore_drm2 api change
...
In case we roll an E release before the next EFL one, we need these
API changes to be hidden.
Later we can remove this...
2017-08-09 14:59:26 -05:00
Derek Foreman
50169af1db
Update to recent ecore_drm2 changes
2017-08-09 14:59:25 -05:00
Carsten Haitzler
dc9879c6ef
meson build - fix use module defines to be upper case again
2017-08-09 09:24:55 +09:00
Carsten Haitzler
24cf739b2c
meson build - geolocation - indent the same as other files
2017-08-09 09:22:26 +09:00
Carsten Haitzler
71e1744147
e - conf_display - fix meson build break which dropped a src file
2017-08-09 09:17:36 +09:00
Marcel Hollerbach
5b03bfabc3
pager: do not define Config twice
2017-08-08 18:46:45 +02:00
Marcel Hollerbach
2888072547
meson: underscrorify the module name
...
otherwise we could confuse the prepocessor of c
2017-08-08 18:38:37 +02:00
Marcel Hollerbach
c0e6628651
meson: port geolocation
2017-08-08 18:38:37 +02:00
Marcel Hollerbach
1caa140503
meson: port music-control
2017-08-08 18:38:37 +02:00
Marcel Hollerbach
29901d67b2
meson: use file instead of doing the relative path by hand
...
a reason for doing that is that you can just pack together targets into
a array and pass them to our helper, and the helper will just handle
them, so even module with eldbus codegen etc is now supported.
This also means that we are just passing the src object directly into
the shared_module call, which means the user of our helper can just pack
everything he needs into the src var and the helper does not need to
know about it.
2017-08-08 18:38:37 +02:00
Mike Blumenkrantz
fd6f9f1c14
destroy gadget configs when deleting a gadget site
2017-08-07 14:48:07 -04:00
Mike Blumenkrantz
795d8de8c7
set clock gadget id on creation
...
fix T5851
2017-08-07 14:43:37 -04:00
Mike Blumenkrantz
08d70dd958
clamp internal win min/max size hints to 0
...
ref T5845
2017-08-07 11:04:23 -04:00
Mike Blumenkrantz
0bea40f4dd
do not defer wl gl init
2017-08-07 10:29:00 -04:00
Carsten Haitzler
3ee5a0378d
e - do workaround with in events due to flags to get ptr focus right
...
so we egnore some mouse in evets due to their flags (crossing events
thansk to grab changes or other stuff) that we want to ignore for
other reasons like when a popup menu happens and so on... so if we get
a mouse in... 0.1 sec later double check where the pointer is with a
poll then fix focus. this should patch over a long standing annoyance
here in x11.
@fix
2017-08-06 18:34:42 +09:00
Carsten Haitzler
4fe7827af2
fix fallthrough warnings and tag as fallthrough
...
this code was intending to do this.. so tag as such
2017-08-05 12:37:39 +09:00
Al Poole
6bd2d74cdc
sysinfo: fix single-core OpenBSD results.
...
Summary:
Basically missed this one. CPU_STATES is 6 as it's still supposedly a work-in-progress. But we only need 5 for all
queries (for now).
Reviewers: stephenmhouston, zmike!
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5070
2017-08-04 17:22:32 -04:00
Mike Blumenkrantz
1a622a68ed
make mouse-activated menus function as expected with 0 passed as activate time
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
5cfc3c846e
make menu_show action pop the menu in automatically-calculated direction
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
541e33fc73
don't arbitrarily bind version=1 for wl extension resources
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
c1cf0249a0
make action routes usable in subcompositors
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
862b02adc8
extend key action routing for general action contexts
...
this allows authorized clients to activate validated actions
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
8748b197fa
implement action routing for wayland clients
...
this allows a wayland client to request that a given action name be bound
to the requested surface using a mode to restrict activation of the binding
modes include:
* shared
- activated when any surface from the client has focus
* topmost
- activated when the requested surface has focus and is the topmost client
* exclusive
- activated when the requested surface has focus; blocks other action routes
#SamsungFeatures
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
01b7cf8227
add function to return a currently-active menu
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
fa3c7655c2
split out gadget enums into separate header
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
d5a1b30ab4
add gadget site as param for gadget wizard callbacks
...
it's important to be able to track this lifetime in order to cancel the
wizard if the site is deleted
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
09aee20e3c
save config automatically when removing gadgets
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
cb3911cc3a
make client size hints apply more accurately
...
* clamp min/max first
* only apply step adjustments when obeying min/max sizes
* make aspect calculations more accurate
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
c804650482
rescale x11 clients after fetching hints
...
ensure that clients initially respect useful geometry after size hints
have been fetched
2017-08-04 16:05:16 -04:00
Mike Blumenkrantz
f892b360fe
optimize setting zone useful geometry as dirty
...
if this would result in a no-op then don't emit event or trigger client
rescaling
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
2c3f65d6f8
apply client hints when rescaling a client
...
ensure rescales obey hints
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
daedf48a4b
add module file to E_Module struct
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
cb80d5157c
more accurately determine gadget editor visibility
...
ref 2675422e9d
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
81fe0b4d49
set gadgets in the editor's pointer site as moving
...
prevent random resizes during gadget layout
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
2f97cb69db
finish wl window stacks
...
fix T5350
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
29617bf80b
move Ecore_X_Stack_Type member from client to x11 comp_data
...
no functional changes
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
b817db7f09
center wl clients on their parent when doing first commit
...
this resolves some bizarro pointer warping
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
1814080164
do not add delete/kill request smart callbacks for non-internal wl clients
...
this is not functional for other windows
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
4e86fb57e1
restack child windows on parent_set() even if child is ignored
...
ensure that this happens as expected since it may not occur elsewhere for
some cases
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
0ada5a03bb
remove wizards from time module gadgets
...
these were added mostly for the purpose of testing the wizard functionality,
but a wizard should only be used when a gadget cannot function without being
configured
ref T5796
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
6d5bb4ac5c
use explicit rounding for bryce scaling
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
7eba1a99ed
track zone states and modify bryces accordingly
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
d66ee1a729
mark zone useful geometry as dirty when applying move/resize
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
519cf154fa
deduplicate zone move/resize code
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
e5f60c6aee
rescale clients on useful geometry dirty
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
d2c2f48bec
break out client rescaling into separate function
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
7a3876ffc9
add and use new event for zone useful geometry changing
...
many times it's useful to have an event for actual zone geometry change
vs useful geomtry change, so split this out and use the right handler where appropriate
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
fe95a5841f
do not immediately rescale windows when changing zone geometry
...
this is already handled later in e_comp_canvas_update()
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
4ced6d8591
clamp vertical bryce size to useful zone geometry
...
this should improve layouts when vertical and horizontal layouts are mixed
2017-08-04 16:05:15 -04:00
Mike Blumenkrantz
ea57b06863
check for desk/zone mismatch in e_zone_desk_useful_geometry_get()
2017-08-04 16:05:15 -04:00