Commit Graph

6358 Commits

Author SHA1 Message Date
Mike Blumenkrantz cf76a4b142 remove redundant pager desk selection for pager popups on flip 2013-08-14 13:46:21 +01:00
Mike Blumenkrantz 517d537dfa don't iterate over pager desks to set active/inactive, this is stupid. 2013-08-14 12:53:03 +01:00
Mike Blumenkrantz 5afa40b352 remove some old pre-comp pager cruft 2013-08-14 12:49:17 +01:00
Mike Blumenkrantz 64dff19707 ignore wl shell client move/resize end hooks for now
wayland has no concept of non-pointer-based move/resize, so if these get triggered by, eg. a keyboard action, we're pretty fucked
2013-08-14 08:05:57 +01:00
Mike Blumenkrantz bba1dcfad7 don't wl shell grab on inactive shell surfaces when trying to set busy cursor; fixes infinite loop caused by ping timeout 2013-08-14 07:53:46 +01:00
Chris Michael 37e2134cf7 Fix crash when trying to move wayland client applications.
Add callbacks for e_desktop_shell interface functions (cannot be NULL
anymore).
When we bind the wl_shell, we will create the e_desktop_shell.

NB: The e_desktop_shell was not being created or bound to the display
globals.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-13 14:51:00 +01:00
Mike Blumenkrantz bf3ff4a5d1 gadman checks aspect hints during size hint change callback 2013-08-13 11:28:02 +01:00
Mike Blumenkrantz 1d324abd7a changing gadman gadget orientations using menu now guesses new orientation sizes much more accurately 2013-08-13 11:20:39 +01:00
Mike Blumenkrantz f92175c39f only add gadman menu orient callbacks if orient is not current orient 2013-08-13 11:20:15 +01:00
Mike Blumenkrantz 84dc539ddf ibar obeys max size hint 2013-08-13 11:04:55 +01:00
Mike Blumenkrantz 28cc3f0a0a gadman now respects gadget aspect and sets max size hint while resizing gadgets 2013-08-13 11:04:36 +01:00
Mike Blumenkrantz 0bb7ceb97c ibar now sets min size on init and then sets ASPECT on resize, since this is how we get correct sizing without being unable to ensmallen the gadget 2013-08-13 11:02:50 +01:00
Mike Blumenkrantz 3024562fcc bugfix: setting min size on a gadget now propagates to desktop gadgets 2013-08-13 10:22:24 +01:00
Chris Michael 90ea063616 Fix Wayland Client Application Support to work again !! :)
- Add NULL handler for desktop_ready callback
 - Add separate binding callback function for the desktop shell
 - Create desktop shell resource with proper version.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-06 13:27:54 +01:00
Chris Michael 4dfb49a06e Add desktop_ready request to desktop_shell interface.
Fix desktop_shell events for recent protocol changes.
Bump number of desktop_shell requests.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-06 12:38:48 +01:00
Chris Michael e9f740cc47 Add "desktop_ready" function to desktop_shell interface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-06 12:37:11 +01:00
Chris Michael 711a9c4690 Update desktop_shell xml file for version 2.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-06 12:36:48 +01:00
Chris Michael 57a3a62981 When we try to re-enable a monitor, check the Crtc Mode (not the smart
object Current mode) to determine if it is already disabled.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-05 08:57:57 +01:00
Chris Michael a7200ae02d Only create primary output frame if we have more than one monitor to
choose from.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-08-02 16:59:11 +01:00
Chris Michael 6d3751a620 Remove duplicated local variable.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-02 11:36:52 +01:00
Chris Michael a39246c312 Remove return value in function returning void.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-02 11:36:07 +01:00
Chris Michael c48e7d21ce When we have finished creating all monitors, if there is only One
monitor existing, then disable the ability to toggle the indicator.

NB: This is for silly people who (for whatever reason) decide that
it's a good idea to try and turn off their Only monitor.

NB: Fixes Phab Ticket T257

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-02 11:07:52 +01:00
Chris Michael 9046a6b6f0 Add function to allow disable/enable of the indicator toggle.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-02 11:07:52 +01:00
Chris Michael 1aa4f1e39f Add function prototype for disable/enable of the toggle indicator.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-02 11:07:52 +01:00
Chris Michael e2cf7d3485 Handle case of snapping for monitor being moved.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-01 08:58:37 +01:00
Chris Michael 3f2e850259 Big giant Monitor Snapping Fix when we resize or move !! ;)
- Add previous monitor geometry to smart data structure.
- When we set the crtc, also set the monitor current geometry.
- Add function to return the previous monitor geometry.
- On a mouse up, check for monitor location difference versus previous
geometry, if nothing changed then we have no 'move' to do.
- When we start a resize, record the previous geometry and raise the
monitor.
- When a monitor is moved/resized we call the position_update function
which already loops all monitors, so no need to loop them twice.
- Fix position_update function to allow some Snapping Fuzziness so
that on a move/resize any adjoining monitors (within tolerance) will
more reliably snap to each other.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-01 08:25:09 +01:00
Chris Michael d2a0e36c85 Add function prototype for returning previous geometry.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-01 08:25:09 +01:00
maxerba 22f7a34e23 updating desktop files 2013-07-31 12:08:42 +02:00
Chris Michael b0e360599b Implement rudamentary monitor snapping after move.
After a monitor has been moved, snap it to the closest monitor.

