Commit Graph

13766 Commits

Author SHA1 Message Date
Carsten Haitzler 4be1d4537a allow xdg dir usage if you add -DDOXDG to CFLAGS. 2013-05-28 12:32:31 +09:00
Carsten Haitzler b5b0756e79 add more acpi button support 2013-05-27 23:25:54 +09:00
Chris Michael 98ac01ceb8 Remove unused variable (not needed).
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-25 20:20:13 +01:00
Chris Michael 74a85a19db Actually, we cannot set primary first as we may need to re-enable a
saved monitor, so move "primary setting" until After we have enabled
and sized the monitors.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-25 20:18:33 +01:00
Chris Michael d498c41467 As we need XDG_RUNTIME_DIR to be set before we can run wayland-clients
inside E, check if it is set, and if not set it.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 21:53:39 +01:00
Chris Michael 04936b207a Set primary output before crtc settings.
If the primary output saved in config does not exist, then set primary
to the first output.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 18:42:45 +01: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 9f95515926 Record primary output in randr config.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-24 13:04:58 +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
Mike Blumenkrantz 1b58e6cf8e fix shape rect related crash from b738b9fe5f 2013-05-23 13:29:34 +01:00
Carsten Haitzler b738b9fe5f fix shape rects leak in e_border 2013-05-23 21:39:33 +09: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
Mike Blumenkrantz 10585f1771 Revert "dont leak shape rects!"
they weren't leaking.
2013-05-23 13:16:15 +01:00
Carsten Haitzler d73e6036c9 oops - remove fprintf debug from cpufreq. 2013-05-23 21:19:17 +09:00
Carsten Haitzler bfec26893d dont leak shape rects! 2013-05-23 20:56:08 +09:00
Mike Blumenkrantz 5ac0b9df10 remove unnecessary call to evas_object_data_get during gadget deletion 2013-05-23 11:16:00 +01:00
Mike Blumenkrantz 36bdc32757 use relative window coords when setting up desk transitions; fixes animations with multiple monitors 2013-05-23 11:06:11 +01: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 738e8d5d4a set pass events on effect_obj for comp wins instead of shobj; fixes dnd window finding algorithm 2013-05-23 10:45:25 +01:00
Mike Blumenkrantz 15933c43a0 improve e_comp_util_wins_print for non-border comp wins 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
Mike Blumenkrantz 74732f5603 block creation of comp wins for border parent windows 2013-05-23 08:59:51 +01:00
Mike Blumenkrantz ce21e7fe98 ensure we delete previous shape if we commandeer an override comp win as a border comp win somehow 2013-05-23 08:59:51 +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
Chris Michael 54931cf7f6 Fix several "variable may be used uninitialized" warnings.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-22 17:26:18 +01:00
Mike Blumenkrantz 68829b05d5 block dynamic comp win creation for deleted border-client windows 2013-05-22 14:44:03 +01:00
Mike Blumenkrantz a583f9a118 streamline comp win initial geometry setting to use fewer roundtrips and not randomly put overrides in the upper left corner 2013-05-22 14:17:37 +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
Mike Blumenkrantz 74f33f1ed2 block dynamic creation of comp wins for root windows and their parents. my confusion is palpable. 2013-05-22 13:24:03 +01:00
Mike Blumenkrantz b6024ca722 unify comp win external shape creation routine and allow for non-override windows to be dynamically created on window show events
fixes stupid non-override qt menus
2013-05-22 13:16:48 +01:00
Mike Blumenkrantz b0fb5ae565 greatly improve pointer focus models by hooking mouse callbacks to the comp win object 2013-05-22 11:07:01 +01:00
Mike Blumenkrantz ae8d726c5a remove old x focus hack for mouse in 2013-05-22 11:06:31 +01:00
Mike Blumenkrantz 2d50567556 set valgrind num-callers to 40 in e_start 2013-05-21 14:58:05 +01:00
Mike Blumenkrantz 35866ab02b block access to efm icons after possible deletion 2013-05-21 14:54:01 +01:00
Mike Blumenkrantz e0ba828932 silently remove comp module from module config on attempted load 2013-05-21 14:36:13 +01:00
Mike Blumenkrantz 107e32422e fix conf2/gettext init debacle
phab review issue
2013-05-21 14:02:04 +01:00
Mike Blumenkrantz edbb6d2294 better tag choice for new comp-backlight conf2 option 2013-05-21 13:57:19 +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
Mike Blumenkrantz 89664c894e layout/comp "top at xy" functions now allow restricting based on visibility
fixes desktop gadget dnd
2013-05-21 13:52:11 +01:00
Mike Blumenkrantz 1bd7fc8d73 block popup showing when content not set 2013-05-21 11:58:08 +01:00
Mike Blumenkrantz 9836d657d2 fix window desk send flip to action (GLIMAAAAAAAAAAAAAAAAAAAAA) 2013-05-21 11:29:50 +01:00
Mike Blumenkrantz 9e16026e04 set pass events on override windows to fix things like desktop recording 2013-05-21 11:21:05 +01:00
Mike Blumenkrantz b307dee904 block non-override comp win creation more effectively 2013-05-21 11:21:05 +01:00
Mike Blumenkrantz f72b309bb6 call comp populate after borders have been created in startup to reduce number of comp wins created 2013-05-21 11:21:05 +01:00
Mike Blumenkrantz c8d615f155 comp shape updates:
* move all shape rectangle stuff into e_container_shape

