Commit Graph

6581 Commits

Author SHA1 Message Date
Tom Hacohen 55e669fae4 Tiling2: Simple logic cleanup. 2014-02-21 09:15:08 +00:00
Tom Hacohen 03c6fee356 Tiling2: Properly ignore e util clients.
This fixes all the error messages that are printed on e startup.
2014-02-21 09:15:08 +00:00
Tom Hacohen 21f30a1ac2 Tiling2: Update original information every time a client is added.
Even if it's not the first time that client is added.
2014-02-21 09:15:08 +00:00
Tom Hacohen b89709267d Tiling2: Fixed bug with client border menu.
This fixes duplicate entries.
2014-02-21 09:15:08 +00:00
Tom Hacohen 5b50d42521 Tiling2: Stop fiddling with stacking and layers. 2014-02-21 09:15:08 +00:00
Tom Hacohen 3114e63faf Tiling2: Don't set client layers.
This fixes some of the input region issues I was having.
The bug is still in e, but this solves some stuff.
2014-02-21 09:15:08 +00:00
Tom Hacohen 1e3f71af71 Tiling2: Fixed adjacent node swapping.
Really swap adjacent nodes, not just nodes having a border on the
same line, but never touching.
Also, it's now weighted, so the best matching node will be chosen, not
the first matching.
2014-02-21 09:15:08 +00:00
Tom Hacohen e3fcc03152 Tiling2: Fixed extra hash cleanup for ignored users.
It should always be cleaned, now that we keep it for ignored windows as well.
2014-02-21 09:15:08 +00:00
Tom Hacohen 41ecdc1ebd Tiling2: Be more defensive about removing clients.
This will delete clients even in cases we didn't delete before.
2014-02-21 09:15:08 +00:00
Tom Hacohen 507a6db1e1 Tiling2: Improve debug output in tree dump. 2014-02-21 09:15:08 +00:00
Tom Hacohen 9adc5336c0 Tiling2: Style changes. 2014-02-21 09:15:08 +00:00
Tom Hacohen 86aa218cb2 Tiling2: Handle compositor resize hook. 2014-02-21 09:15:08 +00:00
Tom Hacohen 32c4da7f5e Tiling2: Have a desk walker function and use it. 2014-02-21 09:15:08 +00:00
Tom Hacohen 0b007b2ff6 Tiling2: Fixed re-tiling on e restart/module unload reload. 2014-02-21 09:15:08 +00:00
Tom Hacohen 39e17e96f8 Tiling2: Fixed desktop setting. 2014-02-21 09:15:08 +00:00
Tom Hacohen f0efa12921 Tiling2: Fixed error message. 2014-02-21 09:15:08 +00:00
Tom Hacohen 08b877fa1f Tiling2: Unmaximize windows when starting to tile them. 2014-02-21 09:15:08 +00:00
Tom Hacohen 163c6377b3 Tiling2: Added weight correction code.
Total weight should always be 1.0.
This may go off sometimes because of the nature of floating point.
Always correct it when reapply tree.
2014-02-21 09:15:07 +00:00
Tom Hacohen 6795380282 Tiling2: Added support for swapping windows. 2014-02-21 09:15:07 +00:00
Tom Hacohen 6fb54d58ac Tiling2: Fixed a bug in the tree walker. 2014-02-21 09:15:07 +00:00
Tom Hacohen d03fb0a0f8 Tiling2: Fixed error messages with ignored windows. 2014-02-21 09:15:07 +00:00
Tom Hacohen 2f80f460e4 Tiling2: Fixed moving non-tiled windows. 2014-02-21 09:15:07 +00:00
Tom Hacohen 5d044ecad3 Tiling2: Removed some redundant code. 2014-02-21 09:15:07 +00:00
Tom Hacohen df14cca8dd Tiling2: Remove the step restriction.
Enlightenment already enforces that, and using it makes things choppy.
2014-02-21 09:15:07 +00:00
Tom Hacohen b5434d1de5 Tiling2: Restrict allowed resizes of windows. 2014-02-21 09:15:07 +00:00
Tom Hacohen ae8acb24b2 Tiling2: Fixed resizing of clients at "forbidden" borders.
For example, leftmost window's left border.
2014-02-21 09:15:07 +00:00
Tom Hacohen 15a4ec0c40 Tiling2: Use resize_mode for detecting resize direction. 2014-02-21 09:15:07 +00:00
Tom Hacohen f5e96784be Tiling2: Better block of window moving. 2014-02-21 09:15:07 +00:00
Tom Hacohen dae37e1dea Tiling2: Added a menu item to toggle floating windows. 2014-02-21 09:15:07 +00:00
Tom Hacohen 5cec6d14cb Tiling2: Get rid of the use_rows config. 2014-02-21 09:15:07 +00:00
Tom Hacohen b092052297 Tiling2: Removed debug printfs. 2014-02-21 09:15:07 +00:00
Tom Hacohen ceb1cc414e Tiling2: Better handle parent == NULL case. 2014-02-21 09:15:07 +00:00
Tom Hacohen 3804d5165a Tiling2: if can't find the parent, pass NULL, not the root. 2014-02-21 09:15:07 +00:00
Tom Hacohen 052a13b462 Tiling2: Cleaned up ignored windows support. 2014-02-21 09:15:07 +00:00
Tom Hacohen bfdb22b0b8 Tiling2: Added untested support for sticky windows.
Just don't tile them.
2014-02-21 09:15:07 +00:00
Tom Hacohen 8ab30821fb Tiling2: Remove client from floating window list when cleaning. 2014-02-21 09:15:06 +00:00
Tom Hacohen 5e209ea583 Tiling2: Remove things I don't need from config and config dialog. 2014-02-21 09:15:06 +00:00
Tom Hacohen 4b2a53d1d4 Tiling2: Fix a bug with reordering of windows in some cases. 2014-02-21 09:15:06 +00:00
Tom Hacohen 156f6ff984 Tiling2: Properly handle more than one desk. 2014-02-21 09:15:06 +00:00
Tom Hacohen 1b3500f31a Tiling2: Added an hack to workaround the stupid e resize bug.
The bug with the frame created after the first resize.
2014-02-21 09:15:06 +00:00
Tom Hacohen 6b606cde41 Tiling2: Added resizing support.
There are still some bugs.
2014-02-21 09:15:06 +00:00
Tom Hacohen 3aa597c4af Tiling2: Don't tile centred windows. 2014-02-21 09:15:06 +00:00
Tom Hacohen 3914926b13 Tiling2: Removed end_special_input. 2014-02-21 09:15:06 +00:00
Tom Hacohen 8dd65b90f3 Tiling2: Create a move/resize function that will update extra. 2014-02-21 09:15:06 +00:00
Tom Hacohen b0593cd939 Tiling2: Reapply tree when resizing/moving windows. 2014-02-21 09:15:06 +00:00
Tom Hacohen 592dfb9dd2 Tiling2: Fixed buy with deleting last vertical split. 2014-02-21 09:15:06 +00:00
Tom Hacohen e9779f70bf Tiling2: Bug fixing. Things seem to work now. 2014-02-21 09:15:06 +00:00
Tom Hacohen 1a2ffcd06e Tiling2: Changed add to return new root and fixed top-level vertical. 2014-02-21 09:15:06 +00:00
Tom Hacohen 1114b54c71 Tiling2: Added a useful debugging function. 2014-02-21 09:15:06 +00:00
Tom Hacohen 0c5afecfc9 Tiling2: More bug fixing. 2014-02-21 09:15:06 +00:00
Tom Hacohen f7f204353d Tiling2: Handle more delete cases. 2014-02-21 09:15:06 +00:00
Tom Hacohen 38e13e2648 Tiling2: Fixed a few bugs. 2014-02-21 09:15:06 +00:00
Tom Hacohen 21ac77185b Tiling2: Get rid of split_type, use levels instead and bug fixes. 2014-02-21 09:15:06 +00:00
Tom Hacohen f64763ab6e Tiling2: Fixed tree update bugs. 2014-02-21 09:15:05 +00:00
Tom Hacohen aac439698b Tiling2: Removed more code. 2014-02-21 09:15:05 +00:00
Tom Hacohen da4212680a Tiling2: Completely get rid of the stacks concept. 2014-02-21 09:15:05 +00:00
Tom Hacohen 9831904a88 Tiling2: Fixed a bug in tree-walker. 2014-02-21 09:15:05 +00:00
Tom Hacohen dd7c25b506 Tiling2: Moved fullscreen check into 'is_tilable'. 2014-02-21 09:15:05 +00:00
Tom Hacohen 091eeb2df4 Tiling2: Removed more redundant code. 2014-02-21 09:15:05 +00:00
Tom Hacohen af06d8db25 Tiling2: More code cleanups. 2014-02-21 09:15:05 +00:00
Tom Hacohen 29693d93b3 Tiling2: Cleaned up some more code. 2014-02-21 09:15:05 +00:00
Tom Hacohen ea19439b72 Tiling2: Removed more redundant code. 2014-02-21 09:15:05 +00:00
Tom Hacohen 81eb74ca92 Tiling2: Make it possible to toggle split type from key bindings. 2014-02-21 09:15:05 +00:00
Tom Hacohen 76c4fb85d9 Tiling2: Moved more redundant code. 2014-02-21 09:15:05 +00:00
Tom Hacohen 96645931bd Tiling2: Added a mode toggle action. 2014-02-21 09:15:05 +00:00
Tom Hacohen fad33bde8d Tiling2: Removed some more code I don't need. 2014-02-21 09:15:05 +00:00
Tom Hacohen 4c590afe7e Tiling2: Allow not finding a parent if it's the first window. 2014-02-21 09:15:01 +00:00
Tom Hacohen 5ad0edeb84 Tiling2: Added a function to test if we should tile. 2014-02-21 09:15:01 +00:00
Tom Hacohen f1068feed3 Tiling2: Remove more stack related code.
For now, you can't resize windows.
2014-02-21 09:15:00 +00:00
Tom Hacohen d81034ac36 Tiling2: Start using window tree. 2014-02-21 09:14:56 +00:00
Tom Hacohen 9060fa64b9 Tiling2: Fixed bugs and improve the window tree implementation. 2014-02-21 09:14:56 +00:00
Tom Hacohen cfd4ea4f9f tiling2: Added window_tree. 2014-02-21 09:14:56 +00:00
Tom Hacohen 6b68b99491 Tiling2: Initial commit. 2014-02-21 09:14:44 +00:00
Chris Michael ab15d6e2b4 bugfix: Fix wl_desktop_shell compiler warning for Mike
The keys array stores keys as unsigned int, so with a little bit of
casting voodoo, we can avoid the nasty compiler warning messages about
void pointers used in arithmetic.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-02-20 17:11:56 +00:00
Carsten Haitzler fd0048b0f4 ibar - fix separator to properly be horizontal on vertical ibars 2014-02-15 21:35:48 +09:00
Mike Blumenkrantz 6da74c5f06 bugfix: only remove an ibar no-order icon if ALL icon's clients are skip
T953
2014-02-14 15:58:49 -05:00
Mike Blumenkrantz de7d818f99 break when finding a non-skip new ibar exec 2014-02-14 15:57:33 -05:00
Mike Blumenkrantz 964ebfb5d7 also fix wp2 close button to not crash 2014-02-14 15:49:38 -05:00
Mike Blumenkrantz 3121ae65a9 fix wp2 crash
T902
2014-02-14 15:19:03 -05:00
Mike Blumenkrantz 3bb0867815 set DOCK type on systray window 2014-02-14 12:48:34 -05:00
Mike Blumenkrantz 29cd45142a remove E_EVENT_CLIENT_(UN)STICK, use E_EVENT_CLIENT_PROPERTY & E_CLIENT_PROPERTY_STICKY 2014-02-10 20:10:38 -05:00
Carsten Haitzler 7aaeeab3c3 fix aspect of pagewr16 to more closely match real screen
this wasn't strictly necessary in pager but pager16 needs it to not
squash content badly
2014-02-06 01:48:43 +09:00
Mike Blumenkrantz 8d71213839 e_client_name_get() -> e_client_util_name_get()
this should be inlined
2014-02-05 10:55:50 -05:00
Mike Blumenkrantz eba912cf6a e_client_resizing_get() -> e_client_util_resizing_get()
functions in e_client.x should be namespaced with e_client_util to indicate that they are inline (and in e_client.x)
2014-02-05 10:51:36 -05:00
Mike Blumenkrantz ee47265649 more distcheck fixes
not sure how distcheck didn't fail before...
2014-02-04 13:55:58 -05:00
Mike Blumenkrantz 270ecccfad bugfix: building non-default modules from dist no longer fails
T869
2014-02-04 10:54:11 -05:00
Mike Blumenkrantz f3587f67f2 remove conf2 the rest of the way... 2014-02-04 09:41:07 -05:00
Davide Andreoli bf33f34b4c PackageKit: split config stuff to a proper e_mod_config.c file.
No functionan changes with this commit.
2014-02-03 22:21:25 +01:00
Davide Andreoli 0d0907ec2a PackageKit: fixed icon state for newly created gadget.
This fix the case where a new (not the first) gadget is added.
Previously you have to restart e to show the correct state.
2014-02-03 21:37:43 +01:00
Carsten Haitzler fc83914c51 packagekit - update icon 2014-02-02 16:15:19 +09:00
Carsten Haitzler 60784e85ec pkgkit - when running the command, provide the zone so there is context 2014-02-02 10:28:46 +09:00
Davide Andreoli 1e07f20cf1 packagekit: warnings-- 2014-01-31 22:15:01 +01:00
Mike Blumenkrantz d3468dd920 feature: ACTIVATE_EXCLUDE window active hint policy
this option causes window activation requests to only activate a window if it is on a currently visible virtual desktop, otherwise it will be set as urgent. I recall that things may have worked this way long ago...
2014-01-30 12:45:49 -05:00
Mike Blumenkrantz 59d6581f57 use popup style for pager16 popups
now that this is no longer transparent, not having a shadow by default is odd
2014-01-30 12:12:00 -05:00
Carsten Haitzler 61aa61651c ibox/ibar/tasks iconify effect - don't do it if target is not on same screen 2014-01-30 07:45:02 +09:00
Mike Blumenkrantz 9b36b9b78c remove comp iconify hacks (and e_iconify api), expand comp object effect api
instead of adding specific handling which will work (sometimes) in one specific case, expand already-existing api to provide the needed functionality for iconify animations. now on emitting any signal to a comp object, optional glob-able effect providers can be hooked and prioritized to add effect animations