NB: This should fix cases where a monitor could not be positioned next
to another monitor which had a resolution of 1368. Previously, the
second monitor could only move to 1366 due to a rounding issue when
converting coordinates to virtual. Now, the second monitor (when
finished moving) will Snap to the proper position.

NB: (Currently) In order for the snapping to work, either the
monitors' X axis or Y axis must be equal. Ideally, this should be
fixed to allow for some percentage of position flexibility.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-31 10:52:06 +01:00
Yossi Kantor ea8a5adad2 Bugfix: ibar popup doent show on additional screens just on main 2013-07-30 10:17:22 +09:00
Chris Michael 7f6285d9fd When we are re-enabling a monitor, do not free the mode info from the
smart data's list of modes. This will get freed when the dialog closes.

Fix some formatting for 80 columns.

NB: Should fix etrunko crash ;)

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-07-26 16:36:52 +01:00
Mike Blumenkrantz a11443eb52 shouldn't be setting ignore on systray xembed base, this was needed when we were creating comp wins at the wrong time 2013-07-26 16:13:06 +01:00
Mike Blumenkrantz fa7744b4de fix ibar client menu to track multiple windows per exe 2013-07-26 14:42:48 +01:00
Mike Blumenkrantz 31ef04c0e6 block gadman drags originating from other gadcons
T251
2013-07-26 13:54:53 +01:00
Mike Blumenkrantz d236e2acec bugfix: fileman double click auto-resizing now accounts for toolbar/sidebar and accounts for maximized state
T208
2013-07-26 12:52:57 +01:00
Mike Blumenkrantz 0923848dc1 move comp focus-out color class to Window Manager section in color config
T242
2013-07-26 12:34:11 +01:00
Stefan Schmidt 9638ed250c wl_screenshot: Remove non-existing file from SOURCES to fix distcheck 2013-07-25 13:37:26 +01:00
Chris Michael 337979599c Remove dead wl_shell module. Was replaced by wl_desktop_shell.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-25 08:19:59 +01:00
Chris Michael c242478bfa Update Makefile.am for wl_screenshot module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:30:49 +01:00
Chris Michael 7d65a7edcc Update wayland screenshot module code and make it functional again.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:30:09 +01:00
Chris Michael 9e64360c2c Update screenshot protocol files for addition of done event
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:29:16 +01:00
Chris Michael 81cd2eedf1 Add wl_screenshot module makefile
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:28:02 +01:00
Chris Michael 99d3fbd17a Add wl_screenshot module desktop file
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:27:52 +01:00
Chris Michael c2ff135803 Update screenshot protocol for done event.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 13:01:45 +01:00
Chris Michael 2b6a8ecf24 Update wayland-client support for recent Wayland api changes (replace
wl_display_add_global with wl_global_create, and fix wl_client calls
to create resources with wl_resource).

NB: This brings client support up to par with version 1.2 of Wayland

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-15 13:42:46 +01:00
Carsten Haitzler 3dc555a7cf fix warnings in build so new ones turn up and get fixed. 2013-07-15 11:45:19 +09:00
Chris Michael ce0b069b51 Update wl_desktop_shell for recent wayland changes
- wl_client functions have been deprecated. replaced with wl_resource
functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-09 10:28:30 +01:00
maxerba b7ba1dea64 Adding serbian localization in desktop files 2013-07-08 13:33:29 +02:00
maxerba 26303bbe1f Fixed sorting in desktop files 2013-07-05 19:02:53 +02:00
Chris Michael 237e5f6f51 Do not need desktop_shell_cb_bind anymore.
Assign the shell to the shell_surface on creation (for future
dereference)
Make grab/move/resize work again for wayland-clients

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-03 08:57:12 +01:00
maxerba 968d4d2206 updating desktop files translations 2013-07-02 17:39:54 +02:00
Chris Michael 7eb58780f3 Use wl_resource_get_user_data to get the currently focused surface.
Destroy surface ping_timer when surface is destroyed.
Use wl_resource_get_client for client comparison

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 13:57:07 +01:00
Chris Michael 91301b4d23 Don't try to bind desktop_shell inside of shell_bind (separate bind
for desktop_shell).
Use wl_resource_set_destructor.
When shell gets unbound, don't "free" the resource (handled internally
via wayland).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:32:36 +01:00
Chris Michael 31696533eb Fix pointer_focus of wayland-clients to not crash.
Use wl_resource_get_user_data where needed.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:13:08 +01:00
Mike Blumenkrantz 46babfef1a hide ibar menu when last instance window is closed 2013-07-02 08:34:44 +01:00
Mike Blumenkrantz ee8a628ff5 fix modality of edge binding grab window 2013-07-02 08:22:51 +01:00
Mike Blumenkrantz 2f998593e1 fix pager window visibility during drag 2013-07-02 07:59:00 +01:00
Mike Blumenkrantz 0782545137 fix teamwork build without emotion 2013-07-01 07:59:04 +01:00
Chris Michael 2047bac4b0 Fix klockwork issue: NULL pointer may be dereferenced:
Don't call e_comp_win_effect_set unless we have a valid pager window

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:45:36 +01:00
Chris Michael 0537494ba7 Fix issue of incorrect x/y position being displayed on a monitor after
snapping.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 11:03:26 +01:00
Chris Michael fa9104b305 bugfix T86: If an output does not have a crtc, find a possible one. If
it has no mode set yet, then we try to get the preferred mode. If that
fails we will try the crtc size, if That fails we will fallback to a
safe 640x480. When getting preferred size, if the output does not
specifiy a preferred mode (but does list availabe modes), then we will
assume the largest size.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 10:57:36 +01:00
Chris Michael b4f277a4a6 When we free outputs, set the variable to NULL.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 10:57:22 +01:00
Chris Michael bba201a892 If a monitor is disabled by the user, then we need to set number of
outputs to zero, and free any allocated outputs before trying to apply
settings.

