Commit Graph

6693 Commits

Author SHA1 Message Date
Tom Hacohen 07841a6b5e Tiling: start migrating the code to use smart callbacks.
Those are meant to be better than the e hooks.
2014-03-20 17:40:23 +00:00
Chris Michael 75d25f8c47 Fix the "Fix more wayland crashes" commit so that we can build for
wayland-only again

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-19 07:47:20 +00:00
Mike Blumenkrantz c81e649992 fix more wayland crashes 2014-03-18 18:15:24 -04:00
Mike Blumenkrantz c04d754ac5 enabling drm output module should NOT require X-less build.
these defines all need to be changed from HAVE_WAYLAND_ONLY to something like WITH_X or we're going to have lots of problems with xwayland later on
2014-03-18 16:14:04 -04:00
Mike Blumenkrantz af3f435d98 systray stop crashing in wayland!!!! 2014-03-18 13:22:11 -04:00
Chris Michael 5c322c40c4 @bugfix: Set ecore_wayland into 'server mode' before we call init so
that it does not stall and we end up sitting forever.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:05 +00:00
Chris Michael 645cb48dd5 @bugfix: Check return of e_comp_wl_init and initialize ecore_wl library
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:05 +00:00
Chris Michael 915f8f0613 @bugfix: Fix building for WAYLAND_ONLY by using the proper define
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Chris Michael a32d74d1c7 @feature: Add new drm compositing module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Mike Blumenkrantz ee1cc930c1 ibar mouseover menu no longer breaks when client menu is activated 2014-03-14 11:42:09 -04:00
Mike Blumenkrantz ce429495bb bugfix: don't deref teamwork pointer after null check
CID 1040134
2014-03-13 13:07:33 -04:00
Mike Blumenkrantz a54fda4530 bugfix: don't deref possibly-null value in mouse bindings
CID 1040138
2014-03-13 13:06:08 -04:00
Mike Blumenkrantz 4b58fa9a4e replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz 8422eea8d0 remove unnecessary battery_config null check
CID 1040140
2014-03-13 12:55:24 -04:00
Mike Blumenkrantz 457a385fa7 clamp screen sizes to 1 to avoid impossible division-by-zero for window shots
CID 1040148
2014-03-13 12:50:56 -04:00
Mike Blumenkrantz 4b3e2797a0 bugfix: don't use external log domain in systray
CID 1132742
2014-03-13 12:40:27 -04:00
Mike Blumenkrantz 6142845ef8 bugfix: don't use external log domain in music player
CID 1132743
2014-03-13 12:38:22 -04:00
Mike Blumenkrantz cea010dce0 bugfix: don't crash when saving screenshots with no file extension
CID 1132744
2014-03-13 12:35:43 -04:00
Mike Blumenkrantz b9eaf4d239 bugfix: don't crash on possibly-null gadman bg string extensions
CID 1132749
2014-03-13 12:35:39 -04:00
Mike Blumenkrantz 9db01b9cbf don't check for non-pointer existence in lokker pin validation
CID 1155284
2014-03-13 12:15:52 -04:00
Mike Blumenkrantz 6dd98df0d6 remove all remaining efl version check defines 2014-03-13 11:55:29 -04:00
Mike Blumenkrantz 400c1f5177 make win->client check more explicit in efm_opinfo
CID 1187925
2014-03-13 11:38:52 -04:00
Mike Blumenkrantz 0a316209aa bugfix: set connman pending.disconnect when disconnecting a service 2014-03-13 11:25:01 -04:00
Mike Blumenkrantz ded3b76723 make connman if statements more clear for freeing data
CID 1039738
2014-03-13 11:24:30 -04:00
Mike Blumenkrantz 07135d8b21 bugfix: use more descriptive + accurate buffer size in batget iterator
CID 1039801
2014-03-13 11:01:52 -04:00
Mike Blumenkrantz 16e7c57ba4 bugfix: prevent out of bounds access in systray theme setup
CID 1039843
2014-03-13 10:53:55 -04:00
Mike Blumenkrantz cac879d289 use a more obvious iterator limit for gadman edit end
CIDs 1039846, 1039845, 1039844
2014-03-13 10:51:43 -04:00
Mike Blumenkrantz cc8eb78352 bugfix: ensure null termination of string in xsettings config
CID 1039967
2014-03-13 10:43:08 -04:00
Mike Blumenkrantz 94072211c3 fix mixer config leak on config failure
CID 1135539
2014-03-13 10:31:07 -04:00
Mike Blumenkrantz 5aa231f53e fix desklock custom bg starting dir display 2014-03-10 00:07:03 -04:00
Sebastian Dransfeld 11a7aa51ec tiling: gitignore
ignore created .edj file
2014-03-07 10:01:46 +01:00
Sebastian Dransfeld 35fea59e2d conf_randr: redo randr dialog to trust e_randr_cfg
Prevously conf_randr worked directly against ecore_x_randr. Now we
rather modify e_randr_cfg, and use e_randr to apply changes against
ecore_x_randr.
2014-03-06 15:18:15 +01:00
Sebastian Dransfeld c994e235f9 conf_randr: hide refresh rates when none to show 2014-03-06 15:18:15 +01:00
Sebastian Dransfeld d9acc5a5c2 conf_randr: don't store variable when used once 2014-03-06 15:18:15 +01:00
Sebastian Dransfeld 77ea4d2256 conf_randr: remove clone support
Clone isn't well supported in base randr config. Remove until it is.
2014-03-06 15:18:15 +01:00
Sebastian Dransfeld 6e87cec645 conf_randr: use refresh_rate function from e_randr 2014-03-06 15:18:15 +01:00
Sebastian Dransfeld 464df11e28 conf_randr: remember whether geometry has changed 2014-03-06 15:18:14 +01:00
Mike Blumenkrantz a40d0d7e21 fix ibox initial urgent states 2014-03-05 10:08:09 -05:00
Mike Blumenkrantz 9ad04eb877 redo client urgency again with separate flag for actual urgent state
preserve icccm flag for accurate detection
2014-03-05 10:08:09 -05:00
Carsten Haitzler f43279d839 colors cfg - support adjustment of colorclasses - remove bad ones, add new 2014-03-06 00:02:24 +09:00
Carsten Haitzler 4d9b7ecdee colorclass config - add option for focused color class too. 2014-03-05 18:03:06 +09:00
Carsten Haitzler 565faa1155 based on submission from Seunghun, Lee - dont access NULL desk
this effectively accepts D574 but is re-done with different formatting.
2014-03-05 15:27:15 +09:00
Tom Hacohen 68b7c92c6c bugfix: Fix selection of the standard profile in wizard.
There was a bug there, that caused the one after the standard to be
selected, instead of the standard one.
This was caused because directories and the default profile were not
properly ignored.
2014-03-04 12:08:08 +00:00
Carsten Haitzler 5c8710ded3 fix screen blanking while fullscreen window is up - work again
@fix - this fixes T1019 - when a window is fullscreen the display just
NVER can blank no mater what. it's hrdcoded, and wrong to enforce. if
an app wants to display screensaver - there is the xscreensaver extn -
or maybe supporting an explicit property on a window would work
better, but just equating fullscreen == never blank is wrong. it's an
option now. off by default.
2014-03-01 08:04:09 +09:00
Mike Blumenkrantz 254a318fc6 enforce comp hidden state for quickaccess clients
fix T1035
2014-02-27 20:58:30 -05:00
Mike Blumenkrantz 1920e62c80 bugfix: pointer warp speed config slider correctly detects changed state
fix T1020
2014-02-26 11:46:31 -05:00
Mike Blumenkrantz ef520ba331 set winlist input window as child of root, not comp overlay win
T1019
2014-02-26 11:46:31 -05:00
Carsten Haitzler 0313a54da4 e-object-check - this has been turned off since 2007 - back on
this is crazy. all the E_OBJECT_CHECK macros have been off since 2007.
this is just nuts. either remove them, or have them on by default, but
not off. so this turns them back on and fixes code to actually compile
again with them on, as this broke over the years. a lot of code
expects/assumes thatthese willcheck types and null ptrs, but they
don't because they are off by default.
2014-02-26 04:28:12 +09:00
Carsten Haitzler 2a11dfec63 remove % from battery reading to save space 2014-02-24 03:24:26 +09:00
Tom Hacohen e406966a64 Fix 'make dist' (include extra files).
This wasn't tested here, as I don't have a proper set up,
but it seems to be what's needed.

