Commit Graph

22223 Commits

Author SHA1 Message Date
Davide Andreoli f14124583f net gadget: fix 2 obvious cnp errors
note that the max/percent calculation are still wrong.
Seems the first cur calc give a huge value, that go into max and prevent any other perc calc to be correct.
2017-01-15 15:57:40 +01:00
Carsten Haitzler cd3490f35c e - wl mode - stop consuming 100 percent cpu
so on 1 intel laptop and my rpi i'm seeing 100% cpu usage in wayland
mode. it seems something is resizing to 0x0 and then causing a size
change which causes a property change which causes... another request
to 0x0 and repeat. dont set tyhe size changed flags if size actually
didnt change and this fixes that.
2017-01-15 14:16:31 +09:00
Mike Blumenkrantz 0c56e19a64 validate xdg-shell move/resize requests against latest button serial
these are supposed to match in order to initiate the corresponding action
2017-01-13 11:35:20 -05:00
Mike Blumenkrantz 7716f58b5d throw xdg6 errors for unconfigured buffers as spec requires 2017-01-13 11:35:20 -05:00
Mike Blumenkrantz aba6687b30 handle pixmap_refresh() failure cases more accurately under wayland
non-usable pixmaps here are still valid in some cases, such as when
no buffer is attached
2017-01-13 11:35:20 -05:00
Mike Blumenkrantz 27091c510c ensure that gadget internal del callbacks are handled before other callbacks 2017-01-13 11:35:20 -05:00
Mike Blumenkrantz fe2c390861 use geometry from comp object input rect when determining if coords intersect
the rect geometry may be clipped, so use whatever the current geom is
2017-01-13 11:35:20 -05:00
Mike Blumenkrantz 0fbef3b74e use persistent clipping for comp object input rects
it's technically legal to set an input region larger than a surface,
then later expand the surface and expect that the input region will
also expand
2017-01-13 11:35:20 -05:00
Mike Blumenkrantz df414cef65 do not perform frame coord adjustments for re_manage wayland clients
prevent mismatch of positions between restarts
2017-01-13 11:35:20 -05:00
Mike Blumenkrantz e4e8db74d9 do not return sr window remembers if not looking for sr remembers 2017-01-13 11:35:20 -05:00
Mike Blumenkrantz 3af7affa02 free configs for demo gadgets on object free
these are purely for demo purposes and should never be retained

I think this is right...
2017-01-13 11:35:20 -05:00
Mike Blumenkrantz 5aadf3b3ff implement xdg-foreign v1
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-13 11:34:50 -05:00
Mike Blumenkrantz d1bb23954f break out code to set clients as transients for a parent 2017-01-13 11:33:36 -05:00
Stephen 'Okra' Houston 84f06597ec Enlightenment - Luncher Gadget - This fixes a massive bug in client comparisons within luncher.
This is very embarrassing.  Nothing to see here. Carry on people.
2017-01-12 16:50:37 -06:00
Stephen 'Okra' Houston 25e36fcf91 Enlightenment - Luncher gadget - Don't assume all internal windows are the same. 2017-01-12 14:31:26 -06:00
Stephen 'Okra' Houston de6ff6f48f Enlightenment: Sysinfo gadget - Calculate netstatus max automatically and send percentages to the theme. 2017-01-12 14:17:55 -06:00
Stephen 'Okra' Houston 7422e9102f Enlightenment: Luncher gadget - Don't proceed with hiding the preview if the preview's icon is NULL. 2017-01-12 11:12:54 -06:00
Chris Michael 0df9454414 remove EINA_UNUSED for used function parameter
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-12 10:47:41 -05:00
Chris Michael 92aa99b97a Use proper coordinate adjustment
This seems like just some copy/paste that was never corrected, however
when calculating coordinate adjustments we should be using the proper
values here. Previous code was using e_comp_canvas_x_root_adjust for
the Y value. This patch uses e_comp_canvas_y_root_adjust for Y
coordinates.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-12 10:44:23 -05:00
Stephen 'Okra' Houston 62f7d684dd Enlightenment: Sysinfo Gadget - Properly mark popup as deleted. 2017-01-11 22:06:38 -06:00
Stephen 'Okra' Houston 58a9333580 Enlightenment: Sysinfo Gadget - Add an informative popup, as well as a config panel to memusage, cpumonitor, and netstatus.
Left click will give you some informative detail and right click will show the config panel with t he option to configure how often to poll.
2017-01-11 21:21:34 -06:00
Stephen 'Okra' Houston bae6700f8c Enlightenment - Luncher Gadget - Show preview immediately for icons that have iconified windows.
This fixes T4806
2017-01-11 13:21:04 -06:00
Stephen 'Okra' Houston 2565055eeb Enlightenment: Luncher - Use internal icons for non .desktop clients.
This fixes T5003
2017-01-11 12:01:30 -06:00
Stephen 'Okra' Houston 9f43e67a73 Enlightenment: Luncher gadget - don't allow .desktop actions on non .desktop icons. 2017-01-11 10:13:05 -06:00
Stephen 'Okra' Houston 2f75513396 Enlightenment: Sysinfo gadgets - Remove temporary gadgets correctly. 2017-01-11 09:27:43 -06:00
Stephen 'Okra' Houston ddb9f99692 Enlightenment: Luncher gadget - Add more duplicate checking. 2017-01-10 16:46:39 -06:00
Stephen 'Okra' Houston 08d853ab16 Enlightenment: Luncher gadget - Don't delete the hash if there is more than one client using it. 2017-01-10 16:08:24 -06:00
Stephen 'Okra' Houston cf1d083b38 Enlightenment: Fix luncher to not duplicate clients who report as both having and not having a .desktop. 2017-01-10 15:45:13 -06:00
Stephen 'Okra' Houston 3a7509fd38 Revert "luncher: do not add clients twice"
This reverts commit 382dc8e3b0.
2017-01-10 15:38:37 -06:00
Marcel Hollerbach 382dc8e3b0 luncher: do not add clients twice
they can be part of the exec and of the Icon.