also use animating flags now when applying an object effect

a base effect is provided in elementary, but now each module which wants to hook iconify animations (or other events) can do so in the theme and have different animations with their module
2014-01-29 13:36:42 -05:00
Mike Blumenkrantz 6523f283a6 fix pager popup delete timer
T871
2014-01-29 13:36:41 -05:00
Carsten Haitzler 5ce5fc3918 tasks - add iconify provider 2014-01-29 22:42:54 +09:00
Carsten Haitzler df575ea51a ibar - add iconify provider 2014-01-29 22:42:54 +09:00
Carsten Haitzler 1ede2a5632 iconify provider - the ability to provide geometry for src/dst of iconify
ibox now uses this as an initial test. there are teething problems:

1. unknown location for new icon (guess that its on right)
2. stacking - the animation is at the stacking layer of the comp obj
   ... this probably needs a way for the comp shobj to request a
   temporary stacking change until anim done
2014-01-29 22:42:54 +09:00
Mike Blumenkrantz d09e8af4f3 set layer on pager popup 2014-01-28 11:01:57 -05:00
Mike Blumenkrantz bc3e1fd94f feature: add fileman option to clamp video size for video previews
T102
2014-01-27 12:28:35 -05:00
Mike Blumenkrantz 3aa7a32618 bugfix: use config_type to set parent profile when resetting bindings
I added this a long time ago to fix binding resets and forgot to add the support in to binding resets. genius.