Thanks to Simotek for reporting.
2014-02-23 11:26:33 +00:00
Mike Blumenkrantz b83cbdd100 bugfix: evry string matching now handles UTF8
T152
2014-02-21 17:19:01 -05:00
Mike Blumenkrantz a588b891b5 fix evry makefile install rule 2014-02-21 17:19:01 -05:00
Mike Blumenkrantz e86dc53ddc feature: per-screen desklock logo visibility config
T613
2014-02-21 17:18:57 -05:00
Mike Blumenkrantz d2e2418a74 revert focus when hiding quickaccess client if focus revert option is enabled
T949
2014-02-21 16:44:12 -05:00
Mike Blumenkrantz ba9a68d3bd bugfix: remove efm nav SELF_RENAME handler
this seems to be called completely erroneously and is worthless since all it does is trigger random directory changes

T892
2014-02-21 16:44:12 -05:00
Mike Blumenkrantz d840583263 don't show pager urgent popups for focusing clients 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 8eba19c012 add urgency popups for p16
T1004
2014-02-21 16:44:12 -05:00
Tom Hacohen 69ad15a480 Tiling2: Rename module to tiling1 in the desktop file. 2014-02-21 09:28:15 +00:00
Tom Hacohen 960bcaf811 Tiling2: Adjusted makefile for E. 2014-02-21 09:27:09 +00:00
Tom Hacohen 652392beff Tiling2: Fix handling windows that become untilable after we've added them.
This fixes T946.
2014-02-21 09:15:18 +00:00
Tom Hacohen 5bf441960d Tiling2: Change all checks for ignored windows to check if tiled. 2014-02-21 09:15:18 +00:00
Tom Hacohen 6a7aeb7695 Tiling2: Cleaned up maximized check function a bit. 2014-02-21 09:15:18 +00:00
Tom Hacohen 555ac8c0d9 Tiling2: Fixed maximized windows handling.
This got broken with all the reshuffling. Another fix.
2014-02-21 09:15:18 +00:00
Tom Hacohen fbcd03c48a Tiling2: Merge back restore client and the non sizing variant. 2014-02-21 09:15:18 +00:00
Tom Hacohen baaad1c09a Tiling2: Fixed geometry restore for maximized and fullscreen windows. 2014-02-21 09:15:18 +00:00
Tom Hacohen 116045fb8c Tiling2: Merge all the tiling callbacks and checks to 1 place. 2014-02-21 09:15:18 +00:00
Tom Hacohen 2b778b2aea Tiling2: Added maximized to the is_tilable checks. 2014-02-21 09:15:18 +00:00
Tom Hacohen 5e25cddeb1 Tiling2: Fix handling of maximized windows.
This fixes T978.
2014-02-21 09:15:18 +00:00
Tom Hacohen 457271f167 Tiling2: Handle windows becoming fullscreen while tiled. 2014-02-21 09:15:18 +00:00
Tom Hacohen 249def581b Tiling2: Only restore maximized if different than current. 2014-02-21 09:15:18 +00:00
Tom Hacohen ce7da97d8e Tiling2: Ifdef out ecore_x specific stuff when in Wayland Only. 2014-02-21 09:15:18 +00:00
Tom Hacohen 59d428b6e6 Tiling2: Don't tile iconic windows when loading the module.
This fixes T976.
2014-02-21 09:15:18 +00:00
Tom Hacohen 8463b7af47 Tiling2: Del all callbacks when unloading module.
This fixes T971.
2014-02-21 09:15:18 +00:00
Tom Hacohen b4900203d5 Tiling2: reapply tree on frame's deletion, not client removal.
According to mike this should work better with animations.