* use input rects for cutting comp shape when available

* set shape changed and render queue when container shape change callbacks are called

* create fewer comp wins (small memory improvement)
2013-05-21 11:21:05 +01: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 7749fddaa0 set comp mirror image size before setting image data -> no more black/garbage mirrors 2013-05-20 12:18:21 +01: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
Mike Blumenkrantz 1b8c6fc89a fix possible memleak when creating new app menu entries
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
Chris Michael dff4df51f3 Fix potential memleak 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
Mike Blumenkrantz 9d8a1c0a75 ignore comp shapes which have pass events set 2013-05-20 08:59:33 +01:00
Carsten Haitzler 4ca3e80d2b fix comp mirrors to work with gl engines... 2013-05-19 23:44:15 +09: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 012a05e571 Modes is a zero-based list, so preferred needs to be -1.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-19 12:44:26 +01:00
Chris Michael cc919670fd Remove unused variables.
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 0e0b20c075 block multiple menu deactivate callbacks 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 34399c80db allow popups named "noshadow*" to skip comp shadowing 2013-05-18 19:39:52 +01:00
discomfitor d72411c6ea make gadcon popup cleanup slightly more correct when deleting objects 2013-05-18 19:39:52 +01:00
discomfitor 12944d7afe add e_exec_phony to create fake e_exec instances on e restart 2013-05-18 19:39:51 +01:00
discomfitor d8dc6df8c4 add E_Exec_Instance to E_Border and vice versa 2013-05-18 19:39:51 +01:00
discomfitor 4bbafeebb3 using pixmap w/h directly for comp mirrors is probably infinitesimally faster here 2013-05-18 19:39:51 +01:00
discomfitor 29be7a23ba delete e_exec expire timers when the instance is found... 2013-05-18 19:39:51 +01:00
discomfitor 2f6bbfd908 fix comp mirrors for argb xim non-native wins 2013-05-18 19:39:51 +01:00
discomfitor 48c0777dd1 add battery icon to popup for low power warning to ensure deletion 2013-05-18 19:39:51 +01:00
discomfitor a7148b558f e_exec_desktop_instances_find 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 9e605ebce8 Fix randr plug-n-play for cedric because he asked nicely ;)
- Add config timestamping to our randr config.
- remove property_notify handler as we never use it.
- Unify some code to remove duplication
- Add a lot of debugging output.
    Yes, e_randr is going to be noisy for a little while until I can
    verify that it works for others also.
- Too many other changes to list.
    Suffice to say, this makes e_randr plug-n-play work (here anyway).

NB: Right now, this just clones. It Could be changed to extend new
monitors tho

NB: This works here, on my laptop at home. If you find it does not
work for you, please supply the output of E's startup/restart when you
plug AND unplug monitors.

Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-18 16:35:16 +01:00
Chris Michael 1edb77e5c4 Add config_timestamp to e_randr_cfg.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-18 16:35:16 +01:00
Chris Michael 1197cc43a9 Minor formatting fix.
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-18 16:35:16 +01:00
Carsten Haitzler 8814dbc109 fix focus hang bug - zmike suggestion... 2013-05-16 14:44:33 +09:00
zmike 5cebe429d4 fix desk flip focus when switching screens with mouse focus during animation 2013-05-15 21:11:47 +01:00
discomfitor 7d469785d5 block pointer warp after desk flip animation if new desk is not in current zone 2013-05-13 22:27:24 +01:00
discomfitor 8912e7a7fe e_desk_last_focused_focus now returns the focused border 2013-05-13 22:21:14 +01:00
discomfitor 02d59dbdb2 shouldn't need to flush shadow win tree again after desk show since it was already flushed in both show and hide 2013-05-13 22:21:14 +01:00
Jérémy Zurcher d0b7970f5f e_comp: partial revert to fix mixer popup
Revert "let us... force zoomap always for popups and menus. let's eee if this"
This reverts commit 4df2ff56f5.
2013-05-13 22:53:22 +02: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