T642
2014-01-27 11:25:24 -05:00
Mike Blumenkrantz 83a009c685 only block fileman zone refocus if top client is not ignored
T854
2014-01-27 10:58:41 -05:00
Mike Blumenkrantz ec74eaa30c re-show pager popups if desk is changed during popup hide animation 2014-01-27 10:58:40 -05:00
Mike Blumenkrantz bb8833a526 set pager* config functions as EINTERN
these functions have the same name, so (un)loading them will result in symbol conflicts unless they are not exported
2014-01-27 10:58:40 -05:00
Mike Blumenkrantz 99a4e5bd27 remove e_pointer_block api
this was a failure idea for a way to block X cursor changes using an api, which turned out to be overengineered
2014-01-23 17:04:41 -05:00
Mike Blumenkrantz 146f1662d9 unset shape event selection on systray xembed base 2014-01-22 22:32:53 -05:00
Mike Blumenkrantz fccfb20972 add autoclose callback for syscon to null pointer
previously, repeated uses of syscon would cause a crash
2014-01-22 22:14:33 -05:00
Mike Blumenkrantz e23019825e set syscon popup layer before autoclose 2014-01-22 22:14:33 -05:00
Carsten Haitzler 6a39d27a51 fix connman check by not failing al the time on owner check
fixes T804
2014-01-22 17:50:57 +09:00
Carsten Haitzler 8285b8ea6b shot - check zone null before using 2014-01-22 12:27:00 +09:00
Carsten Haitzler b399b6a9ca e shot - allow params to share/save now (also specify quality and screen) 2014-01-21 21:21:13 +09:00
Mike Blumenkrantz 52bb6e38e3 unify and improve winlist directional focusing 2014-01-20 16:58:29 -05:00
Mike Blumenkrantz 6ef655d2dd feature: blanking options for wakeup on events (urgent + notify) 2014-01-20 16:08:14 -05:00
Mike Blumenkrantz 02f6dcdf2a set a layer for syscon popup
still working on keyboard....