Also, check for valid mode (not 0) before trying to fetch mode_info.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 07:39:23 +01:00
Chris Michael 9080e82ec4 Update wl_desktop_shell module for recent Wayland changes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 09:23:13 +01:00
Mike Blumenkrantz 0dd2efa30f ensure randr dialog clears its pointer stack 2013-06-24 10:56:21 +01:00
Mike Blumenkrantz f92b638061 fix path setting when opening fileman windows from "No listable items" 2013-06-24 05:59:59 +01:00
Mike Blumenkrantz 445ae27fad fix ibar task appearance when dragging off the bar 2013-06-24 05:40:03 +01:00
Mike Blumenkrantz 57549acc75 activating ibar tasks always pops the window menu 2013-06-24 05:40:03 +01:00
Carsten Haitzler d134b93aff save backlight level as normal backlight when adjusting it with backlight gadget and bindings. 2013-06-22 13:47:34 +09:00
Carsten Haitzler 34e56d3aac warning-- 2013-06-22 13:34:16 +09:00
Mike Blumenkrantz 216b8932da fix teamwork coord calcs to account for client border inset 2013-06-21 15:01:14 +01:00
Mike Blumenkrantz a41c50632c udisks2 support 2013-06-20 16:36:33 +01:00
Mike Blumenkrantz 2bee74044f clarify ibar add/remove icon menu item text 2013-06-19 10:39:34 +01:00
Mike Blumenkrantz f9f9b30982 yet another gadman rewrite
* handle zone changes without forcing a redraw (no more flickering, hooray)

* correctly handle overlay gadcons

