Amitesh Singh
4d340f2114
Revert "re-enable building against latest efl git"
...
This reverts commit a782beba82
.
the legacy API was missing. I added it in EFL now.
Refer 1264fb4af2 in EFL.
Fixes T6500
2017-12-13 13:45:35 +09:00
Chris Michael
a782beba82
re-enable building against latest efl git
...
In EFL git head, this function has changed to be just
evas_object_coords_inside_get. This patch wraps the two different
function names around an #ifdef so we can check EFL version that we
are building against and call the correct function accordingly.
Fixes T6500
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-12 10:19:37 -05:00
Marcel Hollerbach
fbc72ceaee
build: fix build on picky systems
...
there are a few systems out there that are checking the .so files that
are linked dynamically into a created shared library. This leads to a
problem, since the .so files often also carries unresolved symbols,
which are resolved by other dynamic linked .so files. However, to ship
arround those picky systems, we are not reacting to unresolved symbols
at all for now. The error will rise at runtime and come up in a nice
little dialog instead.
this fixes build on bsd
2017-12-11 15:49:07 +01:00
Marcel Hollerbach
45aeda7843
build: enable -lintl if we find it
...
otherwise translations are not working
2017-12-11 15:47:33 +01:00
Chris Michael
8f5299be08
wl-drm: Enable all degrees of screen rotation
...
This patch enables all degrees of rotation to be selectable in the
Screen Setup dialog. It then applies the rotation based on hardware or
software ... that is, if the hardware can do the selected rotation,
then we use hardware otherwise we will use ecore_evas_rotation
functions (software).
ref T5999
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-05 10:10:57 -05:00
Stephen Houston
2b165e75e3
Lunchers: If hide tooltips is set, don't even show them on delay.
2017-12-04 14:44:52 -06:00
Stephen Houston
b19cceb224
Luncher: Add config options to not show tooltips on mouse in
2017-12-04 10:35:59 -06:00
Marcel Hollerbach
9581a48280
meson: wl_drm now requires libdrm
...
this fixes building
2017-12-03 13:16:01 +00:00
Marcel Hollerbach
c1177a1c15
meson: fix build
...
everything that includes e.h needs deps_e as dependencys, otherwise headers may not be found
2017-12-03 13:14:39 +00:00
Chris Michael
c3f630d36c
vkbd: Fix null pointer dereference
...
These look like simple copy-paste issues however coverity was
reporting null pointer dereferences here so fix those.
Fixes Coverity CID1382959
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-01 08:58:27 -05:00
Chris Michael
24937bfca3
vkbd: Remove whitespace
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-12-01 08:57:11 -05:00
Chris Michael
3a7f132560
conf-randr: No need to set this variable twice
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-11-28 11:17:07 -05:00
Carsten Haitzler
a2740126f1
e client - fix initial placement of override redirect windows in x....
...
several override redirect windows are being forcibly re-placed by e.
they should not be. ever. this affects scim's IM panel i see and
chromium's menus. it probably affects more than this. this fixes both
of these cases for sure. probably more.
@fix
2017-11-26 00:28:31 +09:00
Stefan Schmidt
ff9831e2e4
meson: make it possible to set the path for eldbus-codegen
...
find_program() did not detect the eldbus-codegen binary in a given
prefix. Which is a situation we have on Jenkins builds. Make it an
option that can be set like we already do with edje_cc.
If there is a more meson-like approach to this I do not know feel free
to enlight me.
2017-11-23 16:00:28 +01:00
Mike Blumenkrantz
bd88282047
remove autotools
2017-11-20 07:05:36 -05:00
Andy Williams
3ab6bf7eb5
music-control - Fix build after raster's file rename
2017-11-19 13:01:57 +00:00
Carsten Haitzler
25ddb6055d
music-control - add rage mpris support
2017-11-17 19:42:06 +09:00
Carsten Haitzler
f4d2d02ba0
music-control - install properly with meson build with icon
...
@fix
2017-11-17 12:18:10 +09:00
Carsten Haitzler
9fe7343180
fix mouse hangs after unblank
...
this fixes T5883
2017-11-14 18:15:26 +09:00
Derek Foreman
db9e70708a
Make e_gadget_runner.c compile on efl 1.20
...
It won't work, but it won't fail to build. Temporary hack until 1.21
is released.
2017-11-09 12:39:24 -06:00
Mike Blumenkrantz
8b798d9fb0
move x11 client re_manage code into corresponding NEW_CLIENT hook
...
setting desk after e_client_new() completes is too late, as a desk will have
been automatically set by this time and any existing positioning data will
have been mangled in the process
fix T6317
2017-11-08 09:29:35 -05:00
Mike Blumenkrantz
f05b26c8a3
set zone/desk for clients after creating comp object
...
previously this resulted in attempting to move the comp object before it
was created, but evas does not throw any errors when null is passed and so
it was never noticed
fix T6317
ref T6326
2017-11-08 09:29:28 -05:00
Mike Blumenkrantz
a7d5920ba6
unset E_Client->changes.pos for re_manage clients
...
I think this was unintentionally working around a placement bug?
2017-11-08 09:28:52 -05:00
Mike Blumenkrantz
99db9e2557
more E_BITFIELD conversions
2017-11-08 09:22:24 -05:00
Mike Blumenkrantz
791f70541d
unify meson version requirements for efl
2017-11-07 10:41:45 -05:00
Mike Blumenkrantz
4178e87518
use last client from E_Exec_Instance list when updating luncher popups
...
the last client is the most recently-added
fix T6288
2017-11-07 10:40:14 -05:00
Mike Blumenkrantz
19a807bdb2
always emit E_EVENT_COMP_OBJECT_ADD events
...
fix T6322
2017-11-07 10:40:12 -05:00
Mike Blumenkrantz
3fb8253edb
prevent double shutdown of x11 compositor in xwayland mode
...
only do shutdown in xwl module if not actively shutting down
2017-11-07 10:40:05 -05:00
Mike Blumenkrantz
e7cfd06675
avoid performing client rescales during shutdown
2017-11-07 10:40:00 -05:00
Mike Blumenkrantz
59fa0e418d
use E_BITFIELD define for bitfield struct members
...
on release builds this will be a bitfield, on devel builds it will make
bools a normal unsigned char for easier debugging
2017-11-07 10:39:56 -05:00
Mike Blumenkrantz
f78eb3c108
requeue client for render if show animation completes and damages exist
...
attempt to catch clients which have a render queued prior to the image
becoming visible
2017-11-07 10:39:33 -05:00
Mike Blumenkrantz
18de7db6f6
do not add iconify provider for luncher when creating a demo gadget
2017-11-07 10:39:26 -05:00
Mike Blumenkrantz
a5adcb1df7
destroy luncher iconify provider on gadget delete
...
this is removed on object delete, not config delete
fix T6258
2017-11-07 10:39:22 -05:00
Mike Blumenkrantz
dde4bafd7f
add field width limits to all fscanf params in e_intlc.
...
fix T6316
2017-11-07 10:39:17 -05:00
Carsten Haitzler
147bc7a6da
e comp object - patch volume update case for propagating state signals
...
complete f161edc3f3
with missing update
case
@feature
2017-11-07 16:16:33 +09:00
Carsten Haitzler
f161edc3f3
comp object -> propgate signals to the volume objects from the frame
...
if frame changes (eg by focus signals) the volume object cant adapt.
send signals to it too so it can adapt if it wants to.
@feat
2017-11-07 15:41:35 +09:00
Mike Blumenkrantz
c1a3ec9940
improve meson build module disabling
...
ref 61ddcb25e6075e5e6a5436dc6f981e45317c5d7d
2017-11-06 06:32:36 -05:00
Carsten Haitzler
4f5067dde9
hits: silence warnings about possible null string for strcmp
2017-11-06 11:19:39 +09:00
Carsten Haitzler
dd9a6637e4
e sys - frix warning for less noise
...
though act will not be set unless mnt is also true... this means less
noise from compiler wanrings so we can focus on real errors.
2017-11-06 10:24:37 +09:00
Mike Blumenkrantz
763c67a68d
check meson module option state before executing subdir
...
fix module disabling
2017-11-03 14:18:42 -05:00
Mike Blumenkrantz
b40398ab30
make autotools build depend on protocol xml files to pull in changes
2017-11-03 14:01:17 -04:00
Mike Blumenkrantz
aeee701b63
fix undefined symbols on autotools+wayland build
2017-11-03 14:01:14 -04:00
Mike Blumenkrantz
ecb0370ea9
save sandbox gadget configs when saving normal gadget config
2017-11-03 13:51:41 -04:00
Mike Blumenkrantz
2e81e5f8de
disable sandbox gadgets if loader cannot be found on startup
2017-11-03 13:51:12 -04:00
Mike Blumenkrantz
b8f8c42aec
make wl_pointer cursor handling state-based to correctly handle cursor visuals
...
this fixes a lot of corner cases such as apps which set their cursor before
receiving pointer.enter events
2017-11-03 13:21:57 -04:00
Mike Blumenkrantz
58e686caec
show internal pointer cursor whenever resetting to internal cursor
...
don't rely on efl internals for this
2017-11-03 13:19:54 -04:00
Mike Blumenkrantz
8948a05296
unset wayland cursor for all pointers when running nested in wl
2017-11-03 13:18:37 -04:00
Mike Blumenkrantz
f335191e75
create wl output resource when running in wl nested
2017-11-03 12:15:30 -04:00
Mike Blumenkrantz
f4470e002e
add gadget sandboxing
...
docs in progress, tasks https://phab.enlightenment.org/project/board/179/
2017-11-03 11:47:35 -04:00
Mike Blumenkrantz
9302f23a56
bump efl pc required version
2017-11-03 11:43:07 -04:00
Carsten Haitzler
2be56cd8da
shot - add a padded screenshot so it can also grab shadows/surrounds
...
nice to get a shot that also has the shadows etc. add as menu and
param options
@feature
2017-11-03 16:16:45 +09:00
Mike Blumenkrantz
b36ad3c73b
correct some edje api usage in luncher preview setup
2017-11-02 07:33:52 -04:00
Mike Blumenkrantz
753df97428
disable cpuclock powersave updating for demo gadgets
2017-11-02 07:31:57 -04:00
Mike Blumenkrantz
3ddd090173
fix non-pam build with meson
2017-11-01 14:04:06 -04:00
Mike Blumenkrantz
577f62e9b1
pass key downs through xkbcommon
...
bad copy/paste in 984a1facd9
2017-11-01 13:20:19 -04:00
Chris Michael
846722277c
Revert "wl-drm: Fix issue of not being able to set output mode"
...
Reverting this in favor of a better way to fix the issue inside EFL
itself.
This reverts commit 5dc1c1c8eb
.
2017-11-01 08:49:55 -04:00
Mike Blumenkrantz
b5320b6246
explicitly free client animation agent object during fullscreen operation
...
ensure that animations do not persist after fullscreen state has been set
2017-10-31 12:04:48 -04:00
Mike Blumenkrantz
0f216c7e95
handle more mouse buttons under wayland
...
this was incorrectly referenced from weston's x11 compositor, which directly
uses xcb events and sends them as wl_pointer events. efl translates all input
events to use the same button scheme numbering, coincidentally enabling the use
of this code for all backends
2017-10-30 10:51:20 -04:00
Mike Blumenkrantz
47df20207d
block wl modal window destructor from intercepting xwl modal windows
...
failing to pass these to the xwl destructor breaks the xserver
ref T5593
2017-10-30 10:29:39 -04:00
Mike Blumenkrantz
ac49e6de22
unset xwayland client changes.pos flag during xwl->wl switch if client is unplaced
...
fixes some initial client positioning issues
2017-10-30 10:29:39 -04:00
Carsten Haitzler
4f8e3acfcf
nvidia driver workaround atexit handlers for pam auth
...
this works around an apparently atexit() handler in nvidia drivers
that if you fork() a parent and do NOT exec() then the child process
will end up messing with the parent processes access to the nvidia
devices/display/whatever i believe via an atexit() handler because
moving from exit() to _exit() solves the issue. fixes T6197
@fix
2017-10-30 13:11:06 +09:00
Carsten Haitzler
3daf3ac456
e main - xdg runtime dir fixup - dont overwrite same buffer
...
this path i never saw triggered before on linux because xdg runtime
dir is set... but if it isn't... dont mess up the runtime dir path
@fix
2017-10-28 23:43:50 +09:00
Mike Blumenkrantz
3d701839b6
send wl pointer leave for deleted clients if viable
2017-10-27 13:21:03 -04:00
Mike Blumenkrantz
bbb3ec1fc5
unset client's mouse-in state on mouse out even while fullscreen or deleted
...
the state should always be updated regardless of these attributes
2017-10-27 13:21:03 -04:00
Carsten Haitzler
32be41d505
ptr grab/ungrab for blank/unblank - log stages and work done for debug
...
looking to get more info for what is going on...
2017-10-26 10:50:37 +09:00
Chris Michael
5dc1c1c8eb
wl-drm: Fix issue of not being able to set output mode
...
If we pass in screen geometry here when trying to set an output mode,
we can encounter "out of memory" errors from libdrm with outputs that
have a high resolution. As it turns out, we should be passing 0, 0 for
the x/y values when trying to set an output mode.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-10-25 15:28:46 -04:00
Derek Foreman
fa1a858356
Fix crash on wayland logout if xwayland hasn't started yet
...
If xwayland hasn't started yet then the root window id is 0, which is
invalid, so we crash in e_comp_x_shutdown.
2017-10-25 14:17:10 -05:00
Derek Foreman
930cf317d6
Clear stored root window id when shutting down X
...
Currently e_comp_util_has_x() will still return true after the X
machinery is shut down - this can lead to crashes on logout under
wayland when xwayland apps are running. Clearing the root window
id resolves this.
@ref T5593
2017-10-25 10:45:05 -04:00
Mike Blumenkrantz
c09b2f35dd
add client refs for volume control sinks
...
ref T6150
2017-10-25 10:45:05 -04:00
Mike Blumenkrantz
40be5b9d45
move x11 compositor cleanup into shutdown function
2017-10-25 10:45:05 -04:00
Derek Foreman
680b7b485d
Fix xwayland related crash when mousing out of a window
...
XWayland likes to set a buffer on the cursor surface then delete it before
we release it. I'm pretty sure when a client does that we're within spec
to just kill it, but users will likely find this response ungratifying.
So, instead, just gracefully fail to render the undefined surface.
@ref T5593
2017-10-24 13:57:00 -05:00
Mike Blumenkrantz
02ea045ca7
cancel wl selections after removing destroy listener
...
cancel may destroy the selection source, resulting in invalid access
==10735== Invalid write of size 8
==10735== at 0x87C8095: wl_list_remove (wayland-util.c:56)
==10735== by 0x2EE745: _e_comp_wl_data_device_selection_set (e_comp_wl_data.c:506)
==10735== by 0x2EF241: _e_comp_wl_data_device_cb_selection_set (e_comp_wl_data.c:714)
==10735== by 0x1021F037: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==10735== by 0x1021EA99: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==10735== by 0x87C70C0: wl_closure_invoke (connection.c:935)
==10735== by 0x87C13C8: wl_client_connection_data (wayland-server.c:406)
==10735== by 0x87C4483: wl_event_source_fd_dispatch (event-loop.c:90)
==10735== by 0x87C4DE4: wl_event_loop_dispatch (event-loop.c:423)
==10735== by 0x85AE346: _cb_create_data (ecore_wl2_display.c:399)
==10735== by 0x946857A: _ecore_call_fd_cb (ecore_private.h:347)
==10735== by 0x946AE51: _ecore_main_fd_handlers_call (ecore_main.c:2015)
==10735== by 0x946B823: _ecore_main_loop_iterate_internal (ecore_main.c:2403)
==10735== by 0x946935E: ecore_main_loop_begin (ecore_main.c:1308)
==10735== by 0x151139: main (e_main.c:1088)
==10735== Address 0x222ca980 is 16 bytes inside a block of size 136 free'd
==10735== at 0x4C2CE1B: free (vg_replace_malloc.c:530)
==10735== by 0x2F076F: e_comp_wl_clipboard_source_unref (e_comp_wl_data.c:1291)
==10735== by 0x214C6A09: _xwayland_send_cancelled (dnd.c:149)
==10735== by 0x2EE71D: _e_comp_wl_data_device_selection_set (e_comp_wl_data.c:504)
==10735== by 0x2EF241: _e_comp_wl_data_device_cb_selection_set (e_comp_wl_data.c:714)
==10735== by 0x1021F037: ffi_call_unix64 (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==10735== by 0x1021EA99: ffi_call (in /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4)
==10735== by 0x87C70C0: wl_closure_invoke (connection.c:935)
==10735== by 0x87C13C8: wl_client_connection_data (wayland-server.c:406)
==10735== by 0x87C4483: wl_event_source_fd_dispatch (event-loop.c:90)
==10735== by 0x87C4DE4: wl_event_loop_dispatch (event-loop.c:423)
==10735== by 0x85AE346: _cb_create_data (ecore_wl2_display.c:399)
==10735== by 0x946857A: _ecore_call_fd_cb (ecore_private.h:347)
==10735== by 0x946AE51: _ecore_main_fd_handlers_call (ecore_main.c:2015)
==10735== by 0x946B823: _ecore_main_loop_iterate_internal (ecore_main.c:2403)
==10735== by 0x946935E: ecore_main_loop_begin (ecore_main.c:1308)
==10735== by 0x151139: main (e_main.c:1088)
==10735== Block was alloc'd at
==10735== at 0x4C2DC05: calloc (vg_replace_malloc.c:711)
==10735== by 0x2F0520: e_comp_wl_clipboard_source_create (e_comp_wl_data.c:1231)
==10735== by 0x214C71C9: _xwl_selection_notify (dnd.c:286)
==10735== by 0x946130C: _ecore_call_handler_cb (ecore_private.h:331)
==10735== by 0x94626BC: _ecore_event_call (ecore_events.c:629)
==10735== by 0x946B83E: _ecore_main_loop_iterate_internal (ecore_main.c:2408)
==10735== by 0x946935E: ecore_main_loop_begin (ecore_main.c:1308)
==10735== by 0x151139: main (e_main.c:1088)
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
160d6b91a0
null wl clipboard+selection source pointers when destroying clipboard source
...
fix T6242
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
b24b68df77
set null input regions for surfaces upon calling set_cursor or start_drag
...
these surfaces have no input region according to spec
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
5cab9486f3
ignore set_input_region requests for wl surfaces which are cursors or drags
...
according to spec this is correct behavior
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
b3356a7e8f
do not unqueue render when deleting a client's render update
...
a render loop may run for reasons other than rendering a specific client
2017-10-20 13:40:20 -04:00
Mike Blumenkrantz
ef69fabd47
add client refs for the nocomp client
...
this client may be referenced after deletion during render loop
fix T6151
2017-10-20 13:40:20 -04:00
Carsten Haitzler
0fada40917
smart suspend - honor suspend on ac or not flag as it should
...
so if you closed the lid ANd didn't have external screens ANd had ac
plugged in ... e would suspend even if youdidn't have "suspend on ac"
checked in blanking dialog. respect this and handle it properly.
@fix
side note... i've notced acpid no longer reporting lid events on one
of my systems. this is very sucky. you now have to open
/dev/input/event2 (this may vary from device to device) to get lid
events... it's an input device. this means elput needs to start doing
this as we cant get power button or lid events anymore .... and we may
have to do this for x11 too.
2017-10-18 13:33:47 +09:00
Carsten Haitzler
929037aaa0
battery modules - actually set ac power flag based on ac presence
...
this should fix T3649
@fix
2017-10-18 13:32:50 +09:00
Mike Blumenkrantz
f20765df67
add render update when showing clients if damages exist
...
ensure that these clients render as expected
ref T5593
2017-10-13 09:46:19 -04:00
Stephen Houston
39b0632f40
Align the preview properly.
2017-10-11 16:21:23 -05:00
Stephen Houston
c234be9485
Luncher: Don't manually apply min sized aspect - The edje aspect set call handles this.
2017-10-11 14:08:15 -05:00
Stephen Houston
213bb6ba32
Luncher: Keep aspect on previews - don't force max sizes.
...
This fixes T6074 T6075
2017-10-11 14:03:57 -05:00
Mike Blumenkrantz
28ff209159
recreate x11 root pointer when changing application<->enlightenment theme
...
force new visual to be applied immediately instead of requiring a compositor
restart
2017-10-09 07:09:38 -04:00
Mike Blumenkrantz
fd68c99b64
always use e cursor theme for canvas pointers
...
canvas pointer = wl compositor pointer = always use e theme since there is no
loader for x11 cursors
2017-10-09 07:09:38 -04:00
Mike Blumenkrantz
caab810b39
check for non-wl compositor when forcing application cursors onto pointers
...
comp_type is not set during initial pointer creation on startup but will be set at
the point of xwl startup, so use a check which will succeed
fix T6157
ref 2b8c70fe98
2017-10-09 07:09:38 -04:00
Mike Blumenkrantz
03982a1408
Revert "do not apply enlightenment cursor theme for xwayland clients"
...
This reverts commit 80abcc5600
.
sort of worked, sort of irrelevant
2017-10-09 07:09:38 -04:00
Carsten Haitzler
b60ff200e9
e sys - handle phantom wakeups from sleep on some devices
...
this laptop wakes from suspend if you plug or unplug it while
suspended. this leads to bad things. fix nthis by checking lid state
and resuspending if this happens.
@fix
2017-10-07 20:28:24 +09:00
Mike Blumenkrantz
eba50312b4
use e_client_unfullscreen() to handle xdg-shell unfullscreen requests
...
ensure that previous window states get accurately reapplied when unfullscreening,
e.g., maximize
2017-10-06 11:36:53 -04:00
Mike Blumenkrantz
d7a08ed74e
block relative motion event sending when pointer is outside input area
...
stop sending events to xwl clients at all times
2017-10-05 12:26:19 -04:00
Mike Blumenkrantz
80abcc5600
do not apply enlightenment cursor theme for xwayland clients
...
wayland always uses the client's cursor, so maintain that consistency
2017-10-05 11:42:24 -04:00
Mike Blumenkrantz
b49e968d74
move cursor theme options into separate frame
2017-10-05 11:28:41 -04:00
Mike Blumenkrantz
f0ab6a74f5
do not show cursor theme options in wayland compositor mode
...
this isn't how wayland works, so don't let users footgun themselves
2017-10-05 11:25:07 -04:00
Mike Blumenkrantz
99cfdbffda
move 'show cursor' option in mouse settings inside frame
2017-10-05 11:20:18 -04:00
Mike Blumenkrantz
474845bc6f
Revert "disable option for mouse to use Application theme if we are running in Wayland"
...
This reverts commit 9e3b8b7528
.
this only affects runtime in wayland-only environments while not preventing the option
from taking effect, meaning it affects nobody and prevents nothing
2017-10-05 11:15:54 -04:00
Mike Blumenkrantz
2b8c70fe98
set default cursor on root window for xwl pointer
...
ref T5593
#TheDisappointer
2017-10-04 14:09:35 -04:00
Mike Blumenkrantz
8121f20a03
handle x11 shaped input under xwayland
2017-10-03 14:59:47 -04:00
Mike Blumenkrantz
b686f3871d
add max size input rects for wl clients on creation
...
according to spec, surfaces begin with infinite input area
2017-10-03 14:40:36 -04:00
Mike Blumenkrantz
9983172f32
set comp object alpha state when applying native surface
...
ensure that alpha is set accurately for the native surface
2017-10-03 14:40:03 -04:00
Mike Blumenkrantz
4d76f409f8
block gadget configuration unconditionally while desklock is active
2017-10-03 13:52:44 -04:00
Mike Blumenkrantz
031b0bdc60
deduplicate global gadget handler variables
...
ref T6125, T4648
2017-10-03 13:50:16 -04:00
Mike Blumenkrantz
d7060c7c6f
redo bryce eventing
...
post events are way harder and I don't know why I didn't do this in the
first place?
fix T5974
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
990c0f1005
do ecore-x shutdown on xwayland shutdown
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
6f186db24b
clamp expanding gadget size to 0 to prevent sizing overflows
...
if the expanded size is negative then the size should be 0 and the gadget is
not visible
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
7c726172e4
handle gadget site layouts using accurate parent geometry
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
42d707909e
simplify focus on commit block for wl clients
...
none of this applies to popups
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
001085f349
do not set E_Client->take_focus for popup wl clients
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
984a1facd9
pass keys through xkbcommon under wayland lockscreen
...
ensure that key states are retained when unlocking
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
4ae2145330
move gadget editor help text onto the editor popup
...
ref T4648
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
2d2ad13537
add comp object function to get the content of a util_add object
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
b873f9bd45
defer wl startup apps until after xwayland init completes
...
startup apps may require x11 connections, so ensure this is available
fix T6122
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
129bb14d2d
don't show xwayland clients unconditionally on commit
...
ensure that the client's desk is visible
fix T6024
2017-10-03 12:39:03 -04:00
Mike Blumenkrantz
1d5977c02a
do not unnecessarily rescale clients
...
this function is mainly for rescaling maximized/fullscreen clients to fit new
dimensions, so don't call on other clients since this can trigger unwanted resize
events
2017-09-28 13:03:37 -04:00
Mike Blumenkrantz
15ea006eb5
block client rescales during render updates
...
this guarantees misrenders
2017-09-28 13:03:37 -04:00
Mike Blumenkrantz
80349d417d
Revert "do not perform client moves during comp updates"
...
This reverts commit def2b0c5fc
.
breaks some resize directions
2017-09-28 13:03:37 -04:00
Stephen Houston
fdbf49af1b
Sysinfo: Cpuclock, Netstatus, and Thermal now use progressbars in the popups to unify and match all sysinfo gadgets.
2017-09-27 17:19:47 -05:00
Stephen 'Okra' Houston
bb4d69519f
E Exe: Semi revert 2082bb51d3
. The ref count was off to begin with.
2017-09-26 22:11:21 -05:00
Stephen 'Okra' Houston
2082bb51d3
E Exe: Since we no longer ref clients in the phony cb, don't free them after reffing them in instance_client_add.
2017-09-26 22:01:15 -05:00
Derek Foreman
a85a602a39
Revert "Set close on exec for stdin"
...
This reverts commit 40e8bb044c
.
EFL master solves this properly
EFL stable currently has a bug that solves this accidentally
so there's a window of about 3 commits in git where it's a problem,
and nobody should run those commits in production :)
This fix caused some problems when restarting E, as stdin would
cloexec and then the following startup would try to set cloexec
on an invalid fd and generate an err that generated a cri because
of an invalid log domain.
Someone should probably figure out the log domain thing.
2017-09-26 14:19:24 -05:00
Derek Foreman
f4f08ee99a
Stop queuing wl_buffer release events
...
Now we just kick them out immediately.
2017-09-26 11:41:19 -05:00
Mike Blumenkrantz
1f650605a0
emit E_EVENT_EXEC_NEW_CLIENT with phony exes
...
partially fix T6071
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
576c8d0864
use client geometry for visibility effect geometry, not comp object geometry
...
clients may defer object geometry setting, resulting in unreliable values here
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
00c968d63c
use correct env vars for connman proxy setting
...
https://curl.haxx.se/docs/manual.html
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
3b319b5ef9
don't do full client rescale on x11 hint change if not maximized/fullscreen
...
regular windows don't get moved here, only resized if hints change
fix T6072
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
fb572c4c9d
fix proxy_excludes handling for connman in previous commit
2017-09-26 12:26:18 -04:00
Leif Middelschulte
67ca168f6f
support proxy settings provided by Connman.
...
Summary:
This implements support for Connman's proxy configuration.
The 'all_proxy', 'http_proxy', 'https_proxy' environment
variables are set to the first value of the 'proxy_servers' set.
The 'no_proxy' environment variable is set to a concatenated string
of all the 'proxy_exclude' values.
Reviewers: zmike!
Subscribers: cedric
Maniphest Tasks: T5442
Differential Revision: https://phab.enlightenment.org/D4833
modified by zmike
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
8d55575bcf
remove input-only client fastpath to resize crashes
...
ref T6023
2017-09-26 12:26:18 -04:00
Mike Blumenkrantz
def2b0c5fc
do not perform client moves during comp updates
...
this can trigger zone changes, which triggers resizes, which is bad
ref T6023
2017-09-26 12:26:18 -04:00
Derek Foreman
51c492fcad
use safer ecore_exe flags that close stdin/out/err more often
...
commit b9d166f804
introduced
safer exe functions that both prevent a child from having E's
stdin/stdout/stderr and ensure the child's fd 0 (and 1 and 2) are
"valid" file descriptors (to work around some buggy software that
assumes 0 is an invalid file descriptor)
This commit uses the safer functions when launching child programs from
the desktop menu as well.
ref T5606
@fix
2017-09-25 10:10:49 -05:00
Carsten Haitzler
b9d166f804
use safer ecore_exe flags that close stdin/out/err if possible
...
this is specifically needed for wayland but is relevant to x with
startx too ... dont let processes that e runs like apps inherit
stdin/out/err as it may be a tty and thus allow apps to do nasty
things with that tty.
@fix
2017-09-23 23:10:35 +09:00
Derek Foreman
40e8bb044c
Set close on exec for stdin
...
ref T5606
2017-09-22 21:02:32 -05:00
Derek Foreman
077ae06955
Fix wayland frame callback failure
...
Turns out ecore_animator_add() can randomly pick the wrong canvas to use as
a tick source. Using EFL_EVENT_ANIMATOR_TICK on the compositor evas instead
will ensure we don't accidentally pick an internal window for a tick source.
Fix T6070
2017-09-22 17:00:25 -05:00
Mike Blumenkrantz
4d0ceeb02c
add fd passing to aux hints protocol
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
5694d7af96
add action router action to route specific key presses to specified clients
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
5da5418873
add a client parameter to wl key down/up event processing functions
...
if passed, send the event to the specified client
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
92614d0c69
store the currently active key binding as an accessible variable
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
8cc46fb201
make e_bindings_modifiers_from_ecore() an externally usable function
2017-09-21 13:31:01 -04:00
Mike Blumenkrantz
11a08ebc30
don't perform zone updates on client resize
...
zone updates should probably only happen on client moves, not resizes
ref T6023
2017-09-21 13:31:01 -04:00
Chidambar Zinnoury
0666cd7249
e menu: Fix missing realize when using key-activation to the right.
...
See commit 474463ef6c
, SVN r39698.
2017-09-19 12:50:39 +02:00
Marcel Hollerbach
49788a495d
meson: wizard also link_with here
2017-09-19 08:58:24 +02:00
Carsten Haitzler
320d689c9d
tiling - ensure notification struct is 0'd before use
...
this should fix the last 3 crashdumps reported in T6023
@fix
2017-09-19 07:56:29 +09:00
Chidambar Zinnoury
0adec92696
e about: Year++.
2017-09-18 22:57:06 +02:00
Marcel Hollerbach
d3e2fd1fd0
meson: wl_drm uses elput
2017-09-18 11:20:56 +02:00
Marcel Hollerbach
a69528a01f
meson: teamwork uses emile
2017-09-18 11:20:43 +02:00
Marcel Hollerbach
488fd0ad04
meson: specify that modules have unresolved apis
...
those are presented when they are loaded into e
2017-09-18 11:15:07 +02:00
Mike Blumenkrantz
6a53fe8f93
remove fdo interfaces from music control dbus xml
2017-09-15 13:36:44 -04:00
Mike Blumenkrantz
c478d4aaf4
fix meson wayland build without drm
2017-09-15 13:33:54 -04:00
Mike Blumenkrantz
62acd53a96
avoid div by 0 in gadget layout
...
CID 1381165
2017-09-15 12:16:48 -04:00
Mike Blumenkrantz
50473083d1
remove futile null check
...
CID 1381166
2017-09-15 12:08:42 -04:00
Mike Blumenkrantz
98dbaa9090
fix clickable edge binding activation with other mouse buttons
...
check for the button specified in the binding, not whether the event
contains a click
fix T4510
2017-09-14 15:00:50 -04:00
Mike Blumenkrantz
00daafac10
flag zone/edge mouse binding activation with ON_HOLD
...
ensure multiple bindings aren't triggered by the same event
2017-09-14 14:59:14 -04:00
Mike Blumenkrantz
283a1cd620
handle unmovable gadgets in gadget move action
...
a gadget which refuses to create a duplicate of itself can be considered
immobile
fix T5998
2017-09-14 14:38:14 -04:00
Mike Blumenkrantz
49e2a31cfc
block recursive mouse eventing in bryce action handlers
...
ensure that only the outermost event adds a post callback to avoid
triggering actions multiple times
2017-09-14 14:37:12 -04:00
Mike Blumenkrantz
ccd374e6a2
add some hidden boxes to use as gadget popup hover parents
...
boxes get resized with zone useful geometry to ensure the content is always
on screen and visible
fix T5945
2017-09-14 14:00:39 -04:00
Mike Blumenkrantz
9727710647
hide clients again after show in idler if clients are on hidden desk
...
clients need initial show to correctly handle mirror visibility but should
then be hidden again
ref 0ee8cc896e
fix T6024
2017-09-14 12:45:45 -04:00
Mike Blumenkrantz
b77e01e1dd
use EC_CHANGED when setting changed flag in client idler
2017-09-14 12:43:15 -04:00
Mike Blumenkrantz
164c87b1db
resolve desktop spec issues with emixer.desktop
...
fix T5076
2017-09-13 10:34:06 -04:00
Carsten Haitzler
6972a97d5d
e start - fix path prepend/append if already in path assuming clue
...
"
I have a directory at the head of my PATH that contains alternate
versions of command line utils like grep, ls, etc., but E puts
/usr/bin ahead of it, overriding my tools of choice with the system
defaults.
If my understanding is correct, the only way currently to have
directories that E prepends to your PATH appended instead is to use
-i-really-know-what-i-am-doing-and-accept-full-responsibility-for-it.
I'd like to see a more sane option if there isn't one already.
Alternatively, I wonder if it wouldn't be a better idea to only
prepend directories to PATH if they aren't already contained within
it--thereby preserving the user's desired search order.
"
this should fix T5953
@fix
2017-09-13 18:32:38 +09:00
Carsten Haitzler
82a82c13cc
pkgkit unknown string - fix typo
...
reported by scootergrisen
2017-09-13 06:33:58 +09:00
Mike Blumenkrantz
a5bb9932ee
revert gadget ctxpopup autopositioning attempts
...
I don't think this method would ever have worked reliably
This reverts commit 6f1b75e87b
.
This reverts commit 84e999f5f3
.
2017-09-12 14:37:53 -04:00
Mike Blumenkrantz
6bd97ced9b
handle gadget site layout when last gadget in site is a spacer
2017-09-12 13:36:39 -04:00
Mike Blumenkrantz
20ea0ed150
add/use helper function for rescaling individual clients
...
in any case where client needs to be rescaled to use new screen geometry
certain things must happen, such as handling shaded state and forcing the
new geometry to be applied
2017-09-12 13:21:04 -04:00
Mike Blumenkrantz
4f28e49f46
handle shade <-> unshade toggling in same frame
...
this should result in a no-op instead of a fail-op
fix T6006
2017-09-12 13:21:04 -04:00
Mike Blumenkrantz
500b9a2eb2
use animator del function to delete comp object animators
2017-09-12 13:21:04 -04:00
Mike Blumenkrantz
50fc7d1276
always hide wireless non-wired icons in gadget if wired connection exists
...
the most common use case when using a wired connection is to not also be
using a wireless connection
2017-09-12 13:21:04 -04:00
Mike Blumenkrantz
721eeb994e
make spacer gadgets smarter when multiple spacers exist
...
* ignore consecutive spacers
* attempt to size/fill consistently based on occupied space
fix T5973
2017-09-12 13:21:04 -04:00
Stephen 'Okra' Houston
24591631ee
Pager gadget config: Don't add icon to an evas, add it to an elm widget.
...
This fixes T5952
2017-09-12 12:16:32 -05:00
Stephen 'Okra' Houston
20a96271ca
Update netstatus in/out in the same file read. Fix cpufreq to use powersave again.
2017-09-12 12:10:38 -05:00
Carsten Haitzler
9eebe065c2
e powerszve - fix sleep timeout for select to be correct
...
bad inverse fmod and using int not double first before converting to
microseconds...
2017-09-12 11:03:50 +09:00
Carsten Haitzler
73855900ed
Revert "Temperature module: Don't use e_powersave_sleep. It doesn't work for ticks faster than a second."
...
This reverts commit 4a92502f81
.
2017-09-12 11:03:46 +09:00
Carsten Haitzler
14e1583cd0
Revert "Sysinfo gadgets: Revert all uses of faulty e_powersave_sleeper."
...
This reverts commit f8e17b67e4
.
2017-09-12 11:03:42 +09:00
Stephen 'Okra' Houston
4bc8df4cbb
Fix bad formatting.
2017-09-11 13:37:14 -05:00
Stephen 'Okra' Houston
4a92502f81
Temperature module: Don't use e_powersave_sleep. It doesn't work for ticks faster than a second.
2017-09-11 13:35:43 -05:00
Stephen 'Okra' Houston
f8e17b67e4
Sysinfo gadgets: Revert all uses of faulty e_powersave_sleeper.
2017-09-11 13:24:54 -05:00
Stephen 'Okra' Houston
81fc3d6837
Luncher: When the icon is deleted, don't leave client menu callbacks hanging.
...
This fixes T5970
2017-09-11 12:50:57 -05:00
Stephen 'Okra' Houston
ed49a4e9d1
Luncher: Don't keep callbacks placed on dead objects hanging around.
2017-09-11 12:50:03 -05:00
Al Poole
b304e77f64
filepreview: unbreak netstar's changes.
...
The previous broke the video preview size. Was too complicated.
Generally just sucked. This is simpler. I don't want to touch
this again. Sorry!
2017-09-10 22:41:09 +01:00
Al Poole
12e0303e4b
filepreview: show mime type icon when not video and no artwork.
...
This adds the icon associated with the file type to the preview.
If there's no artwork available the audio preview will no longer
be a large void, the mimetype icon will display.
2017-09-10 13:05:44 +01:00
Al Poole
8a9de1de69
filepreview: add support for album artwork in preview when applicable.
...
When available preview will display album artwork when previewing audio.
2017-09-09 22:23:14 +01:00
Carsten Haitzler
6502f030c9
fix nested wayland in x11 mode with getting canvas zone geometry
...
yup. was broken. fixes T5993
@fix
2017-09-09 11:56:16 +09:00
Carsten Haitzler
1d610fd609
fix up window+screen positioning fixup so it doesnt catch other clients
...
so some other clients like mpv also try to explicitly position their
windows (like centering on screen 0 ALWAYS) and this now gets caught
up in trying to detect libreoffice doing the same thing for
presentations. so only support this is the app has explicitly
requested initial positionin explicitly and then use pending configures.
2017-09-09 11:18:15 +09:00
Carsten Haitzler
041748b017
window focus - fix focus switch action next/prev walk dead code
2017-09-09 09:57:22 +09:00
Carsten Haitzler
eef7111e97
vkbd - merge in commented out wl code from weekeyboard
2017-09-09 08:33:27 +09:00
Stephen 'Okra' Houston
3b7926a20a
Netstatus: Average out throughput when time elapsed is greater than 1 second.
...
This isn't very accurate but seems to be what other tools that check at slower rates than every second do. For instance if you are checking every 10 seconds and in that time frame 500 kb was received, was the throughput for each second 50 kb? No, not likely, but that is the result you will see here. I guess this is one of those close enough things. Thanks to @davemds for reporting this issue.
2017-09-08 16:16:19 -05:00
Stephen 'Okra' Houston
7f3e7d933e
Show netstatus output in bits per second while still polling based on ticks to avoid unnecessary wake ups.
2017-09-08 15:18:23 -05:00
Mike Blumenkrantz
3506f550c7
only show options for hiding non-active wireless services in gadgets
2017-09-08 15:52:49 -04:00
Mike Blumenkrantz
ca10560705
refresh wireless gadgets upon toggling hide for services types
2017-09-08 15:52:49 -04:00
Derek Foreman
9566b72e86
Fix crash when processing a wayland client cursor set after death
...
It looks like the only way we can get here with NULL resource data
is when we explicitly cleared it in the del hook, meaning the client
is dead to us. In this case it's ok to ignore the cursor set request.
ref T4988
2017-09-08 14:38:08 -05:00
Stephen 'Okra' Houston
6f6f344c0a
Netstatus: Use proper label for throughput in config.
2017-09-08 14:11:00 -05:00
Mike Blumenkrantz
2b7bfe657c
add options for hiding service types in wireless gadget
...
fix T5975
2017-09-08 14:53:52 -04:00
Mike Blumenkrantz
340350fbbc
make some pager global vars EINTERN
2017-09-08 14:53:52 -04:00
Stephen 'Okra' Houston
ce61c37782
Netstatus: Don't show an incorrect unit on the popup label.
2017-09-08 09:29:53 -05:00
Mike Blumenkrantz
7fd3e2e798
restore 'application name' remember setting in dialog
...
broken in 6e8070d226
fix T5991
2017-09-07 14:13:01 -04:00
Mike Blumenkrantz
378e371e74
remove fullscreen clients from vdesk clients list when toggling sticky state
...
fix T5988
2017-09-07 13:37:20 -04:00
Mike Blumenkrantz
72b979ca2b
handle first time desk setting for fullscreen clients without crashing
...
ref T5988
2017-09-07 13:37:20 -04:00
Mike Blumenkrantz
09952cb5ef
apply pointer focus to existing config dialogs from settings window
...
this should be more consistent with expected behaviors
2017-09-07 13:37:20 -04:00
Mike Blumenkrantz
8f26d33d11
warp pointer to center of internal dialog on show if dialog has focus
...
ensure that pointer-based focus policies do not experience unexpected focus
changes when a dialog changes from basic<->advanced
ref T1931
2017-09-07 13:37:20 -04:00
Mike Blumenkrantz
ef3ee4b258
further improve wireless gadget popup sizing
...
ref 55f4a37492
2017-09-06 14:31:00 -04:00
Mike Blumenkrantz
739eb9b679
add more files to autotools dist
2017-09-06 13:32:25 -04:00
Mike Blumenkrantz
5dc267ec84
block all desk flips during window resize
...
this breaks *
fix T5984
2017-09-06 13:32:25 -04:00
Derek Foreman
c21c282483
Fix video explosion on rpi3 during screen blank
...
Seems like spamming dpms on when it's already on and we're rendering
is antisocial, so cut that out.
Fix T5977
2017-09-05 14:35:07 -05:00
Derek Foreman
cc5eec5cc3
Remove bogus EINA_UNUSED
...
move along, nothing to see here.
2017-09-01 15:13:41 -05:00
Mike Blumenkrantz
6f1b75e87b
disable auto positioning of gadget ctxpopups for now
...
ctxpopups 2hard4me atm
2017-09-01 15:39:33 -04:00
Stephen 'Okra' Houston
ef43d6bd4c
Luncher: Remove the engage feature
...
The engage feature was mainly there as a demo of the capabilities of bryce. Now that we are nearing release we need to clean up our gadgets. The engage style for the luncher gadget is not complete, and does not work adequately, and quite honestly better belongs as a feature of bryce itself not luncher.
2017-09-01 13:52:09 -05:00
Mike Blumenkrantz
df1e21b120
reset zone edge objects after comp canvas update
...
fix T5969
2017-09-01 13:54:54 -04:00
Mike Blumenkrantz
1a241a6c68
fix uninitialized var warning in pager
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
a49a73ed65
fix autotools sysinfo module build
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
ef6197b119
do not force client focus setting after calling e_desk_last_focused_focus()
...
in some cases focus setting must be deferred, and forcing focus in these cases
will create focus bugs
ref 9ae24a3a4a
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
e0ff23d83b
block pager gadgets on desklock sites
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
5f75193054
always set gadget ids when creating new non-demo gadgets
...
ensure gadgets aren't pruned on edit end
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
4e4dd8b7c0
add time config event rects to gadget popups list
...
attempt to preserve event propagation for sites in different environments
2017-09-01 13:40:12 -04:00
Mike Blumenkrantz
8ea5cf9c47
add desklock gadget site event rect to event grabber while editor is visible
...
allow actions to trigger on gadgets during editing
ref T4648
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
46cd0090cd
stack gadgets below site event rect when reparenting gadget
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
49084c5ced
don't update clock timer for time gadgets when deleting a non-advanced gadget
...
if the deleted gadget won't affect timers then don't update timers
ref T4648
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
e5dd1f12f3
set shaped client image alpha after setting image data
...
avoid triggering render sync with old image data
fix T5957
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
b492e87851
use correct string for randr screen fuzzy matching
...
using the full edid string results in infinite recursion
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
75a12a9461
check for matching '/' in screen edid before fuzzy matching in randr init
...
if no / exists then this function is pointless
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
6dd9205e0a
rename E_EVENT_COMPOSITOR_RESIZE -> E_EVENT_COMPOSITOR_UPDATE
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
1ca1201110
recalc desktop gadget sites on compositor update event
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
f8a599d525
avoid adding render updates on client resize while shading the client
...
this results in a blank render
fix T5929
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
1a651f23af
return during client pixel callback if pixmap is dirty and no updates exist
...
this probably indicates a client update is needed in order to complete the
render, so the existing data should be reused since nothing will render now
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
026ce1a43e
move pending client render queue in pixel callback to before render call
...
no functional changes
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
a76e9aa8fe
do not reset existing client damage on resize if tiler size matches pixmap size
...
this probably indicates a case where the client wasn't actually resized and the
compositor is doing something like shading a window
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
55f4a37492
redo wireless gadget network list popup to use a table
...
sizehints.jpg
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
84e999f5f3
track gadget ctxpopups and reposition within zone on resize
...
this attempts to shift the ctxpopup content vertically and horizontally to
keep it on the same screen that the gadget is on
fix T5945
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
4bb1a6e702
set packagekit popup title entry as non-editable
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
2afaea3b49
remove e_util_pointer_center()
...
this is yet another utility function which duplicates code from elsewhere and
does it incorrectly
fix T3164
2017-09-01 13:40:11 -04:00
Mike Blumenkrantz
9076301213
use focus_set_with_pointer to focus from clients menu (middle click)
...
fixes pointer warping for this case
2017-09-01 13:40:11 -04:00
Carsten Haitzler
9ae24a3a4a
e client focus - fix focus if moving focused window to new desk - long
...
fix client focus the very very very long way vs
418319fc94
2017-09-01 19:29:03 +09:00
Derek Foreman
42d3e30f5c
Handle wayland frame commits with no surface damage better
...
Previously we immediately kicked back the frame callback when a client
sent a surface frame without damage. This let clients that use frames
for timing proceed, but they generally just send another frame right
away and spin in this way until they reach their intended render time.
Now we use animators so the frame callbacks will be limited to the
animator tick source's frequency.
ref T5850
2017-08-31 14:44:58 -05:00
Stephen 'Okra' Houston
0880d1795d
Luncher: Don't set preview state to menu. Set to alpha. Requires EFL update.
...
This fixes T5948
2017-08-30 20:15:47 -05:00
Stephen 'Okra' Houston
03ea4bfe39
Pager: Remember to remove deleted desks.
2017-08-30 13:22:23 -05:00
Stephen 'Okra' Houston
18ce3e4d93
Pager: Don't empty/fill pager unecessarily.
2017-08-30 11:27:45 -05:00
Carsten Haitzler
418319fc94
e client focus - fix focus if moving focused window to new desk
...
if the window being moved to a new desktop is focused, then ensure
after the move to restore focus to the last focused in the focus stack
for this desk to something stays focused.
@fix
2017-08-30 16:13:50 +09:00
Mike Blumenkrantz
b5e75eb264
formatting
...
lot of mixed spaces/tabs here made the code unreadable
2017-08-29 15:32:18 -04:00
Chris Michael
f5e19a7721
wl-drm: Add screen position to debug output
...
Small patch which adds the screen geometry to the output of drm2 randr
apply so we can test mutli-output setups and know which screen is where.
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-08-29 15:19:00 -04:00
Chris Michael
3cc70fc607
wl-drm: Properly retrieve output geometry and propertly set output mode
...
Previously when we were getting the output size, the resulting
geometry was being placed in the wrong variables which resulting in
randr screen config modes being set to zero. This patch also fixes the
issue where when setting drm2 output mode, we were always passing in
0x0 as the output geometry.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-08-29 15:19:00 -04:00
Al Poole
dece94b6ca
battery: fix typo.
...
Summary: Missed this one. Apologies!
Reviewers: zmike!
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5135
2017-08-29 09:18:42 -04:00
Carsten Haitzler
5ec93f15ff
e actions - add actions for moving focus around - feature request
...
was simple. winlist already had it. added action to focus next/prev or
up/down/left/right. useful for tiling... :)
@feature
2017-08-29 20:31:30 +09:00
Davide Andreoli
27e8ce95b4
PKit gadget: more accurate progress bar
...
when opening a popup with an in-progress transaction the progressbar need to be created with the last received Progress value. Otherwise it will stay at zero until the next Progress change
2017-08-27 20:45:12 +02:00
Stephen 'Okra' Houston
2ab2fe18ea
Pager: Add the option to switch between live and plain pagers as well as switch to plain pager when saving power.
2017-08-26 14:24:20 -05:00
Stephen 'Okra' Houston
4a22d2f178
Don't dereference NULL pointers in sysinfo and cpuclock.
...
This fixes @CID1379941 and @CID1379947
2017-08-25 15:01:39 -05:00
Mike Blumenkrantz
1d72713dc0
use int array for client maximize hint state update
...
CID 1379946
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
c597ed69fd
prevent leak on tiling insert failure
...
CID 1379940
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
e707576e81
check returns for read/write to powersave fds
...
CID 1379942
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
8717a4a020
initialize stack variables
...
CIDs 1379939, 1379943
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
43976c8b85
check correct client prop bitflag in tasks module event
...
CID 1379944
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
43d837d681
don't pretend randr mode can be null when it can't
...
CID 1379945
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
c7c4470ae0
force client render on mirror show for clients which have not yet been rendered
...
this is the same mechanism in e_comp_object_dirty() which applies now if a
mirror is created for a previously-dirty client
fix T5937
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
a188c4751c
Revert "handle updates_full when adding comp object update regions"
...
This reverts commit fac907e0c5
.
this was already handled and I'm dumb.
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
fef7941083
set elm profile to match e profile during startup
...
this is actually broken, as is entire the concept of using mixed e+elm configs.
if a user manually changes the profile, e.g., for a single app, then this will
overwrite the global profile name. similarly, setting the profile in this manner
overwrites the global profile, causing all existing apps to switch to that profile
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
1677ba7034
manage corresponding elm profiles when changing e profiles in cfg dialog
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
1902befc92
Revert "force recalc on bryce scroller when doing recalc on gadget site"
...
This reverts commit 87515abd2a
.
this breaks scaling since the min size must be reset in order to trigger a
resize
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
84a58aa004
clamp luncher icon size to 8x8
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
175c614838
add spacer gadgets for bryces
...
this is a rectangle which dynamically resizes based on the available space
in the bar. it can only be added when autosize is disabled, and setting
autosize will remove all spacers
fix T5914
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
2e0638e87a
check whether gadgets are elm objects before calling elm functions
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
f806dae1e1
track setxkbmap processes and allow only one to run at a time
...
fix T5188
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
0ee8cc896e
hide wl shell clients again after mapping if clients are on a hidden desk
...
fix T5544
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
592c2c7499
block some gadgets from appearing on desklock gadget sites
...
ref T4648
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
0f5b287866
add gadget api for determining if a gadget site is a desklock site
...
potentially this could be improved to use a vastly overengineered 'policy'
setup, but for now this fits the biggest use case
ref T4648
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
a72b88c0e7
handle bryce setup when theme is broken
...
fix T5889
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
07ea23b5b9
handle xdg "autostart" directories in apps dialogs
...
a valid autostart directory can exist in any xdg data/config directory
according to spec, so ensure we check everywhere when listing them
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
db264cca49
simplify placed flag setting during wl surface commit
...
this should result in fewer cases of windows randomly warping around...
...
maybe
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
4cb05b4120
use clone of remembers list in window remember config
...
this modifies the remember list and guarantees a crash if sorting occurs
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
57176bf29d
do not rescale override x11 clients during hint fetching
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
ec047b1a98
perform client zone updates on canvas move/resize when not ignored
...
overrides still need zone updates here
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
00c01d0ae6
use client frame for internal win geometry setting on show
...
calling these functions on the elm_win has no effect here
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
e93f67e74a
go back to image widget for video filepreviews
...
this still has some funkiness related to initial geometry but it looks
better and doesn't have weird resolution bugs
fix T4293
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
28783cfc23
use evas size hints for image widget internals if internal obj is not edje obj
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
0bd73b5a54
use client geometry for fileman popup positioning instead of win object geometry
...
window objects don't return accurate geometry under wayland
fix T3842
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
4fe54ab81a
fix color class dialog sizing
...
ref T3682
2017-08-25 14:47:10 -04:00
Mike Blumenkrantz
29b736257c
destroy dropped gadgets after drop operation completes
...
the gadget object is used during the drop callback, so destroying it
before the callback breaks the drop operation
2017-08-25 14:47:09 -04:00
Mike Blumenkrantz
4d8e1d5e29
perform gadget site layout before calling drop callback
...
calling this inside the drop callback resets the dropped gadget's position
and causes the drop operation to fail
2017-08-25 14:47:09 -04:00
Mike Blumenkrantz
feb17c898d
set moving gadgets in pointer site to have moving state
...
prevent spurious resizes during layout
2017-08-25 14:47:09 -04:00
Mike Blumenkrantz
850f5b40f8
handle gadget ctxpopup placement for desktop gadgets
...
fix T5877
2017-08-25 14:47:09 -04:00
Stephen 'Okra' Houston
5bcdfb0421
CPUMonitor: Don't pack the box in sysinfo mode.
2017-08-24 19:39:20 -05:00
Stephen 'Okra' Houston
1af5125cc9
Batman: Set the demo gadget to have full battery.
2017-08-24 08:08:41 -05:00
Stephen 'Okra' Houston
30ee8c5284
CPUMonitor: Make sure to set the number of cores so aspect calcs.
2017-08-24 08:06:20 -05:00
Stephen 'Okra' Houston
c7e6b52d2e
CPUMonitor: Fix aspect by using correct theme names. This requires an EFL update too.
2017-08-23 19:02:46 -05:00
Stephen 'Okra' Houston
ccf30bd726
Luncher: Don't use a second object for the overlay. This requires EFL updating due to theme.
2017-08-23 17:06:57 -05:00
Stephen 'Okra' Houston
ae9966970b
Pager gadget: Take advantage of new theme. For this to work, you must update EFL first.
2017-08-23 15:28:28 -05:00
Stephen 'Okra' Houston
ad46d041a8
Gadgets: Don't set gadgets to expand.
2017-08-23 09:55:59 -05:00
Carsten Haitzler
638ffe5853
mixer - fix segv on shutdown
...
this just got added... dont shutdown actions if no gmixer has been
created.
2017-08-23 17:39:14 +09:00
Stephen 'Okra' Houston
c3ae81586c
Backlight: Don't add del callback for demo gadgets.
2017-08-22 18:18:57 -05:00
Mike Blumenkrantz
38a95f0930
do not add del callback for demo mixer gadgets
...
fixes crash when destroying demo mixer gadgets if no real gadget exists
2017-08-22 18:31:35 -04:00
Stephen 'Okra' Houston
0332eca3c7
Mixer Gadget: Use demo gadget in places where demo gadgets are used.
2017-08-22 11:54:52 -05:00
Stephen 'Okra' Houston
062664d839
Backlight: Use a static number for demo purposes.
2017-08-22 11:10:48 -05:00
Stephen 'Okra' Houston
993f8ad519
Sysinfo Gadgets: Provide only demo data and don't poll/thread when gadgets are in demo mode.
...
This fixes T5816
2017-08-22 10:24:16 -05:00
Stephen 'Okra' Houston
12b8f482ed
CPUMonitor: Don't try and delete objects after the gadget has been removed.
...
This fixes T5816
2017-08-22 10:24:16 -05:00
Carsten Haitzler
4fc49bdcca
vkbd - begin someinfra to support wayland
2017-08-22 21:01:03 +09:00
Marcel Hollerbach
338ce6f11c
meson: install emixer correctly
2017-08-22 09:30:36 +02:00
Carsten Haitzler
159cb21cda
vkbd - forgot to mark text in vkbd to scale... do that
2017-08-22 09:59:09 +09:00
Mike Blumenkrantz
096f1084a5
always use client geometry for comp object centering functions
...
this should always be more accurate than the object geometry, which may
or may not have been applied at any given time
2017-08-21 10:16:35 -04:00
Mike Blumenkrantz
40df7bddc8
make grab dialog text read a bit more clearly
2017-08-21 10:16:35 -04:00
Mike Blumenkrantz
c31cb51499
replace <br> with <ps/> for all text
2017-08-21 10:16:35 -04:00
Mike Blumenkrantz
37d1bf3ea0
force min size calc on dialog show
...
this resolves a number of dialog sizing issues where text or content could
be clipped due to deferred sizing
2017-08-21 10:16:35 -04:00
Carsten Haitzler
014b74bc74
e sys - add listening to prepare for shutdown/suspend from systemd
...
listen to the prepare and post signals... just print right now as not
really used... but knowing and logging is good.
2017-08-21 23:15:04 +09:00
Jean-Philippe Andre
bc55beb638
config: Add env var to skip profile save
...
This only skips writing the profile name to
~/.e/e/config/profile.cfg
This allows easier testing of E with custom profiles.
Note that this goes together with another patch in elementary, but the
env var is different (note: we could use a single one). This is only
meant for debugging.
export E_CONF_PROFILE_NOSAVE=1
2017-08-21 19:04:02 +09:00
Carsten Haitzler
8da6aa4142
xsettings - fix warning for buffer that could be a bit small
...
warnings of buffer being a little small in theory. fix.
2017-08-21 12:16:27 +09:00
Carsten Haitzler
c93d394f3b
vkbd - fix 2 finger floating drag
2017-08-20 11:54:00 +09:00