this fixes T4970
2017-01-10 14:04:50 -06:00
Stephen 'Okra' Houston a918738e65 Revert "luncher: do not add clients twice"
This reverts commit e34d1aaba9.
2017-01-10 13:54:51 -06:00
Marcel Hollerbach ecfe4fd289 luncher: free the timers
otherwise the timeout can kick in when the icon is already destroyed.

fixes T5033
2017-01-10 20:45:54 +01:00
Marcel Hollerbach e34d1aaba9 luncher: do not add clients twice
they can be part of the exec and of the Icon.

this fixes T4970
2017-01-10 20:45:13 +01:00
Carsten Haitzler 45b6536a20 e_icon - remove icon cache code - its disabled anyway with ifdefs
this isnt used so it just adds complexity/code to work on. remove it.
it would need a rewrite anyway as using a single file is hugely
inefficient as eet has to doa full rewrite of the file every
modification... it also duplicated icons in memory and dint load
directly from file etc. so... remove anyway.
2017-01-10 10:32:51 +09:00
Davide Andreoli 409230ee35 cpu + mem gadget: use new vertical layouts 2017-01-09 21:01:54 +01:00
Stephen 'Okra' Houston 483a978e83 Enlightenment: Wireless gadget - place the ctxpopup after the size hints are set, not before 2017-01-09 13:46:43 -06:00
Stephen 'Okra' Houston 70c9fa1211 Enlightenment: Luncher gadget - Scroll the window previews when the extend beyond the current screen.
This fixes T4804
2017-01-09 11:49:54 -06:00
Stephen 'Okra' Houston 05f35b4deb Enlightenment: Make gadget editor popup scrollable:
This fixes T5077
2017-01-09 10:39:39 -06:00
Stephen 'Okra' Houston d843f58671 Enlightenment: Fix coverity issues related to new sysinfo gadget
This fixes CID1368352 CID1368351 CID1368350 CID1368349 CID1368348 CID1368347 CID1368346 CID1368344 CID1368343
2017-01-09 09:43:02 -06:00
Carsten Haitzler 8d6b834d57 e_icon - handle load failure and dont display icon object
also some XXX fixme notes i found along the way
2017-01-09 18:24:25 +09:00
Stephen 'Okra' Houston 4070ced965 Enlightenment: Pager gadget - Add a button to configure virtual desktops.
This fixes T5060
2017-01-08 19:11:31 -06:00
Stephen 'Okra' Houston 3d1feb31cc Enlightenment: Sysinfo gadget: Free up the edje message correctly. 2017-01-08 17:32:07 -06:00
Stephen 'Okra' Houston 9d6af51de2 Enlightenment: Sysinfo gadget. Free edje messages. 2017-01-08 17:28:54 -06:00
Stephen 'Okra' Houston 74e773ab61 Enlightenment: Improve cpumonitor calculation 2017-01-08 14:44:13 -06:00
Stephen 'Okra' Houston 3fb8149486 Enlightenment: Sysinfo gadget: Calculate aspects correctly. 2017-01-08 14:26:11 -06:00
Stephen 'Okra' Houston a8f5529d25 Enlightenment: Fix cpumonitor gadget core usage calc 2017-01-08 13:56:12 -06:00
Davide Andreoli b7e2454914 cpu gadget: fetch aspect ratio from the theme
as per the mem module I really don't like this implementation :/
2017-01-08 20:50:48 +01:00
Davide Andreoli 0978fa9eb6 cpu gadget: fix orientation of the box
still need to fix the aspect ratio
2017-01-08 20:33:29 +01:00
Stephen 'Okra' Houston ea9dbba34d Enlightenment: Fix cpumonitor gadget to do per core. 2017-01-08 12:10:13 -06:00
Davide Andreoli 4c2116ac0f mem gadget: no need to send 2 consecutive int_set msgs
One msg with 2 ints is more efficient
2017-01-08 19:05:33 +01:00