* also correctly handle creation of overlay
2013-06-19 09:33:29 +01:00
Mike Blumenkrantz 8f4568a6b1 fix gadman overlay visibility after a gadman reset 2013-06-19 08:52:19 +01:00
Mike Blumenkrantz e00459f12e redo teamwork api to use client id + client positioning for easier wayland support 2013-06-19 08:14:23 +01:00
Mike Blumenkrantz 5ea7430359 remove teamwork video size debugging 2013-06-19 07:10:53 +01:00
Mike Blumenkrantz 6d9c4c0b4c add some safety checks for borders without execs 2013-06-19 07:09:43 +01:00
Mike Blumenkrantz fa8e976540 ibar tasks are now restricted by NETWM skip taskbar state 2013-06-19 06:42:39 +01:00
Mike Blumenkrantz cf0ea3e9fd BY THE POWER OF GRAYSKULL, IBAR IS NOW ALSO A TASKBAR
...optionally
2013-06-18 15:44:57 +01:00
Mike Blumenkrantz a054dc059c move ibar icon appending into ibar icon new function 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz f8448c071a use new e_exec events to track/add/del new exes which are not launched from ibar 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz 8f83d4d3aa fix ibar deletion list removal 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz 18057e5a11 use event handler list macro for ibar handlers 2013-06-18 15:44:56 +01:00
Mike Blumenkrantz 527e5ef49a more ibar inlist conversions 2013-06-18 10:32:34 +01:00
Mike Blumenkrantz 48050a3d7d remove old TODO from ibar 2013-06-18 10:26:18 +01:00
Mike Blumenkrantz 2635e77967 add comments pointing to teamwork api docs 2013-06-18 10:13:08 +01:00
Mike Blumenkrantz f4641152d0 add tmpfile caching for teamwork media and delete video objects more reliably using a hack to work around stupid eo deletion bug 2013-06-18 09:28:07 +01:00
Mike Blumenkrantz d3046a0b3f add teamwork option to disable videos 2013-06-18 08:05:02 +01:00
Mike Blumenkrantz fdac76d0d0 add video playing support to teamwork 2013-06-17 16:07:59 +01:00
Igor Murzov 315dbf8409 Let's drop meaningless empty translations from .desktop files 2013-06-17 13:43:34 +04:00
Mike Blumenkrantz a394a20ee6 fix fileman double slash in path setting
phab T161
2013-06-17 10:08:46 +01:00
Mike Blumenkrantz 5f80690c60 only apply teamwork focus change hider when not sticky/forced 2013-06-17 09:19:04 +01:00
Mike Blumenkrantz e51fa70098 add teamwork handler for border focus out to hide popup when not using pointer focus 2013-06-17 09:13:47 +01:00
Mike Blumenkrantz b76275032c add global flag to show if teamwork media popup was forced 2013-06-17 09:03:21 +01:00
Mike Blumenkrantz d9b5a6b82f convert ibar icons list to use inlist 2013-06-17 08:21:01 +01:00
Thomas Gstädtner 4e2dd06861 ibar exec list: allow fast application switching by scrollwheel 2013-06-17 07:49:22 +01:00
maxerba b2d2101ee0 Similar messages were in src/bin/e_configure_option.c, the only difference was the case of some initials.
Making them the same we save some duplicates in pot file.
2013-06-16 16:41:30 +02:00
Carsten Haitzler c65e2cb4c7 add reported acpi events for several button/... events not handled yet 2013-06-16 10:39:20 +09:00
Carsten Haitzler 4d68c30127 add support for acpi events like:
video/tabletmode TBLT on K
video/tabletmode TBLT off K
2013-06-16 10:31:11 +09:00
discomfitor 3640009202 don't need to use real image geom in teamwork if we only show smaller resolution 2013-06-16 00:58:44 +01:00
Thomas Gstädtner 1daf85faa5 rename ibar timer_cb to menu_cb, as it isn't used only for the timer 2013-06-15 10:14:48 +01:00
Thomas Gstädtner 934bae833d add middle mouse binding for ibar exec menu
this allows for quick, timer-less, access to the menu
2013-06-15 10:14:09 +01:00
Mike Blumenkrantz f4a327a0ca add teamwork module
see http://e18releasemanager.wordpress.com/2013/06/14/why/ for more info
2013-06-14 15:36:11 +01:00
Mike Blumenkrantz 686b23ddfb add E_BINDIR define to modules makefile 2013-06-14 14:41:37 +01:00
Carsten Haitzler 8462dc3c04 put in "key allowed" call in e_bindings for keys to filter out
problematic key binds. :)
2013-06-13 20:10:52 +09:00
Mike Blumenkrantz d25e2ce2c4 add extra check to systray on selection clear event to avoid race condition when refreshing shelf gadgets 2013-06-13 08:13:11 +01:00
Mike Blumenkrantz 1837d1c266 fix pager window dragging in pager when comp effects are enabled 2013-06-13 07:30:36 +01:00
Mike Blumenkrantz a899322813 semi fix systray xembed refresh 2013-06-12 15:01:35 +01:00
Mike Blumenkrantz 8aa2829cdb remove another systray layer check 2013-06-12 14:56:16 +01:00
Mike Blumenkrantz f5e3f2ea6a unset comp win effect when dragging a window to the current desk 2013-06-12 14:08:27 +01:00
Mike Blumenkrantz d497aa921d always emit urgency change for tasks 2013-06-12 11:40:47 +01:00
Mike Blumenkrantz 0aa86c902e fix pager popup hide/delete animation 2013-06-12 09:38:46 +01:00
Mike Blumenkrantz 32b73d0f34 qa mod no longer loads before first border evals, so make post-module load callback fill in non-transient entries 2013-06-12 09:16:03 +01:00
Mike Blumenkrantz 035547b9d9 set qa module to not delayed 2013-06-12 09:15:42 +01:00
Mike Blumenkrantz f85afc0646 fix focus setting when winlisting 2013-06-12 08:43:46 +01:00
Mike Blumenkrantz 7d064ece86 remove focus unset from winlist activate...this seems like extra work for nothing 2013-06-12 08:43:18 +01:00
Mike Blumenkrantz 84793983e1 another huge gadman rewrite. hooray.
* merge gadman overlay to comp canvas using a popup

* unify zone change handlers

* remove stupid container shape change handler (wtf was this supposed to do?)