T818
2014-01-20 11:18:47 -05:00
Mike Blumenkrantz b2a56b63b5 packagekit module description gets an upgrade
also because yet another person doesn't like helping me with news entries:

feature: packagekit module for package manager integration
2014-01-20 00:10:05 -05:00
Cedric BAIL 04f7b59e11 e: call the right function without depending on ld to figure it out (mostly wrongly).
As a side note, using an EAPI function from within a module is a call for disaster.
Their is no guarantee from ld that it will be the current top open .so, actually it
is most likely not going to be the case. So it will do a search for the symbol in the
current stack of open .so and the first one to match will be chosen.

I do think it basically prove that current model of Enlightenment module is fairly
borken and error prone. Hope to have time to fix that, but it will involve completely
breaking the API and ABI compatibility of E module.
2014-01-20 13:01:31 +09:00
Davide Andreoli 7d406706da music-control: fix popup autoclose 2014-01-19 15:03:31 +01:00
Davide Andreoli 28b4375576 PackageKit: EINA_UNUSED++ to warnings-- 2014-01-19 14:55:53 +01:00
Davide Andreoli 4c6326e055 PackageKit: fix popup autoclose 2014-01-19 14:50:32 +01:00
Davide Andreoli d5a89ca177 Put the packagekit module inside the E tree.
The now old emodules/pacakgekit will be removed soon.
Note that you need to update elm as the theme is there.
2014-01-19 11:58:54 +01:00
Mike Blumenkrantz 2e9c1e383d don't add/reset ibar menu hide timer when menu is active
T815
2014-01-18 15:19:42 -05:00
Mike Blumenkrantz 645a3f0b60 correctly fix conf_randr warnings 2014-01-18 15:16:46 -05:00
Mike Blumenkrantz a1d8fd1b6a revert previous "removed" warnings" commit chunk which added more warnings 2014-01-18 15:15:25 -05:00
Carsten Haitzler 35640f88b4 debug remove - sorry. 2014-01-18 19:57:39 +09:00
Carsten Haitzler 0ca6bd8b9d ibar icon menu - set pass events on bg obj until it is fully shown
this needs an elm theme update fyi.
2014-01-18 19:52:58 +09:00
ChunEon Park 7474036140 enlightenment - removed warnings. 2014-01-18 19:37:02 +09:00
Mike Blumenkrantz e757c67b31 hide ibar menu when its gadget menu is opened
one menu at a time.

