Commit Graph

536 Commits

Author SHA1 Message Date
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 6dd9205e0a rename E_EVENT_COMPOSITOR_RESIZE -> E_EVENT_COMPOSITOR_UPDATE 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
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
Mike Blumenkrantz b5e75eb264 formatting
lot of mixed spaces/tabs here made the code unreadable
2017-08-29 15:32:18 -04: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
Mike Blumenkrantz 592c2c7499 block some gadgets from appearing on desklock gadget sites
ref T4648
2017-08-25 14:47:10 -04: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
Mike Blumenkrantz c31cb51499 replace <br> with <ps/> for all text 2017-08-21 10:16:35 -04:00
Marcel Hollerbach 5b03bfabc3 pager: do not define Config twice 2017-08-08 18:46:45 +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
Carsten Haitzler 69290dd7f4 e module build - make build files far more generic and far smaller
now mdoule build files that fllow one pattern (the most common by far)
all JUSt list their souce files and nothing else. this really cuts
down on build size/complexity.

there are other patterns too (no icons at all) that i'll do next, then
we're down into "weird" land where i'll have to think of some more
interesting ways to deal with this.
2017-07-29 08:55:36 +09:00
Carsten Haitzler 84bf48b3ed module build - clean up and fix meson install of pretty much all modules
so we';re missing installing desktop files. edj icon files, wizard
data files in the wrong place, and much more. this also cleans up the
module meson build of pretty much all modules and make their build
files cimple and consistent so it's far easier to re-use things from
one module to the next. we should aim for simplicity, consistency
between as much as possible so we can refactor and turn into maybe
functions later. imho that starts with consistency though. until i can
see all the common patterns clearly, i don't want to write functions
yet. it's easier to see if all the files are consistently using the
same vars and formatting etc. etc. etc.

but either way the installation needs fixing so it installs all files
in the right places with the right permissions etc. etc. etc.

this doesn't fix all module build files bt all the ones i found that
were broken installs and they use what i think is a cleaner/simpler
template, BUT there is far too much copy & pastage here... far too
much.i need to find a cleaner way to automate this.
2017-07-27 14:29:30 +09:00
Mike Blumenkrantz e8dc71cd48 meson. 2017-07-20 17:18:33 -04:00
Mike Blumenkrantz b7e8e886e9 do not generate module.desktop files
the purpose of this is to allow variable substitutions, but no desktop
files do this so it's a waste of build time for no reason
2017-07-14 18:40:50 -04:00
Stephen 'Okra' Houston 9e7b78ffab Gadgets: Make sure to avoid conflicts with functions and globals. 2017-07-12 16:03:06 -05:00
Stephen 'Okra' Houston 202bf770f4 Gadgets: Follow gadget theme naming conventions. 2017-07-06 12:20:53 -05:00
Stephen 'Okra' Houston 7ff0e585ac Gadgets: Remove the word "Gadget" from the name of gadgets. 2017-06-08 15:27:24 -05:00
Stephen 'Okra' Houston 3b39279dfb Pager Gadget: Fix potential crash on screen changes such as screen size change. 2017-05-22 13:14:55 -05:00
Stephen 'Okra' Houston 20f94cec74 Bryce/Gadgets: Add backlight, xkbswitch, and mixer gadgets. This should round out the core gadget ports.
All three of these gadgets are ports of the existing modules of the same name and are contained within those directories.  Once the move from shelves -> bryce and gadcon->gadgets is complete, backlight and mixer will likely need to go into the sysinfo gadget.
2017-05-11 17:13:15 -05:00
Mike Blumenkrantz b876c055f5 remove callback for "gadget_destroyed" in pager
dead code
2017-02-10 17:24:13 -05:00
Stephen 'Okra' Houston 8547164c16 Pager and Batman: Use pages in config popup and standardize look. 2017-02-09 11:14:03 -06:00
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.
2017-02-06 15:59:25 -06:00
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
2017-02-03 15:52:28 -06: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
Carsten Haitzler 3903d44666 e - BLOODY BUILD AGAIN - DAMN FLOAT WARNINGS...
i swear ... all of this shit over a warning that CAUSED more bugs than
it eveer fixed? sersiously...

ARGH!
2017-01-07 14:05:17 +09:00
Stephen 'Okra' Houston 501ea95e2c E gadgets: Prepare for sysinfo to arrive. 2017-01-06 16:16:51 -06:00
Mike Blumenkrantz 0bbdd76469 resolve misc module float-equal warnings
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:34 -05:00
Stephen okra Houston cf1d253c56 Pager Gadget: Don't recalculate the pager if the zone is NULL.
This fixes https://phab.enlightenment.org/T4960
2016-12-02 11:28:10 -06:00
Stephen okra Houston 51772d1596 Luncher/Pager gadgets: Make sure to lock/unlock the gadget site on dnd. 2016-11-08 11:20:07 -06:00
Stephen okra Houston 1cbba1232c Gadcon Pager: Don't show popup if no gadcon pagers exist. 2016-11-08 10:48:15 -06:00
Stephen okra Houston 8540e6b99b Pager Gadget: Use the current zone for popups. 2016-11-08 10:04:48 -06:00
Stephen okra Houston ec326b304b Luncher/Pager Gadgets: Fix coverity warnings for CID 1365330, CID 1365332 and CID 1365405
This commit also fixes T4831
2016-11-07 09:35:34 -06:00
Stephen okra Houston b0fd89ac04 Pager Gadget: Use the correct value for the popup checkbox when config window is opened. 2016-11-05 12:00:30 -05:00
Chris Michael 99e89b708f cleanup unused variables and parameters for pager module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-03 11:27:28 -04:00
Mike Blumenkrantz 602b01b8b2 use only aspect hints for new pager gadget
ref T4809
2016-11-02 11:31:59 -04:00
Stephen okra Houston df0c4cf658 Pager Gadget: Respect HOLD flag as well as modifiers on mouse events. 2016-11-02 10:22:50 -05:00
Stephen okra Houston ef8d86d7f3 Luncher/Pager Gadget: Fix coverity issues. 2016-11-02 09:36:03 -05:00
Stephen okra Houston 9d33d6c15b Pager Gadget: Only empty/fill pager if zone has changed. 2016-11-01 16:56:26 -05:00
Stephen okra Houston 96f328b7ff Pager: Fix gadget zone. 2016-11-01 16:31:41 -05:00
Stephen okra Houston c3b5c4a1bf Luncher and Pager gadgets: Handle multi head and use the correct zone.
This fixes T4807 and T4787
2016-11-01 15:16:06 -05:00
Mike Blumenkrantz 692b394617 do not apply pager rotation when placed on desktop
fix T4786
2016-10-31 13:40:13 -04:00
Mike Blumenkrantz 491b18b920 set ON_HOLD flag when triggering gadget mouse buttion actions
allow detection that this event is being consumed
2016-10-17 12:42:28 -04:00
Stephen Houston 5b2f952c85 Introduce pager gadget using new gadget api. 2016-09-23 10:17:54 -04:00
Mike Blumenkrantz 9a50f6b218 disallow pager window drags for popups and ignored windows 2016-06-23 12:13:24 -04:00
Carsten Haitzler ac101eeef5 e pagers - fix full desktop ddnd (eg middle mouse) to finish the drag
drag state was not properly shut down on mouse up

@fix
2015-08-28 13:14:27 +09:00
Mike Blumenkrantz 4e37a94d50 remove pager mirror delete callback during pager win delete 2015-08-20 21:55:19 -04:00