Derek Foreman
1fe5b56500
Replace some ecore_time_get users with ecore_loop_time_get
...
I'm confident these sites can use loop time safely, and they're
frequent callers.
7 years ago
Stephen 'Okra' Houston
089b0b248d
Use an event rect to better handle mouse events in cpumonitor.
7 years ago
Davide Andreoli
a2644259b2
sysinfo gadget: remove frames in popups
7 years ago
Stephen 'Okra' Houston
73495d6347
Sysinfo Gadgets: Allow for vertical themes for all sysinfo gadgets
...
This is in preparation for themers in the future.
7 years ago
Stephen 'Okra' Houston
327f9bc68f
Sysinfo gadgets: Prevent info popup from getting stuck.
7 years ago
Stephen 'Okra' Houston
762879bf5c
Batman - Don't destroy the popup on hide.
7 years ago
Derek Foreman
391c833a8d
Remove tests for wayland damage_buffer presence
...
We now depend on a version of wayland that has these, so we don't
need to handle the case where it's not available anymore.
7 years ago
Carsten Haitzler
e1c3120689
e - wayland - fix double-resize if e wants a different initial size
...
let's say you sue tiling or some module and it wants a window by
default to maximize or fill the screen or be size XxY ... this stops
the client first having a buffer smaller (or larger) and then sizing
down rendering 2 times (one of the renders is pointless). this makes
initial buffer render/show seamless as it should be in wayland.
7 years ago
Carsten Haitzler
ef6c178a17
enlightenment_sys - eina_init BEFORE switching uid - safer
...
in case eina_init uses env vars, move it to befor setuid() so it can
detect. you normally would setuid only for a limited op and we do it
for "the rest of the running" as e_sys is fairly simple.
7 years ago
Stephen 'Okra' Houston
1f6baaf283
Cpumonitor: Add a similar popup to memusage.
7 years ago
Stephen 'Okra' Houston
8547164c16
Pager and Batman: Use pages in config popup and standardize look.
7 years ago
Stephen 'Okra' Houston
5489f690cc
Batman: Don't show time left in the popup when battery is charged.
7 years ago
Stephen 'Okra' Houston
67a59e5df5
Luncher: Determine if client icon is an evas_object_image or edje_object.
7 years ago
Derek Foreman
2021480748
Dispatch wayland frame callbacks in the correct order
...
The protocol says they should be dispatched in the order they're
registered, so switch to list append instead of list prepend.
7 years ago
Stephen 'Okra' Houston
b994562776
Batman - Add the config popup to configure batman.
7 years ago
Stephen 'Okra' Houston
75cbcf5b47
Batman - Don't show hard to read and redundant text in the gadget itself - Move it to a popup on left click.
7 years ago
Chris Michael
63a9bae282
fix potentially uninitialized variables
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years ago
Chris Michael
b535aefaad
wl_drm: Fix potentially uninitialized variable
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years ago
Stephen 'Okra' Houston
ed1d8ac971
Luncher: Don't update and show the preview on client del unless the preview exists.
7 years ago
Chris Michael
90c120985a
minor formatting fix
...
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years ago
Chris Michael
8cb4a92ab5
minor formatting fix
...
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years ago
Chris Michael
76cbf61616
minor formatting fix
...
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years ago
Derek Foreman
4cf555f36e
Replace all timer_reset with timer_loop_reset
...
Another sed bomb - didn't occur to me first time around to
check for this. Cleans up more clock_gettime calls.
7 years ago
Stephen 'Okra' Houston
9344c828c6
Wireless: Don't autoclose left click popup in order to be on the same page with other gadgets.
7 years ago
Stephen 'Okra' Houston
e41dfc7d5b
Luncher: Remove closed clients from the preview popup if visible, and close the popup if no more clients are active.
...
This fixes T5097
7 years ago
Stephen 'Okra' Houston
a89afe4186
Luncher - Free hashes at the appropriate time.
7 years ago
Stephen 'Okra' Houston
e6a8cea364
Enlightenment - Fix Coverity issues CID 1369051 and 1369052
7 years ago
Derek Foreman
73aecd73ab
Replace all timer_add with timer_loop_add
...
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.
It would be really nice if I'm not wrong. :)
The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.
#YOLO
7 years ago
Stephen 'Okra' Houston
4e9335547f
Sysinfo - Netstatus gadget - Fix netstatus calculation.
7 years ago
Mike Blumenkrantz
036bcc1f67
hide wl client cursors when set_pointer is passed a null surface
7 years ago
Mike Blumenkrantz
ee4a861f90
use 1x1 for unsized (internal) clients
...
this was a typo
7 years ago
Mike Blumenkrantz
d566b54049
simplify mouse-out cursor reset for wl clients
...
this is handled by e_pointer_object_set()
7 years ago
Mike Blumenkrantz
c68ca50ced
make e_pointer_object_set() a no-op when passing the existing cursor
7 years ago
Mike Blumenkrantz
8144cd0cda
use e_pointer_show() when updating wl-drm seat caps to enable pointer
...
prev function doesn't handle canvas pointers
7 years ago
Mike Blumenkrantz
83f0a68291
add e_pointer_show()
7 years ago
Mike Blumenkrantz
0fd251c437
free string pointer in xkbswitch parsing
...
CID 1368345
7 years ago
Mike Blumenkrantz
e2f8d2ba69
implement pointer-constraints v1
...
xwayland nyi
7 years ago
Mike Blumenkrantz
85aaa64f11
ignore intercepted mouse events for non-wl compositing
7 years ago
Mike Blumenkrantz
30f1b8b9c3
generically handle relative motion eventing for non-featureful backends
7 years ago
Mike Blumenkrantz
501efaf357
add flag for comp screen iface to indicate relative motion eventing
7 years ago
Mike Blumenkrantz
186cf73294
implement relative-pointer v1
7 years ago
Al netstar Poole
b6b143bf0c
Make sysinfo gadgets work with BSD
7 years ago
Stephen 'Okra' Houston
f7d09d6002
Sysinfo Gadget: Don't set aspect to 1:1 out of the box. Let edje determine aspect.
7 years ago
Stephen 'Okra' Houston
43530648c5
Sysinfo Gadget - Cpumonitor gadget resize callback needs to be removed after resize to prevent looping.
7 years ago
Derek Foreman
0a91a24573
Stop sending wayland motion events when the mouse is grabbed
...
This stops the compositor from sending motion events to internal
windows while they're being moved or resized.
7 years ago
Davide Andreoli
5007293f99
sysinfo: fix popup position when using the cumulative sysinfo gadget
7 years ago
Davide Andreoli
ff24863007
sysinfo: do not use autoclose on popups
...
This make the popups behave like the clock gadget popup
Also the autoclose ability in this case was quite broken
7 years ago
Davide Andreoli
5153321f0c
mem gadget: adjust a little bit the values calculation
...
Now the gadget show EXACTLY the same values of the free command on my machine,
but note: I found at least 3 different implementation of procpc so your values could be a bit different.
7 years ago
Stephen Houston
aeda6dfac6
Enlightenment - Sysinfo Gadget - Size cpumonitor correctly wrt to bryce.
7 years ago
Carsten Haitzler
1f87c6d805
e sys - make timeout for sys loging 3 instead of 15 seconds
...
this shortens logout timeout for "apps still hanging around" to 3
seconds meaning that within 3 seconds something should complain that
logout is taking too long so you know your logout request actually
went through... and any app not responding in 3 seconds is likely
"bad" (swapped out, hung on blocking i/o or something or doing a "are
you sure" dialog thing).
7 years ago