T744 maybe?
2014-01-17 19:07:11 -05:00
Mike Blumenkrantz a93880ade2 ibar menu now dynamically adds new clients
T744
2014-01-17 19:04:48 -05:00
Mike Blumenkrantz 49b9a2ea2a break out ibar menu population into separate function 2014-01-17 18:27:55 -05:00
Mike Blumenkrantz 312a53e44a further reduce ibar menu hide delay, make delay even shorter when leaving menu
it seems that I always have this thing stuck open for a long period of time after moving my mouse out through it. I suspect that most times when a user moves the cursor out of the menu and does not immediately move it back or to the icon, the menu probably shouldn't hang around. likewise, when it moves out of the icon, maybe we give a little extra time to reach the menu, but not so much that it hangs around if the icon was exited through the side
2014-01-17 18:21:13 -05:00
Mike Blumenkrantz c9d71e4044 add slight delay to ibar menu mouseover showing
this gets really annoying when mousing over the bar quickly and menus start flying all over
2014-01-17 18:19:00 -05:00
Mike Blumenkrantz 92b65633a4 hide mouseover ibar menu after mouse has left
T744
2014-01-17 18:13:03 -05:00
Mike Blumenkrantz 34988ff214 pass events on ibar menu during hide 2014-01-17 18:09:35 -05:00
Mike Blumenkrantz 8f060a22d5 force adding client to raise stack on winlist select 2014-01-17 17:53:05 -05:00
Mike Blumenkrantz 7e81ff6ec9 fix pager16 drag to desktop postioning
T777, T7888
2014-01-16 12:23:49 -05:00
Mike Blumenkrantz 8f99680994 fix ibar menu mouseover crash when dragging 2014-01-16 11:36:13 -05:00
Mike Blumenkrantz a148402b45 reduce ibar mouse out timer length
also since this wasn't done correctly in the original message

