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.
6 years ago
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...
6 years ago
Derek Foreman
50169af1db
Update to recent ecore_drm2 changes
6 years ago
Carsten Haitzler
dc9879c6ef
meson build - fix use module defines to be upper case again
6 years ago
Carsten Haitzler
24cf739b2c
meson build - geolocation - indent the same as other files
6 years ago
Carsten Haitzler
71e1744147
e - conf_display - fix meson build break which dropped a src file
6 years ago
Marcel Hollerbach
5b03bfabc3
pager: do not define Config twice
6 years ago
Marcel Hollerbach
2888072547
meson: underscrorify the module name
...
otherwise we could confuse the prepocessor of c
6 years ago
Marcel Hollerbach
c0e6628651
meson: port geolocation
6 years ago
Marcel Hollerbach
1caa140503
meson: port music-control
6 years ago
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.
6 years ago
Mike Blumenkrantz
fd6f9f1c14
destroy gadget configs when deleting a gadget site
6 years ago
Mike Blumenkrantz
795d8de8c7
set clock gadget id on creation
...
fix T5851
6 years ago
Mike Blumenkrantz
08d70dd958
clamp internal win min/max size hints to 0
...
ref T5845
6 years ago
Mike Blumenkrantz
0bea40f4dd
do not defer wl gl init
6 years ago
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
6 years ago
Carsten Haitzler
4fe7827af2
fix fallthrough warnings and tag as fallthrough
...
this code was intending to do this.. so tag as such
6 years ago
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
6 years ago
Mike Blumenkrantz
1a622a68ed
make mouse-activated menus function as expected with 0 passed as activate time
6 years ago
Mike Blumenkrantz
5cfc3c846e
make menu_show action pop the menu in automatically-calculated direction
6 years ago
Mike Blumenkrantz
541e33fc73
don't arbitrarily bind version=1 for wl extension resources
6 years ago
Mike Blumenkrantz
c1cf0249a0
make action routes usable in subcompositors
6 years ago
Mike Blumenkrantz
862b02adc8
extend key action routing for general action contexts
...
this allows authorized clients to activate validated actions
6 years ago
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>
6 years ago
Mike Blumenkrantz
01b7cf8227
add function to return a currently-active menu
6 years ago
Mike Blumenkrantz
fa3c7655c2
split out gadget enums into separate header
6 years ago
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
6 years ago
Mike Blumenkrantz
09aee20e3c
save config automatically when removing gadgets
6 years ago
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
6 years ago
Mike Blumenkrantz
c804650482
rescale x11 clients after fetching hints
...
ensure that clients initially respect useful geometry after size hints
have been fetched
6 years ago
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
6 years ago
Mike Blumenkrantz
2c3f65d6f8
apply client hints when rescaling a client
...
ensure rescales obey hints
6 years ago
Mike Blumenkrantz
daedf48a4b
add module file to E_Module struct
6 years ago
Mike Blumenkrantz
cb80d5157c
more accurately determine gadget editor visibility
...
ref 2675422e9d
6 years ago
Mike Blumenkrantz
81fe0b4d49
set gadgets in the editor's pointer site as moving
...
prevent random resizes during gadget layout
6 years ago
Mike Blumenkrantz
2f97cb69db
finish wl window stacks
...
fix T5350
6 years ago
Mike Blumenkrantz
29617bf80b
move Ecore_X_Stack_Type member from client to x11 comp_data
...
no functional changes
6 years ago
Mike Blumenkrantz
b817db7f09
center wl clients on their parent when doing first commit
...
this resolves some bizarro pointer warping
6 years ago
Mike Blumenkrantz
1814080164
do not add delete/kill request smart callbacks for non-internal wl clients
...
this is not functional for other windows
6 years ago
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
6 years ago
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
6 years ago
Mike Blumenkrantz
6d5bb4ac5c
use explicit rounding for bryce scaling
6 years ago
Mike Blumenkrantz
7eba1a99ed
track zone states and modify bryces accordingly
6 years ago
Mike Blumenkrantz
d66ee1a729
mark zone useful geometry as dirty when applying move/resize
6 years ago
Mike Blumenkrantz
519cf154fa
deduplicate zone move/resize code
6 years ago
Mike Blumenkrantz
e5f60c6aee
rescale clients on useful geometry dirty
6 years ago
Mike Blumenkrantz
d2c2f48bec
break out client rescaling into separate function
6 years ago
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
6 years ago
Mike Blumenkrantz
fe95a5841f
do not immediately rescale windows when changing zone geometry
...
this is already handled later in e_comp_canvas_update()
6 years ago
Mike Blumenkrantz
4ced6d8591
clamp vertical bryce size to useful zone geometry
...
this should improve layouts when vertical and horizontal layouts are mixed
6 years ago