* better dnd usage
2013-06-12 07:46:26 +01:00
Mike Blumenkrantz bf99312a7d rename gadman hover layer to overlay 2013-06-12 07:46:25 +01:00
Eduardo Lima (Etrunko) d4ee6be578 Split .gitignore into multiple files
Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
2013-06-11 18:19:12 -03:00
Mike Blumenkrantz 3a631947a3 fix systray input and stacking 2013-06-11 14:00:18 +01:00
Mike Blumenkrantz bfb2dc6b0b workaround for a very long-lived bug where translated text for the window focus page of the wizard would be cut off
now the original text is much longer and all the translators will need to redo it
2013-06-11 13:22:46 +01:00
Mike Blumenkrantz 5e7fe56024 don't null fwin popup icon when deleting popup 2013-06-11 09:10:20 +01:00
Jean-Philippe Andre ed03610eca Compositing options: fix enable/disable check boxes matching 2013-06-11 08:59:24 +01:00
Mike Blumenkrantz 38615a27d4 fix a crazy fileman bug where calculating the size of the tooltip would cause a mouse out event on the icon, deleting the tooltip while it was being created 2013-06-10 13:36:03 +01:00
Yossi Kantor 3a68bf115b Tasks module - not updating task item on every border propery change anymore 2013-06-10 13:35:58 +01:00
Igor Murzov d4176581fa Make systray settings dialog translatable 2013-06-09 20:12:59 +04:00
Igor Murzov 4d345be847 Don't ask questions in systray settings dialog 2013-06-09 20:12:59 +04:00
Igor Murzov aa7ebc4c73 Fix copy'n'paste issue 2013-06-09 20:12:58 +04:00
maxerba 5deed35ac2 adding catalan translation and sorting lines alphabetically 2013-06-05 00:16:38 +02:00
Carsten Haitzler 02d9596178 fix ibar exe watcher segv hole.
i got a segv with ibar and exe instance watching. a watcher was still
active even tho ic was freed (i think)... i don't know the
reproduction steps, but i think this is a hole.. so plug it.
2013-06-04 19:18:43 +09:00
Mike Blumenkrantz 9a615c1438 new user-requested option for moving the winlist-selected window to the current desk 2013-05-30 14:23:13 +01:00
Mike Blumenkrantz 9a24c85571 pager dnd is now significantly more awesome 2013-05-30 09:42:29 +01:00
Mike Blumenkrantz c3bfd72525 delete ibar menu timer on mouse move to prevent interference when dragging icons 2013-05-30 07:49:53 +01:00
Mike Blumenkrantz abfed64b8a don't set dnd aware twice on comp canvas 2013-05-29 13:45:48 +01:00
Chris Michael ee715e2472 Fix possible memory leak reported by klockwork.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-29 13:05:43 +01:00
Mike Blumenkrantz 14b50dca6b set delete callback on fileman toolbars to prevent double free 2013-05-28 15:05:32 +01:00
Mike Blumenkrantz a4a7a831c4 fix systray parenting and sizing
xembeds no longer appear during desklock
2013-05-28 13:18:28 +01:00
Mike Blumenkrantz 0eb88a495d make systray Instance struct public 2013-05-28 13:18:28 +01:00
Mike Blumenkrantz 4b8a73b1d9 systray is effectively the same whether it's in a shelf or on the desktop now, make it work for both 2013-05-28 13:18:28 +01:00
Carsten Haitzler 738b5d417d fix segv in applyig fileman config to all fwins while walking fwin list (deleting an fwin while walking) 2013-05-28 19:43:51 +09:00
Carsten Haitzler b5b0756e79 add more acpi button support 2013-05-27 23:25:54 +09:00
Chris Michael 1b76632915 Add suport for setting the Primary Output in the randr dialog....for
my German friend ;)

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 13:05:41 +01:00
Chris Michael d6a392d127 Preliminary support for Primary Output of XRandR
NB: If you have more than one output, XRandR has the option/support to
set a specific monitor as the primary output. These changes allow some
distinction in the dialog between which output is primary (a faint
glow around the monitor). This is just the "display" portion of
Primary Output support ... next is a method to Change that.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 11:28:34 +01:00
Carsten Haitzler 6ce67eca01 ensure pa autho info is 0'd out so valgrind doesnt complain about reading uninitialized data. 2013-05-23 21:39:33 +09:00
Carsten Haitzler d73e6036c9 oops - remove fprintf debug from cpufreq. 2013-05-23 21:19:17 +09:00
Mike Blumenkrantz 84c9e12238 set gadman window to fullscreen so edge actions can still be used while it's up 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 0f3c11c8c9 set gadman window name/class 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 921ecb5ede gadman hover shouldn't be an override, just fullscreen 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 27c872e102 fix gadman hover dnd 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 25c67a8556 fix gadman gadget move-to menus 2013-05-23 10:45:24 +01:00
Stefan Schmidt 48cd1c1598 music-control: Add Rhythmbox to supported players. 2013-05-23 09:48:36 +01:00
Chris Michael 3e487fb2c8 Actually, lets add a newline at the end also (since 'buf' does not
contain one).

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-22 17:31:31 +01:00
Chris Michael 51db96e202 Fix "warning: format not a string literal and no format arguments
[-Wformat-security]" compiler warning.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-22 17:30:36 +01:00
Mike Blumenkrantz 006b7ec618 rearrange all the comp settings dialog options and add backlight option to basic view 2013-05-22 14:01:31 +01:00
Carsten Haitzler 6b532aadad add intel pstate support in cpufreq for kernel 3.9 and newer. 2013-05-21 22:07:06 +09:00
Carsten Haitzler 0bf55848ab add option to not fade backlight on suspend/resume/reboot/shutdown/logout etc. to keep backlight untouched. 2013-05-21 22:07:06 +09:00
Deon Thomas 17f4e85042 Wizard - Temperature detection for Linux
Implemented temp sensor detection for linux, it is basically a light
detection, most info came from the temperature module,
_wizard_temperature_get_bus_files == temperature_get_bus_files from
temperature module. tested on 4 systems, and one really old system
which does not have sensors and it seems to work very good.
2013-05-21 09:26:55 +09:00
Carsten Haitzler 4752435fe1 handle trailing newline from cpu governors so they get listed right. 2013-05-21 01:25:19 +09:00
Carsten Haitzler 74d23ebd80 when an exe is removed from ibar icon exes, del watcher to avoid segv. 2013-05-20 22:24:30 +09:00
Carsten Haitzler 75f8470839 just in case - set list of exe's to null on freeing it in ibar 2013-05-20 21:49:53 +09:00
Mike Blumenkrantz d208926bdf fix crash when deleting icon menu 2013-05-20 12:02:34 +01:00
Mike Blumenkrantz e407877885 fix possible memleak when failing to fetch music-player seek dbus args
klocwork issue
2013-05-20 11:16:07 +01:00
Chris Michael a019ffb7ac Fix another memleak reported by klockwork.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-20 10:31:01 +01:00
Chris Michael 10acf59475 Fix potential memleaks reported by klockwork.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-20 10:31:01 +01:00
Mike Blumenkrantz 25c0f38bf6 pager popups no longer allow clicking
deal with it
2013-05-20 08:59:50 +01:00
Carsten Haitzler 5548e4afa7 ... improve that popup box from ibar to not scale all over the place... but.. comp mirrors are full of garbage for me. 2013-05-19 23:34:10 +09:00
Chris Michael 2babd46029 printf--
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-19 12:48:54 +01:00
Chris Michael dc3c16c4a5 Fix randr dialog to display monitors that are disabled.
Add function to get a monitor's preferred mode size.
Add function to find any clones of a monitor.
Add function to find a valid crtc for an output