feature: ibar now optionaly triggers its menu on mouse in
2014-01-16 11:15:28 -05:00
Mike Blumenkrantz 8f36162c29 make fileman popups hide more aggressively
T750
2014-01-16 10:37:32 -05:00
Mike Blumenkrantz 774ea3efcb fix wizard scaling visuals 2014-01-16 10:37:32 -05:00
Carsten Haitzler f2a5a5f570 ibar - fix collection of segvs dealing with ibar icon menu invalid refs 2014-01-16 21:30:56 +09:00
Mike Blumenkrantz cb5c473786 check/set button for pager window drags
T789
2014-01-15 20:52:27 -05:00
Mike Blumenkrantz e58bf33d38 redo pager16 window dragging
T784, T777
2014-01-15 18:52:57 -05:00
Mike Blumenkrantz 4d72f840c9 fix void ptr arith warning 2014-01-15 18:52:57 -05:00
Mike Blumenkrantz a37bfe3d25 focus clients after pager drag to desktop 2014-01-15 18:52:57 -05:00
Chris Michael ab9d8b8d82 Remove unused variable.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2014-01-15 22:42:42 +00:00
Mike Blumenkrantz 064362234b use live objects for pager16 window drags 2014-01-15 17:01:45 -05:00
Mike Blumenkrantz 7656e10f04 don't need to check desklock state on lokker init 2014-01-15 01:02:06 -05:00
Mike Blumenkrantz 4f116acdbf fix lokker install rule 2014-01-15 00:57:37 -05:00