Fixes T947.
2014-02-21 09:15:18 +00:00
Tom Hacohen 0831537efa Tiling2: When adding clients, add them relative to the current one.
This fixes clients to be added relative to the current one, and not at
the end of the current children list.

This fixes T944.
2014-02-21 09:15:17 +00:00
Tom Hacohen 89881a0c50 Tiling2: Fixed coding conventions. 2014-02-21 09:15:17 +00:00
Tom Hacohen 4c846ca7fc Tiling2: Properly apply settings from the config dialog.
This fixes T911.
2014-02-21 09:15:17 +00:00
Tom Hacohen 555730c2bc Tiling2: Fixed setting of floating on non tiled desktops. 2014-02-21 09:15:11 +00:00
Tom Hacohen fe43bd7576 Tiling2: Store extra on more windows, including ones in non-tiling desktops. 2014-02-21 09:15:10 +00:00
Tom Hacohen 3294d8e562 Tiling2: Moved a function to a better location. 2014-02-21 09:15:10 +00:00
Tom Hacohen 08947d8220 Tiling2: Removed useless desk show hook. 2014-02-21 09:15:10 +00:00
Tom Hacohen 32e1ec2034 Tiling2: Fixed applying of desktop is tiled config.
This now changes things as we click apply.
2014-02-21 09:15:10 +00:00
Tom Hacohen 82e252fa71 Tiling2: Fixed tiling2 according to enlightenment's sticky event changes.
Changes in e were introduce in: 29cd45142a
2014-02-21 09:15:10 +00:00
Tom Hacohen f4a7b6512a Tiling2: Fixed formattign, again.
Fixes T919.
2014-02-21 09:15:10 +00:00
Tom Hacohen 92b0d0171c Tiling2: Fixed resize issues.
This fixes T913.
2014-02-21 09:15:10 +00:00
Tom Hacohen e48cd878ce Tiling2: Renamed space between windows -> padding. 2014-02-21 09:15:10 +00:00
Tom Hacohen d83e18f21e Tiling2: Implemented window padding.
Thanks to cippp for the feature request + some code.
2014-02-21 09:15:10 +00:00
Tom Hacohen b4df3d18a1 Tiling2: Use a define to set the max window padding. 2014-02-21 09:15:10 +00:00
Tom Hacohen 82fb13e6fa Tiling2: Get rid of a redundant define. 2014-02-21 09:15:10 +00:00
cippp 48c1cc947f Tiling2: Added config to set window spacing. 2014-02-21 09:15:10 +00:00
cippp f6cd19a9fd Tiling2: renamed local variables. 2014-02-21 09:15:10 +00:00
cippp f62fe4972f Tiling2: Added a link to the module's settings when right-clicking gadget. 2014-02-21 09:15:10 +00:00
Tom Hacohen 8254aa45b2 Tiling2: Added a config to disable floating mode. 2014-02-21 09:15:10 +00:00
Tom Hacohen 99e8b518f2 Tiling2: Added a gadget to indicate current tiling mode. 2014-02-21 09:15:10 +00:00
Tom Hacohen 68a84521ae Tiling2: Added a gadget group to the theme. 2014-02-21 09:15:10 +00:00
Tom Hacohen 47eec07d9a Tiling2: Removed unneeded images from theme. 2014-02-21 09:15:09 +00:00
Tom Hacohen 651e627c4b Tiling2: Removed debug print that was causing segfaults. 2014-02-21 09:15:09 +00:00
Tom Hacohen ee587a37b0 Tiling2: Fixed coding conventions using efl_indent. 2014-02-21 09:15:09 +00:00
Tom Hacohen 05df3290dc Tiling2: Updated wiki path. 2014-02-21 09:15:09 +00:00
Tom Hacohen 1b4821155c Tiling2: Get rid of __UNUSED__ in favour of EINA_UNUSED. 2014-02-21 09:15:09 +00:00
Tom Hacohen e034e518df Tiling2: Build infra - this can be removed when merged to E. 2014-02-21 09:15:09 +00:00
Tom Hacohen 5b5ffa37d4 Tiling2: Added an help button. 2014-02-21 09:15:09 +00:00
Tom Hacohen bf69b855b3 Tiling2: E_Client already has a property for sticky, use it.
Before this change, I duplicated this in extra.
2014-02-21 09:15:09 +00:00
Tom Hacohen e2f4596ff7 Tiling2: Implemented mouse drag to swap.
This is a new mouse action that lets you swap window with mouse drag.
2014-02-21 09:15:09 +00:00
Tom Hacohen b48cd9c9f8 Tiling2: Fix bug with cleaning up actions when shutting down. 2014-02-21 09:15:09 +00:00
Tom Hacohen ea175537cf Tiling2: Removed redundant structure members. 2014-02-21 09:15:09 +00:00
Tom Hacohen 7aaf444ee8 Tiling2: Don't try to remove non-tiled windows from the tile tree. 2014-02-21 09:15:09 +00:00
Tom Hacohen 792022196f Tiling2: Add "floating" as a split mode.
This lets people just create floating windows, without the need to toggle.
2014-02-21 09:15:09 +00:00
Tom Hacohen ff078996ff Tiling2: Improved setting of client borders.
No need to have a special entry point for that.
This fixes the issues with persistant pixel border.
2014-02-21 09:15:09 +00:00
Tom Hacohen bb1d53614c Tiling2: Fixed issues with removing/restoring clients. 2014-02-21 09:15:09 +00:00
Tom Hacohen ca6f1e74f5 Tiling2: Fixed removing clients from extras hash. 2014-02-21 09:15:09 +00:00
Tom Hacohen f6fa07e812 Tiling2: Have a common entry func for most functions. 2014-02-21 09:15:09 +00:00
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