NB: Raster, this should fix your reported problem ;)

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-19 12:44:26 +01:00
Chris Michael 37498d7062 Add function to find a valid crtc for this monitor if none is set.
If a monitor gets re-enabled and no current mode is set (which is
typically the case), then find a mode based on size.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-19 12:44:26 +01:00
Chris Michael 31d34db673 Initialize 'orients' variable to rotation 0.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-19 12:44:26 +01:00
discomfitor 9ef130a6da ibar now conceals a terrible power. the first person who can figure it out without reading the commit gets a surprise! 2013-05-18 19:39:52 +01:00
discomfitor c34a28707f e_popup_autoclose() now also allows a delete function to replace normal popup deletion 2013-05-18 19:39:52 +01:00
discomfitor 48c0777dd1 add battery icon to popup for low power warning to ensure deletion 2013-05-18 19:39:51 +01:00
Chris Michael c29269c6b5 Fix window remembers dialog to actually enable the apply button if you
change one of the remember check boxes.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-18 16:49:06 +01:00
Chris Michael 1197cc43a9 Minor formatting fix.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-18 16:35:16 +01:00
Chris Michael 9d2f29f0ae Add functions to allow wayland clients to run inside Enlightenment
again.

Wayland moved the input handling to be inside the "compositor" now, so
we need to add functions/support for that.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-13 09:03:43 +01:00
Igor Murzov abfe4e1b69 Make gadcon locations translatable 2013-05-12 02:02:26 +04:00
Igor Murzov cb062fd350 Update russian translation 2013-05-11 12:15:02 +04:00
Igor Murzov b48114152a Better gettext usage for conf2 module 2013-05-11 12:15:01 +04:00
Igor Murzov 553b055a06 Remove double space in a message 2013-05-11 12:15:01 +04:00
Igor Murzov 229ad049bc Support DeaDBeeF in Music Controller 2013-05-11 12:15:01 +04:00
Mike Blumenkrantz 646f90439f increase systray min width, define systray gadget min sizes, also apply min sizes when resizing dynamically 2013-05-09 07:57:06 +01:00
Mike Blumenkrantz d8c603ae87 filemanager windows no longer resize to 0x0 when double clicked with no icons present
T78
2013-05-08 08:28:53 +01:00
Mike Blumenkrantz 2d55999aad reuse comp canvas for ibar grab win 2013-05-07 13:11:05 +01:00
Igor Murzov 60c687415a Comment out outdated translations in .desktop file of conf_comp module.
Translations in .desktop file of conf_comp module are copied from
one of now removed comp module. And as there is no tag 'fuzzy' for
desktop files, translations that need to be updated are commented out.
2013-05-05 00:49:18 +04:00
Igor Murzov 599ff00c26 Partially revert commit 8d7c40c622 2013-05-05 00:33:45 +04:00
maxerba 8d7c40c622 updating serbian translation 2013-05-04 20:40:16 +02:00
maxerba 99b361871e updating italian translation 2013-05-04 19:54:52 +02:00
Chris Michael 61ef289fe4 Check for valid wayland compositor before trying to init desktop shell.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-04 12:30:02 +01:00
Mike Blumenkrantz 046aecdf06 fix invalid read of notification popup after delete 2013-05-03 13:39:38 +01:00
Igor Murzov 971ca768eb Update russian translation 2013-05-02 16:05:26 +04:00
Igor Murzov c449a14ce5 Fix thinkos 2013-05-02 15:49:25 +04:00
Igor Murzov d81819e5cd Add some more messages to the pot 2013-05-02 15:49:25 +04:00
Igor Murzov 2b86e82d6c Gettextize bluez4 module 2013-05-02 15:49:24 +04:00
maxerba 4f4ab0f432 updating italian translation 2013-04-25 15:21:24 +02:00
Mike Blumenkrantz 53d8c89791 unbreak notification callbacks, fix notification crashes
this should not have been committed as-is, and I'm very disappointed at the lack of testing here.
2013-04-25 09:12:43 +01:00
Mike Blumenkrantz 1efc663a18 unset data ptr for notification handler in notification module 2013-04-25 08:50:37 +01:00
Lucas De Marchi f8a2dd4d95 Rename edbus->eldbus 2013-04-23 12:37:43 -03:00
Jérémy Zurcher 21be5a7e61 mixer: factorize popup&gadget balance&volume code 2013-04-23 15:03:21 +02:00
Jérémy Zurcher c24bdf66df mixer: prevent mem leak and let default card setup on empty module
config
2013-04-23 10:57:28 +02:00
Carsten Haitzler 1bd06b4a8d oops - didnt fix pa RIGHT... now its fixed - detects pa native socket
properly if its an XDG_RUNTIME dir.
2013-04-22 00:31:22 +09:00
Boris Faure de187284fc tiling: fix segv when adding a stack without config 2013-04-20 18:27:06 +02:00
Carsten Haitzler 2a7a3a557f e17 mixer - use XDG_RUNTIME_DIR for finding pulse... and have more
generous fallbacks.
2013-04-21 00:42:34 +09:00
Carsten Haitzler 0985de0051 if inst->channel is null... dont segv at least in mixer. 2013-04-21 00:17:12 +09:00
Mike Blumenkrantz e673e85f98 rename deskpreview -> bgpreview 2013-04-19 10:07:15 +01:00
Mike Blumenkrantz 711f91f1f6 add name to notification content objects+mirrors 2013-04-19 09:41:21 +01:00
Mike Blumenkrantz 6371da9a61 add new modes for notification display when using multiple monitors, shows a TODO bug for comp zoomap mirrors 2013-04-18 15:50:49 +01:00
Mike Blumenkrantz 2795e52b9b set current config version on load 2013-04-18 13:04:23 +01:00
Mike Blumenkrantz 53330cc2e1 clean up pager desk drag objects 2013-04-18 12:38:39 +01:00
Carsten Haitzler 3740656a66 fix multiple shelf config diaslog bug. 2013-04-18 13:08:20 +09:00
Chris Michael 86ea7cf6ef Bring drm header file up-to-date with structure name changes, etc.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 14:39:26 +01:00
Chris Michael 8c5e0c702d Add a Drm_Fb structure to represent the frame buffer.
NB: Start of getting drm to function again.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 13:52:18 +01:00
Mike Blumenkrantz ed7b29d50f all comp wins now have zoomaps, zooming effect lovers rejoice 2013-04-16 13:51:50 +01:00
Chris Michael 3300bcc31b Remove noisy printf.
Remove useless object_move call.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael f3571b98f2 Reset surfaces to be borderless.
NB: Uncomment this line to help debug things.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 3ef01a7ee6 Remove printf
Remove nasty "fullscreen" hack.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 531407985e Add support for popup, fullscreen, move, resize of a wayland client.
Fix several bugs with regard to moving, resizing a wayland client.
Implement popup menu functionality.
Implement (but disable right now) fullscreen functionality
 - NB: Disabled currently as I am hunting a potential e_border bug.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael a72b6d3034 Add support for transient surfaces.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 94d093fe32 Add code to support popups and fullscreen :)
Fix some unused variables.
Be sure to destroy any ping timers on surface destroy.
End any existing popup grabs when we start a new grab.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael d22f3f53a5 Add support to resize wayland clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 98f813f176 Add support for moving surfaces.
Add support for fullscreen/unfullscreen.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 89782f0f4c Add code to unset the pointer cursor image when the mouse leaves the
input area.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 3ba4da16b2 Set the e_border to borderless by default for wayland clients.
Add function to listen for the ecore_evas resize and adjust the size
of the surface smart object.
Add support for Maximize/Unmaximize of wayland clients.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael 757e477275 Add support for key up/down events from the surface and pass them
along to the wayland client.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael 0fc304eae5 Handle mouse up and down events from the surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael a4d26ee3a8 Add support for the e_surface smart object.
Add code to listen for the callbacks from e_surface and pass events
along to the wayland client.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael 5624cee73f Add surface smart object support to the desktop shell.
Add code to handle shell surface requests.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:56 +01:00
Chris Michael 9e420a288e Add start of desktop shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 4ab6cf4611 Fix desktop shell Makefile to include the wayland client cflags
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 40b5b05c05 Fix up modules directory Makefile to include desktop shell.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 6653eccd17 Add start of desktop shell code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 550dd3c17f Add start of wl_desktop_shell module code.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael 45b13b243f Add Makefile for wl_desktop_shell module.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Mike Blumenkrantz 747851dbe1 desk transition config dialogs FIXED(ish) and show comp effects 2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 6e33f33c59 rename comp border edje groups from e/comp/* to e/comp/border/* 2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 718dfef61d giant comp rejiggering commit #6:
* border->fx REMOVED, related border api REMOVED

* comp edc has new class of groups: e/comp/effects[/auto]
** these are effects which can be applied to any compositor object through the e_comp_win_effect* api and are written in embryo
*** two types - base and auto - base = manual, for use with animators; auto are "trigger and forget", for use as actual effects

* desk flip transition animations moved to comp effects and FIXED(ish)

* "zoom" effect renamed to "diagonal" for slightly less misleading name since it never did any zooming

* actual "zoom" effect added

* border hierarchy now as follows: cw->effect_obj swallows cw->shobj, cw->shobj swallows cw->bd->bg_object ?: cw->obj, if (cw->bd->bg_object) cw->bd->bg_object swallows cw->obj
** cw->effect_obj now used for all positioning and comp logic
** cw->effect_obj ONLY used for object transformation effects (moving, zooming, fading, etc)
** cw->shobj ONLY for comp visual/non-movement effects (focus effect, unfocus opacity, legacy shadows); this is a candidate for removal/rewrite in E19

* even more comp shape rewrites

* desk flip animation time now controlled by theme since edje doesn't support setting transition time in C; related config value removed

* desk flip transitions (in e_desk.c) rewritten

* various modules (evry/illume2) updated to use comp effects instead of fx offset

* desk flip configuration BROKEN(ish)
2013-04-15 08:39:16 +01:00
Mike Blumenkrantz 505cec1d91 giant comp rejiggering commit #5:
* border frame/object now drawn directly on compositor canvas

* border shadows now in border theme with edje hint, non-updated themes still receive comp object shadows FOR NOW

* e_border MOVE/RESIZE pointer mode defines are now e_pointer.h enums

* added BD_CHANGED() util macro for setting bd->changed and printing a debug line to assist in finding places where this all-important flag is wrongly set

* bd->bg_win removed entirely

* bd->pointer objects moved to compositor object; now only one pointer object exists for each compositor

* resizing windows now shows a new and totally-intended scaling effect for window contents

* some additional retooling of border deletion/free callbacks

* fixed lurking potential bug where window could recieve focus from autoraise timer after border had been deleted

* more comp shape improvements/rewrites

* desk transitions are now BROKEN(ish)

* various modules updated to not be totally broken with these changes
2013-04-15 08:39:16 +01:00
Carsten Haitzler 8dad24565f segv-- for clock popup o_popclock object ref benig dangling. this is a
new bug methinks in e18 dev.
2013-03-31 11:58:41 +09:00
Jérémy Zurcher 3f34680b7a reprotect _mixer_popup_key_down_cb
/me still asleep, it's better like this
2013-03-30 10:14:45 +01:00
Jérémy Zurcher cf2ef255c4 fix _e_popup_autoclose_key_down_cb
- uses autoclose_popup->key_data as autoclose_popup->key_cb data
  key_data is provided at cb registration through e_popup_autoclose(…)
- re-enable _mixer_popup_key_down_cb
2013-03-30 10:07:05 +01:00
Carsten Haitzler 8fc839e9c8 mixer key control broken .. to the point it segs now. :) patch over
seg. :)
2013-03-29 19:24:22 +09:00
Carsten Haitzler 5a86b057b8 remove azy code and build/configure checks. after zmike made it plain
azy will never become part of efl, and things like being able to do
http get/posts etc. should be part of efl itself as a core feature,
then we forever will have to choose ecore_con_url or some efl
mechanism OR azy.. or go implement both always, and implementing both
is just stupid. imlementing azy only means we add more dependencies
outside of efl and we repeat the mistakes of the past with the split
tree, or we implement the efl method only (ecore-con-url), so i'm
choosing the one with the least dependencies. call me if this position
on azy outside of efl changes.
2013-03-27 21:50:49 +09:00
Mike Blumenkrantz 1f0a8801b5 fix ibox crash when border hasn't been assigned to a zone 2013-03-26 11:51:40 +00:00
Mike Blumenkrantz 7e1843207c update azyshot to new api 2013-03-25 08:24:35 +00:00
Mike Blumenkrantz 313b0374c3 remove unneeded variable set in wizard 2013-03-22 10:02:49 +00:00
Tom Hacohen e1fe199718 E conf intl: Initialise basic_language variable.
Judging from the code it seems that this variable is supposed to be init to
NULL.
2013-03-21 16:20:52 +00:00
Chris Michael 723825e49e If a crtc has no outputs, then skip it.
This fixes an issue where "monitors" would be created with only a stand.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-03-20 13:41:48 +00:00
Mike Blumenkrantz 605f781e36 dear cedric,
fucking compile things before you commit.

your vengeful buddy,
mike
2013-03-20 08:36:14 +00:00
Stefan Schmidt df5e6d7cfa ebluez4: Have all functions and vars conditional for the unlock feature.
If we only use them in conditional blocks we don't need them to be defined
for all cases.
2013-03-19 08:52:27 +00:00