Commit Graph

6296 Commits

Author SHA1 Message Date
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
Cedric Bail 2f6fcf4228 e: add automatic desktop lock/unlock when a bluetooth device disapear.
This use a custom implementation of l2ping to ping known device and do
proper action when they go away. I don't recommend to use the auto unlonck,
but it is there if someone need it.
2013-03-18 00:07:34 +09:00
Cedric Bail 32f717483f ebluez: save config. 2013-03-16 11:47:32 +09:00
Cedric Bail da14a2d0eb e: add auto desk lock and unlock to Enlightenment bluez module. 2013-03-16 11:47:31 +09:00
Mike Blumenkrantz 5a61d5f733 when azy is enabled, shot module now uses it (successfully!) for uploading 2013-03-15 13:35:46 +00:00
Mike Blumenkrantz f4da77932d add optional azy support to e 2013-03-15 13:35:31 +00:00
Mike Blumenkrantz a069797887 fix cpufreq gadget menu popdown 2013-03-13 07:46:56 +00:00
Dieter Roelants 5e5462a381 portability: don't rely on bash or zsh behavior.
This force the command to be run with exec and prevent them
for staying alive after startup or restart.

Signed-off-by: Cedric BAIL <cedric.bail@free.fr>
2013-03-11 10:29:54 +09:00
Mike McCormack 98602e6846 contact: Fix warnings
Signed-off-by: Mike McCormack <mike@atratus.org>
2013-03-10 08:10:07 +11:00
Stefan Schmidt 27b1b54a04 e/musi-control: Use ECORE_CALLBACK_PASS_ON.
To allow other users to receive the event as well. Spotted by Jose Souza. Thanks!
2013-03-08 14:32:13 +00:00
Stefan Schmidt 5dff40a70c e/music-control: Allow strings to be translated. 2013-03-07 11:43:46 +00:00
Stefan Schmidt b81777bfde e/music_control: Add option to pause music on desklock.
Locking your screen pauses the music unlocking starts playing again.
Option is off by default.
2013-03-07 11:40:27 +00:00
Shinwoo Kim d032d0e52f [access] check active window and send message to the active window 2013-03-07 16:20:51 +09:00
Jérémy Zurcher 46230e204c mixer: cleanup card and channel selection code path
_populate_channel_editor:
   use app->sys_card_name instead of
e_mod_mixer_card_name_get _populate_channels:
   select default channel or first one
_create_cards:
   do not reselect card and channel
e_mixer_app_dialog_select:
   cleanup, remove unused _find_card_by_name and _find_channel_by_name
_mixer_popup_cb_mixer:
   do not modifiy current selection on popup
2013-03-06 16:05:20 +01:00
Jérémy Zurcher 01e98a4534 mixer: remove unused mixer functions
remove e_mod_mixer_channel_name_get, e_mixer_xxxx_get_channel_name e_mixer_xxxx_set_state
2013-03-06 16:05:20 +01:00
Jérémy Zurcher 6ef3c743ef mixer: use channel capabilities in alsa subsystem
use capabilities bitmap to more precisely target the right alsa calls
2013-03-06 16:05:20 +01:00
Jérémy Zurcher cadd6ca38f mixer: remove e_mod_mixer_mutable_get and e_mod_mixer_capture_get
it's handled by channel capabilities
2013-03-06 16:05:20 +01:00
Jérémy Zurcher 00681f3ada mixer: take advantage of Channel capabilities bitmap
split channels list into 4 groups:
   Playback, Capture, Switch, Boost
nicely disable volume sliders and mute check when appropriate
2013-03-06 16:05:20 +01:00
Jérémy Zurcher b34e7b440d mixer: replace E_Mixer_Channel_Info has_capture with capabilities
capabilities is a bitmap with the following defined bits:
   E_MIXER_CHANNEL_CAN_MUTE       0x01
   E_MIXER_CHANNEL_IS_MONO        0x02
   E_MIXER_CHANNEL_HAS_CAPTURE    0x04
   E_MIXER_CHANNEL_HAS_PLAYBACK   0x08
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 330490ad85 mixer: add const to immutable params of mixer api
strengthen mixer's api
2013-03-06 16:05:19 +01:00
Jérémy Zurcher d75622c33c mixer: use E_Mixer_Channel_Info as subsystem fct param
E_Mixer_Channel is only used within audio subsystems
e_mod_mixer_channel_info_get_by_name returns a E_Mixer_Channel_Info
use e_mod_mixer_channel_info_free to free a single channel_info
2013-03-06 16:05:19 +01:00
Jérémy Zurcher ab7edf7ff6 mixer: fix grammar
a farm of pigs is a pig farm, says my irish wife;
info should stay singular but for better understanding, use plural
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 146e3d3643 mixer: add missing _e_mixer_dummy_set calls to sys_dummy 2013-03-06 16:05:19 +01:00
Jérémy Zurcher 488904c95d mixer: factorise get/free card names
e_mod_mixer_card_names_free in e_mod_mixer.c is used
to free Eina_List build by e_mod_mixer_card_names_get
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 640b339a80 mixer: factorise get/free channels info and names
E_Mixer_Channel_Info allocated in subsystems,
then freed in generic functions in e_mod_mixer.c
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 03b9522b04 mixer: replace struct channel_info with E_Mixer_Channel_Info
E_Mixer_Channel_Info is defined in e_mod_mixer.h
subsystems will allocte it returning Eina_List
generic functions in e_mod_mixer will free the structs
2013-03-06 16:05:19 +01:00
Jérémy Zurcher a67cc20580 mixer: replace e_mod_system.h with e_mod_mixer.hc
provide a neat mixer api, easier to upgrade
2013-03-06 16:05:19 +01:00
Jérémy Zurcher 55ef1af90a mixer: pulse use const eina_stringshare as channel name
neat as done in sys_dummy
2013-03-06 16:05:19 +01:00
Daniel Juyung Seo 10ad3b23a8 efm now knows about KP_Enter. Patch by godfath3r.
KP_Enter key is added in enlightenments file manager.
2013-03-05 18:52:19 +09:00
Christopher Michael eca3475b79 Fix incorrect monitor position text on some startup cases.
When we call "grid_set" (as a result of the grid object moving or
resizing), we should update the monitor position text.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-27 12:01:25 +00:00
Christopher Michael dce3e8f74f Skip refresh rate checks during resize.
Some people have reported that resizing is difficult, or that they
could not get to the max resolution of their monitor(s). Skipping the
refresh rate check during resolution finding fixes that ... With a big
fat Gotcha !!! because now after changing resolutions, the refresh
rate May not match what was previously selected....

So, as a word of CAUTION: After you set a resolution you should now
Verify your Refresh Rate before Applying, else you may be getting an
undesirable rate :/

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
2013-02-26 11:09:45 +00:00
Mike Blumenkrantz 2d5d042979 fix pager dnd icon deletion 2013-02-26 07:27:44 +00:00
Mike Blumenkrantz e3486bbc17 save gadman gadget geom on resize 2013-02-25 09:26:06 +00:00
Mike Blumenkrantz 241a5763e3 reset gadman gadget position if invalid % for size/geom is sent, only create gadget menus based on config where applicable 2013-02-25 09:25:03 +00:00
Mike Blumenkrantz 1ed466474d update gadman gadget position on moves 2013-02-25 09:24:24 +00:00
Mike Blumenkrantz 817ea38bcf gadman only rejects dnd events from non-gadman gadcons instead of all gadcons 2013-02-25 09:23:20 +00:00
Mike Blumenkrantz 339f4c58e4 gadman no longer crashes when right clicking a dnd-enabled gadget 2013-02-25 08:18:06 +00:00
Carsten Haitzler 42271921da use activte for contact. 2013-02-23 18:23:51 +09:00
Mike Blumenkrantz dbd0670bfc systray now has a min size of 8x8 so it can be clicked 2013-02-22 13:56:47 +00:00
Stefan Schmidt 299aea18c4 e/music_control: Fix typo for playing 2013-02-22 13:46:28 +00:00
Mike Blumenkrantz 70d68a30e0 giant comp rejiggering commit #4
* dnd canvas removed, dnd objects now drawn directly on compositor canvas

* dnd now correctly picks the top-most dnd-receiver location as its drop target instead of just using the first one in the list

* various other small changes to go along with this
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz bf9933a336 E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency 2013-02-22 13:18:30 +00:00
Stefan Schmidt 26d32a34b2 e/music_control: Allow an action to toggle between play and pause.
We offer the play pause action but did only do the pause. Now we allow
toggling the state.
2013-02-22 13:00:02 +00:00
Shinwoo Kim 944356135a [access] check 'double down and long press' and 'then move'
SVN revision: 84307
2013-02-22 10:10:54 +00:00
Shinwoo Kim 9ce26d3202 [access] check window rotation
SVN revision: 84306
2013-02-22 09:51:45 +00:00
Shinwoo Kim 46451fa1ad [access] check previous block to save configuration value
SVN revision: 84304
2013-02-22 09:46:20 +00:00
Mike Blumenkrantz 00c8442d51 gadman top layer no longer deletes gadget configs when it can't find their objects
SVN revision: 84288
2013-02-21 13:52:30 +00:00
Mike Blumenkrantz 368142bc76 minor cosmetic tweaks for gadman init
SVN revision: 84287
2013-02-21 13:52:28 +00:00
Mike Blumenkrantz cf2c170c8c fix syscon to use popups more effectively
SVN revision: 84264
2013-02-20 10:47:53 +00:00
Christopher Michael 8a3cf51692 Re-enable Restore button for RandR dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84256
2013-02-20 07:45:19 +00:00
Christopher Michael ce6ed08611 Hook into monitor_resized callback and update adjacent monitor positions.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84234
2013-02-19 11:01:31 +00:00
Christopher Michael c3736db94f Add a monitor_resized callback so positions of other monitors can be
updated.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84233
2013-02-19 11:01:29 +00:00
Christopher Michael 2ce1533131 Disable Restore on Startup for now until larger randr event issues are
worked out.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84232
2013-02-19 11:01:26 +00:00
Christopher Michael 1860beba5a Add monitor_moved callback and update position (if needed).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84230
2013-02-19 11:01:21 +00:00
Christopher Michael 16abe425c0 Add missing function prototypes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84229
2013-02-19 11:01:18 +00:00
Christopher Michael 8109e62825 When we do a current_geometry set, repack the monitor to the updated
geometry.
Add a geometry_get function for monitor.
Fix up cloning code to work properly with different size
parents/children.
Add a monitor_clone_parent_get function.
When applying changes, also use crtc_clone_set function.
Add smart callback for monitor_moved to tell randr widget it may need
to shuffle things around.
Use output mouse position, not canvas position.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84228
2013-02-19 11:01:14 +00:00
Christopher Michael 8f728d158d Add restore checkbox to dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84222
2013-02-19 11:00:56 +00:00
Christopher Michael 686ff23a54 Add some comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84219
2013-02-19 11:00:09 +00:00
Christopher Michael f52d507845 Add missing function prototypes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84218
2013-02-19 11:00:00 +00:00
Christopher Michael 0ac5ed720a Handle apply of monitor changes to X.
Reduce position text set calls and just do it on smart_move.
Add a changes_apply function.
Add code to record changes to a monitor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84217
2013-02-19 10:59:58 +00:00
Christopher Michael 1f51f97259 Add randr_changed function.
Add function to apply changes.
Add callback hook for monitor(s) changed.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84216
2013-02-19 10:59:55 +00:00
Christopher Michael c889d84b87 Add hook for randr widget changed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84215
2013-02-19 10:59:52 +00:00
Christopher Michael b0dff98153 Simplify changed enum.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84214
2013-02-19 10:59:49 +00:00
Christopher Michael 86b27baec7 Start on monitor Changes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84213
2013-02-19 10:59:47 +00:00
Christopher Michael 994586d509 Add code to handle when cloning monitors so that the size, mode and
orient of each will match (NB: This is required by XRandR in order for
cloning to be successful).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84212
2013-02-19 10:59:44 +00:00
Christopher Michael eec7305dfc Update some comments.
Add code to create any clones on initial startup.
Add function to find a monitor object based on crtc.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84211
2013-02-19 10:59:41 +00:00
Christopher Michael 6739bcfe66 Add the clone object as a smart member for monitor.
Add some comments.
Update position and resolution text when we unclone.
Repack the monitor into the grid when we unclone.
Set virtual thumb size correctly.
Emit disabled signal (if needed) when we unclone.
Also record x/y coordinates when doing move/resize/rotate.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84210
2013-02-19 10:59:38 +00:00
Christopher Michael 54f611f3c5 Add function prototype for monitor clone set.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84208
2013-02-19 10:59:33 +00:00
Christopher Michael fee5a89bfa Add cloning support for monitor.
Tie in code for indicator toggle (enable/disable).
Add function to return a monitor's crtc id (used in randr widget).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84207
2013-02-19 10:59:30 +00:00
Christopher Michael 5f68828189 Simplify the monitor rotation code and make sure new positions are
within grid virtual space.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84203
2013-02-19 10:59:20 +00:00
Christopher Michael 132719c2b6 Correctly calculate disabled monitor position(s).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84202
2013-02-19 10:59:17 +00:00
Christopher Michael 7df8dddb23 Remove useless mod_dir variable (and associated code).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84201
2013-02-19 10:59:15 +00:00
Christopher Michael 3f283a62a2 Remove useless defines and variables.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84200
2013-02-19 10:59:11 +00:00
Christopher Michael a9cd2aaa02 Remove unused variable and some dead printfs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84199
2013-02-19 10:59:08 +00:00
Christopher Michael a9f1783e5f When calculating virtual size, also account for 'possible' outputs.
When we are creating the monitors, account for 'possible' outputs also.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84198
2013-02-19 10:59:06 +00:00
Christopher Michael 1d10a382b6 Actually, allow move/resize/rotate for disabled monitors so things can
be adjusted (NB: Will not actually mattery on Apply anyway).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84197
2013-02-19 10:59:03 +00:00
Christopher Michael c5254ce545 Set current size and position text when we set current values.
Add function for setting current geometry.
If a monitor is disabled, do not allow rotate, resize, move events.
Fix resize start/stop functions to use current geometry.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84196
2013-02-19 10:59:00 +00:00
Christopher Michael c0d5cbad61 Add function prototype for setting current geometry.
Rename function prototype for grid virtual size set.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84195
2013-02-19 10:58:57 +00:00
Christopher Michael f48772482c Fix move_stop to use current geometry.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84194
2013-02-19 10:58:54 +00:00
Christopher Michael 2819733656 Handle setting monitor to enabled/disabled based on crtc mode.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84193
2013-02-19 10:58:51 +00:00
Christopher Michael 87ef25f21b When calculating virtual size, we only need to fetch
"screen_current_size_get" if both vw & vh are 0.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84192
2013-02-19 10:58:48 +00:00
Christopher Michael 2acdd3f3e2 Add 'current' field values so we can use these durring apply for
comparison to old values.
Fix move, resize, rotate code to use "current" values.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84191
2013-02-19 10:58:45 +00:00
Christopher Michael aee6393591 Add code to handle manual monitor movement.
Fix up coordinate functions to not need doubles.
Update monitor position text when moving.
Fix up rotation code to allow rotating when mouse is outside the frame
(thank you Daniel) ;)

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84190
2013-02-19 10:58:42 +00:00
Christopher Michael b33401f645 Add in refresh_rate code for filling refresh rate list and listening
for changes.
Break map_apply function into frame_map_apply and thumb_map_apply for
rotating just the wallpaper.
Fix resize code to work with a rotated monitor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84188
2013-02-19 10:58:36 +00:00
Christopher Michael 39bc25be03 Use ecore_x_randr_crtc_info_free function to free returned crtc_info.
When comparing refresh rates for mode searches, cast to int.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84187
2013-02-19 10:58:33 +00:00
Christopher Michael 2e0f4e7a27 Reduce variable usage
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84186
2013-02-19 10:58:31 +00:00
Christopher Michael e02c9fc7aa Fix comment.
Remove orientation comparison.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84185
2013-02-19 10:58:28 +00:00
Christopher Michael af59660d3f Add ROTATE_FUZZ amount.
Add inline function to get orientation based on rotation amount.
Add function to apply an evas_map for rotation.
If we are rotating, we don't need to set livethumb size.
When we start rotating, set initial rotation amount to 0.
When rotation stops, update the map and monitor position where needed.
Apply map during rotation.

NB: This commit also adds a debugging red rectangle behind the
monitor. This will be removed when debugging is complete

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84184
2013-02-19 10:58:25 +00:00
Christopher Michael c2b2be5be7 Add current rotation to smart_data structure.
Fill in current rotation on crtc set.
Update current rotation when we get a rotation event.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84183
2013-02-19 10:58:22 +00:00
Christopher Michael 35855135a1 Add inline function to return the degree of rotation based on
orientation.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84182
2013-02-19 10:58:19 +00:00
Christopher Michael 87daec404d Remove Big Fat Fixme warning as it's fixed now :)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84181
2013-02-19 10:58:16 +00:00
Christopher Michael ed84b96078 Add code to check EFL version.
If we are using a newer version, then we can use the new
ecore_x_randr_crtc_info_get() function which will save us a lot of X
round-trips.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84180
2013-02-19 10:58:13 +00:00
Christopher Michael 93ad1faf50 Add current mode and refresh rate to crtc field.
Add function prototype for getting a mode refresh rate.
Add Big Fat FIXME for crtc_set function.
Get the crtc current mode & refresh rate when crtc is set.
Simplify monitor_mode_find function.
Add function for getting a mode refresh rate.
Start on rotation event code.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84179
2013-02-19 10:58:10 +00:00
Christopher Michael 1ec01f9d65 Add function to get the amount of rotation from a mouse event.
Simplify mouse movement check in resize_event and add some better
comments.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84178
2013-02-19 10:58:06 +00:00
Christopher Michael 3526741c82 Turn 'crtc' field into a structure (mainly for making code easier to
read/maintain).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84177
2013-02-19 10:58:04 +00:00
Christopher Michael 5b47415f14 Add code to check if rotations for a given crtc are possible, and
disable the rotation in edje if not.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84176
2013-02-19 10:58:01 +00:00
Christopher Michael 9edea3c781 Only get edid (an expensive process) if getting the output name
previously has failed.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84175
2013-02-19 10:57:57 +00:00
Christopher Michael 7abc8a7aca Add flag for rotating to structure.
Add & delete callbacks for rotation start & stop.
Add functions for rotate start & stop.
Add start of rotate event code.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84174
2013-02-19 10:57:55 +00:00
Christopher Michael 2edc7cfeaf Add some comments.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84173
2013-02-19 10:57:52 +00:00
Christopher Michael 480170d4ce Remove all code which tried to maintain aspect ratio of the frame
(resize snapping to mode dimensions will handle this anyway).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84172
2013-02-19 10:57:50 +00:00
Christopher Michael 1f63b0f062 Remove dead comments about layout object.
Add grid object to structure.
Add callbacks to handle when grid gets moved or resized so we can
update the monitor's copy of the grid geometry.
Update calls to monitor_grid_set to pass in geometry now.
Add monitor_virtual_size_set call.
Add code to deal with grid getting moved & resized.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84171
2013-02-19 10:57:47 +00:00
Christopher Michael bda3e4bcdc Change structure to store grid geometry.
Change grid_set function to accept grid geometry.
Add monitor_virtual_size_set function.
Only update livethumb preview size if we are not manually resizing.
Don't need to set the resolution text during smart_resize.
Add functions to convert coordinates to/from virtual to canvas.
Add function to find the closest randr mode to a given size.
Add function to handle user manual resizing.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84170
2013-02-19 10:57:44 +00:00
Christopher Michael 903787a594 Change monitor_grid_set function to also accept the grid geometry
(used for virtual-->canvas coordinate functions).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84169
2013-02-19 10:57:41 +00:00
Christopher Michael fd0889b31a Add missing LOGFN's where needed.
Add mouse_move callback on frame.
Delete mouse_move callback when we delete the frame.
Add code in frame moouse_move function to call appropriate event based
on current action.
Start of actual resize event code.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84168
2013-02-19 10:57:38 +00:00
Christopher Michael f4ae6fac22 Add flag to structure for resizing.
Add start of resize coordinates to structure.
If we are manually resizing the object, update the text.
When resize starts, record the current mouse position and size.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84167
2013-02-19 10:57:35 +00:00
Christopher Michael fd11b69ad5 Add edje callbacks to frame for resize_start & resize_stop.
Add code to delete edje callbacks from frame when object is deleted.
Add start of code for resize_start & resize_stop frame events.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84166
2013-02-19 10:57:32 +00:00
Christopher Michael 22f25b4c1d Fix variable type of "name" to be char (not const char).
Add code to set mouse pointer on frame events (resize, rotate, etc).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84165
2013-02-19 10:57:29 +00:00
Christopher Michael 825ccb9256 Cleanup some memory returned from ecore_x_randr when we are done with
it.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84164
2013-02-19 10:57:26 +00:00
Christopher Michael b5f6ae6d0d Fix comment.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84163
2013-02-19 10:57:24 +00:00
Christopher Michael f5fc65f945 Add function to push & pop e_pointers.
Add code to set pointer indication when mouse moves inside the
thumbnail.
Add code to set pointer indication when mouse is down on the thumbnail.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84162
2013-02-19 10:57:21 +00:00
Christopher Michael 9354ef67ae Set aspect width & height on the same line
(pedantic commit just to remove 2 extra lines).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84161
2013-02-19 10:57:18 +00:00
Christopher Michael 353df08f07 Also pass in crtc geometry to the monitor when we set crtc (because we
have previously fetched this geometry anyway).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84160
2013-02-19 10:57:14 +00:00
Christopher Michael 457c302e92 Modifiy crtc_set function to also take the current crtc coordinates
(this saves us a round-trip function call to ecore_x_randr as we
already have the coordinates from the randr widget).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84159
2013-02-19 10:57:12 +00:00
Christopher Michael 54a0fa16ae When we set the crtc of the monitor, we can update position and
resolution text.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84158
2013-02-19 10:57:09 +00:00
Christopher Michael 58b68ab98b Add private functions for setting monitor position and resolution text.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84157
2013-02-19 10:57:06 +00:00
Christopher Michael 597d95bdb6 Add code to set the monitor name.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84156
2013-02-19 10:57:04 +00:00
Christopher Michael ad6d6914bc Pack the monitor into the grid first, then do setup.
Add function call to setup initial background preview.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84155
2013-02-19 10:57:01 +00:00
Christopher Michael 8d47671e6e Add code to handle setting of background preview on initial show.
Add code to handle setting of background preview when user changes the
bg.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84153
2013-02-19 10:56:54 +00:00
Christopher Michael 6ca0528ef0 Remove function call to monitor_virtual_size_set.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84152
2013-02-19 10:56:51 +00:00
Christopher Michael 055ccc581e Remove virtual_size_set code (turns out, it's not needed).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84151
2013-02-19 10:56:48 +00:00
Christopher Michael 70380b6125 Add base & grid object to randr widget.
Use ecore_x_randr functions to get crtcs & outputs (Fixes problem of
running Screen Setup dialog in Xephyr)
Add code for min_size_get function.
Remove code which used e_layout widget.
Add code to create new randr widget based on evas_object_grid.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84150
2013-02-19 10:56:45 +00:00
Christopher Michael efbdf8c9d0 Add function prototype for min_size_get.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84149
2013-02-19 10:56:43 +00:00
Christopher Michael c476e30c5e Add function prototypes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84148
2013-02-19 10:56:40 +00:00
Christopher Michael 85ff779ed4 Add min & max mode sizes to monitor structure.
Add Frame & Stand to monitor structure.
Add code to create/show/move/resize/hide the frame & stand.
Change the code to use ecore_x_randr functions so that when running in
Xephyr we get monitors that make sense.
Change output_set and crtc_set functions to take the Ecore_X_Randr
types.
Set an aspect ratio on the frame (so it maintains during resize)
Add function for telling monitor what the virtual size is.
Add function for telling monitor what grid object it belongs to.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84147
2013-02-19 10:56:38 +00:00
Christopher Michael d994ca499d Fix _basic_create prototype & function to use the dialog now.
Call function of randr widget to get the min required size, and set
the list widget to that size.
Tell the dialog to show centered on the screen.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84146
2013-02-19 10:56:35 +00:00
Christopher Michael a2ce1d77b9 Cfdata is unused in the apply function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84143
2013-02-19 10:56:27 +00:00
Christopher Michael c508e28128 Add LOGFN to functions.
Append newly created monitor(s) to our list.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84142
2013-02-19 10:56:24 +00:00
Christopher Michael 9f6b69c053 Add test rectangle to monitor
Add LOGFN to functions.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84141
2013-02-19 10:56:20 +00:00
Christopher Michael 927cf450d4 Add LOGFN macro to header.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84140
2013-02-19 10:56:17 +00:00
Christopher Michael db406167dc Add prototype and code for virtual_size_calc function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84139
2013-02-19 10:56:14 +00:00
Christopher Michael 28a1a7690f Tell randr widget to calculate virtual size.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84138
2013-02-19 10:56:11 +00:00
Christopher Michael 10c8ff7b9f Add monitor widget to makefile.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84137
2013-02-19 10:56:08 +00:00
Christopher Michael 8fecfa5054 Use proper width/height variables from crtc_config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84136
2013-02-19 10:56:05 +00:00
Christopher Michael 87a3d1da9b Move and resize the monitor after packing to it's proper position.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84135
2013-02-19 10:56:02 +00:00
Christopher Michael 6747badc99 Pack the created monitor into the layout widget.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84134
2013-02-19 10:55:59 +00:00
Christopher Michael 31b98fecbf Add a list of modes to smart_data structure.
When we set the output, fill in the modes list
Add code to sort modes list.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84133
2013-02-19 10:55:56 +00:00
Christopher Michael 148cdc90d8 Add geometry to smart_data struct.
Check geometry changes in smart_move and smart_resize.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84132
2013-02-19 10:55:54 +00:00
Christopher Michael 69b12661d5 Start code for monitors create
- Create monitor smart object
 - Set crtc and output config for monitor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84131
2013-02-19 10:55:50 +00:00
Christopher Michael 7246631647 Add crtc and output configs to smart_data structure.
Add functions to set crtc and output configs.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84130
2013-02-19 10:55:45 +00:00
Christopher Michael 82a080813c Add function prototypes for setting monitor crtc and output config.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84129
2013-02-19 10:55:42 +00:00
Christopher Michael 6b1168b933 Add list of monitors to smart_data structure.
Add code to delete the monitors when randr gets deleted.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84128
2013-02-19 10:55:39 +00:00
Christopher Michael 468998fca6 Add initial start of code to create monitors.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84127
2013-02-19 10:55:36 +00:00
Christopher Michael 6cf9624275 Add header function for monitors_create.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84126
2013-02-19 10:55:33 +00:00
Christopher Michael 5216fb097a Add initial monitor code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84125
2013-02-19 10:55:30 +00:00
Christopher Michael 8a53055d3a Tell randr widget to create monitors.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84124
2013-02-19 10:55:28 +00:00
Christopher Michael 6521caab40 Add header function for creating new monitors.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84123
2013-02-19 10:55:25 +00:00
Christopher Michael a5a161de15 Add randr widget to makefile.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84122
2013-02-19 10:55:22 +00:00
Christopher Michael 3fd758facc Cleanup compile warnings and include randr object header.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84121
2013-02-19 10:55:20 +00:00
Christopher Michael 6b96e9c961 Add code to handle the layout object.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84119
2013-02-19 10:55:14 +00:00
Christopher Michael daa2b49ab9 Create the randr widget in _basic_create.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84118
2013-02-19 10:55:09 +00:00
Christopher Michael 4dfda15a8d Initial rewrite of the monitor object.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84117
2013-02-19 10:55:07 +00:00
Christopher Michael fbb5baea84 Initial rewrite of randr widget.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84116
2013-02-19 10:55:04 +00:00
Christopher Michael d874b1ed9c Remove old randr code from dialog creation.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84115
2013-02-19 10:55:01 +00:00
Christopher Michael 7dd5880922 Remove old randr widget code from Makefile.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84114
2013-02-19 10:54:58 +00:00
Christopher Michael 0410b43549 Remove old randr widget code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84113
2013-02-19 10:54:55 +00:00
Mike Blumenkrantz 339e4ad906 fix gadcon dnd window for shelf and gadman desktop to use comp canvas window
SVN revision: 84102
2013-02-19 10:05:16 +00:00
Mike Blumenkrantz 7d37ce5cbc fix tons of now-incorrect popup and object usage in winlist
SVN revision: 84099
2013-02-19 09:55:00 +00:00
Mike Blumenkrantz f36ecd9d3d giant comp rejiggering commit #2: popups are now objects drawn directly onto the compositor canvas with no xwindows of their own
* added a number of new e_comp functions and macros

* options for disabling effects on objects: this option does not currently have any effect

* all modules which used gadcon popups have been adjusted

* all modules which used input windows to detect close events for gadcon popups have been adjusted to use new popup autoclose functionality

* shelves are now always drawn on the compositor canvas, meaning objects will never get clipped by the shelf (ticket #1810)

* shelves no longer have an event object

SVN revision: 84060
2013-02-18 13:43:47 +00:00
Mike Blumenkrantz 90de0907c2 unbreak winlist focus setting, as broken by princeamd's patch which I failed to adequately test across all focus models :(
SVN revision: 84045
2013-02-18 09:51:49 +00:00
Mike Blumenkrantz 10c88cf222 fix apply when disabling input methods in imc config dialog
SVN revision: 84040
2013-02-18 08:05:59 +00:00
Carsten Haitzler 94e1f82e23 some work on contact...
SVN revision: 84024
2013-02-17 14:45:00 +00:00
Carsten Haitzler cb2b350872 revert mixer back to a working state -> rev 83903
SVN revision: 84013
2013-02-17 03:31:45 +00:00
Jérémy Zurcher 8425ee72ef e_mixer: cleanup mixer card and channel selection code path
SVN revision: 83959
2013-02-15 16:53:04 +00:00
Mike Blumenkrantz 51b3e7a4ee patch from Deon Thomas: this patch fix the bug with if you have multiple windows opened and you are Alt+Tabbing suppose the mouse is already over the window that e_border_focused_get (the last focused border) we go to the next one. currently it centres the mouse on the same focused window then if you do alt+tab it will go to the next.
SVN revision: 83946
2013-02-15 11:18:16 +00:00
Jérémy Zurcher 37ea5886c1 e_mixer: remove unused e_mod_mixer_channel_name_get from mixer API and comment subsys code
SVN revision: 83921
2013-02-14 20:28:40 +00:00
Jérémy Zurcher 577019db54 e_mixer: volume,mute,state set/get use channel info and capabilities
SVN revision: 83920
2013-02-14 20:28:37 +00:00
Jérémy Zurcher f71970173d e_mixer: simplify alsa:_mixer_channel_capabilities
SVN revision: 83919
2013-02-14 20:28:34 +00:00
Jérémy Zurcher e648742e2d e_mixer: ui uses e_mod_mixer_channel_is_mono
SVN revision: 83918
2013-02-14 20:28:31 +00:00
Jérémy Zurcher 0c42626d89 e_mixer: use macro for capabilities queries
SVN revision: 83917
2013-02-14 20:28:28 +00:00
Jérémy Zurcher 856cbf6aea e_mixer: add E_MIXER_CHANNEL_IS_MONO capability
SVN revision: 83916
2013-02-14 20:28:26 +00:00
Jérémy Zurcher 3ea4b1c083 e_mixer: use channel capabilities to group them
groups in order : Playback Capture Switch Boost

SVN revision: 83915
2013-02-14 20:28:23 +00:00
Jérémy Zurcher d80eb52a35 e_mixer: replace has_capture with capabilities bit map
xx_can_mute and xx_has_capture fuctions can disapear
 !?! e_slider_disabled_set does not work !?!

SVN revision: 83914
2013-02-14 20:28:20 +00:00
Jérémy Zurcher 4085613b1d e_mixer: channel_get_by_name returns a E_Mixer_Channel_Info
this opens the gates to capabilities bit map stored in E_Mixer_Channel_Info

SVN revision: 83913
2013-02-14 20:28:17 +00:00
Jérémy Zurcher e6a3b56bda e_mixer: fix grammar
a farm of pigs is a pig farm, says my irish wife;
info should stay singular but for better understanding I use plural

SVN revision: 83912
2013-02-14 20:28:14 +00:00
Jérémy Zurcher 9605b2e435 e_mixer: factorise get/free card names
SVN revision: 83911
2013-02-14 20:28:10 +00:00
Jérémy Zurcher 1986e5ea3f e_mixer: add missing _e_mixer_dummy_set() calls to sys_dummy
SVN revision: 83910
2013-02-14 20:28:08 +00:00
Jérémy Zurcher 12598ab50c e_mixer: factorise get/free channels info and names
SVN revision: 83909
2013-02-14 20:28:05 +00:00
Jérémy Zurcher 1bb5a7b531 e_mixer: set pulse ready and update callbacks through e_mixer_pulse_init parameters
SVN revision: 83908
2013-02-14 20:28:02 +00:00
Jérémy Zurcher 8c1d5a2146 e_mixer: extract mixer API into e_mod_mixer
SVN revision: 83907
2013-02-14 20:27:59 +00:00
Jérémy Zurcher 8d86519b5e e_mixer: rename alsa functions e_mixer_system_ to e_mixer_alsa_
SVN revision: 83906
2013-02-14 20:27:56 +00:00
Jérémy Zurcher 301b7915bd e_mixer: pulse use static stringshare for channel name
SVN revision: 83905
2013-02-14 20:27:54 +00:00
Jérémy Zurcher 5507123053 e_mixer: struct channel_info becomes E_Mixer_Channel_Info defined in e_mod_system.h
SVN revision: 83904
2013-02-14 20:27:51 +00:00
Jérémy Zurcher fbf6de511a e_mixer: remove spaces
SVN revision: 83903
2013-02-14 20:27:46 +00:00
Carsten Haitzler 1c0574d4bf cancel pending calls in edbus if shutting down ctx...
SVN revision: 83835
2013-02-12 03:47:00 +00:00
Carsten Haitzler c401fdacab move func up.
SVN revision: 83823
2013-02-11 12:27:03 +00:00
Carsten Haitzler c75b38a9d9 work on contact.
SVN revision: 83822
2013-02-11 12:26:30 +00:00
Carsten Haitzler b5716e703c contact module++... empty shell atm.
SVN revision: 83801
2013-02-10 06:21:47 +00:00
Carsten Haitzler b18e2a4e98 let us go back to working backlight control dialog tnx. :)
SVN revision: 83798
2013-02-09 11:23:40 +00:00
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz b7cd7e5f18 remove disabled fps stuff from physics module
SVN revision: 83748
2013-02-07 13:19:55 +00:00
Mike Blumenkrantz bf0348f133 remove unused timer variable, reduce e_grabinput calls slightly with some reordering
SVN revision: 83733
2013-02-07 10:51:10 +00:00
Mike Blumenkrantz 053c841f52 unbreak winlist focus changing
SVN revision: 83731
2013-02-07 10:36:01 +00:00
Mike Blumenkrantz 2a0ef6c396 add edit button to window remembers config dialog
ticket #789


SVN revision: 83724
2013-02-07 09:23:29 +00:00
Mike Blumenkrantz 3b94f5f39e formatting
SVN revision: 83722
2013-02-07 08:42:31 +00:00
Mike Blumenkrantz a4ef12329e add config option for remembering filemanager windows globally instead of per-directory
ticket #1982


SVN revision: 83718
2013-02-07 08:20:42 +00:00
Carsten Haitzler 5aaeebde0b fix/improve clock module date/time change detection. :)
SVN revision: 83717
2013-02-07 08:14:03 +00:00
Mike Blumenkrantz 258e384ca9 clean up config for fileman window remembers, finishing a job that I started last month
SVN revision: 83711
2013-02-07 07:50:28 +00:00
Mike Blumenkrantz a072a15edd fix no-warp mode winlist usage
ticket #asdfuser


SVN revision: 83683
2013-02-06 13:55:38 +00:00
Mike Blumenkrantz 637f539c9d move "allow windows above fullscreen" option to window display dialog
ticket #2216


SVN revision: 83676
2013-02-06 11:19:59 +00:00
Mike Blumenkrantz d13c7cc1e4 don't show layouts in xkb gadget menu if option to disable xkb layout changing is enabled
SVN revision: 83675
2013-02-06 10:56:24 +00:00
Mike Blumenkrantz 893b867070 add option for disabling all keyboard layout changes
SVN revision: 83674
2013-02-06 10:51:54 +00:00
Mike Blumenkrantz 7846f013c9 reformat xkbswitch config dialog
dear q66,

using scopes randomly does not increase the happiness of readers

sincerely,
your pal,
mike


SVN revision: 83673
2013-02-06 10:30:28 +00:00
Mike Blumenkrantz 6bd4c8547d some cosmetic changes to backlight config code so it doesn't look as crazy
SVN revision: 83672
2013-02-06 10:00:26 +00:00
Mike Blumenkrantz 2b4451bab8 convert a bunch of modules to new check widget disable api
SVN revision: 83671
2013-02-06 09:58:41 +00:00
Mike Blumenkrantz 1231a2e453 formatting
SVN revision: 83667
2013-02-06 09:11:53 +00:00
Mike Blumenkrantz 7c4da3e843 convert more winlist and focus dialog widgets to use new check disable api
SVN revision: 83666
2013-02-06 09:11:33 +00:00
Mike Blumenkrantz 74bffcb02e check widget disable list functions now apply disabled state on adding new items
SVN revision: 83665
2013-02-06 09:09:07 +00:00
Mike Blumenkrantz ab4d534d88 disable winlist pointer warp options when disable_all_pointer_warps is enabled
SVN revision: 83664
2013-02-06 08:57:58 +00:00
Mike Blumenkrantz 4e2880280f remove unnecessary callbacks from winlist config dialog
SVN revision: 83663
2013-02-06 08:51:34 +00:00
Mike Blumenkrantz 4141291c4b set disables for pointer warp options in config dialog when disable_all_pointer_warps is enabled
SVN revision: 83662
2013-02-06 08:45:34 +00:00
Mike Blumenkrantz 6773c911b6 unify all pointer warping code to rely on e_border_pointer_warp_to_center functions
SVN revision: 83636
2013-02-05 15:15:04 +00:00
Mike Blumenkrantz 700ba27f5f add frame for advanced->focus policy options for consistency
SVN revision: 83634
2013-02-05 14:24:34 +00:00
Mike Blumenkrantz fcd92901fc winlist_warp_speed->pointer_warp_speed
pointer warp options consolidated into their own tab in focus settings


SVN revision: 83633
2013-02-05 14:22:54 +00:00
Mike Blumenkrantz d7c52deb98 merge all bindings dialogs into single module: conf_bindings
configs have been updated to load correct module and modapi version has been bumped to invalidate old modules


SVN revision: 83632
2013-02-05 14:03:11 +00:00
Mike Blumenkrantz ec87e69908 add yet another pointer warp option: disable all warps
ticket #asdfuser


SVN revision: 83629
2013-02-05 13:33:49 +00:00
Mike Blumenkrantz 41759238cd a much requested feature: drag-only edge bindings
ticket #281


SVN revision: 83628
2013-02-05 13:13:33 +00:00
Mike Blumenkrantz b42c0591a9 reduce blocking during apps dialog load; this is still not great
SVN revision: 83614
2013-02-05 07:51:50 +00:00
Mike Blumenkrantz afd92c9394 fix button toggling in personal apps dialog
SVN revision: 83594
2013-02-04 11:59:02 +00:00
Mike Blumenkrantz f4841a5750 fix list update on deletion of personal app launcher
SVN revision: 83592
2013-02-04 11:50:30 +00:00
Mike Blumenkrantz a1425546f3 make xkb parsing a tiny bit more safe
ticket #2180


SVN revision: 83591
2013-02-04 11:44:52 +00:00
Mike Blumenkrantz 324af69e29 ensure same name is used for config edd as type in systray
SVN revision: 83583
2013-02-04 08:26:02 +00:00
Mike Blumenkrantz 66b451229e From: zehortigoza@profusion.mobi (Jose Souza)
Subject: [PATCH] e systray: Add configuration dialog to enable/disable xembed support


SVN revision: 83580
2013-02-04 08:18:21 +00:00
Chidambar Zinnoury 965ab80819 e music-control: add check-changed.
Bonus: some unused lovin’.


SVN revision: 83573
2013-02-02 13:16:56 +00:00
Mike Blumenkrantz b6359e9607 "No listable items" in Navigate menu is now clickable
SVN revision: 83564
2013-02-01 12:56:52 +00:00
Mike Blumenkrantz dce9dcab42 binding dialogs are now able to reset bindings to the system profile file defaults (currently uses "standard" since we have no parenting/typing system for profiles)
ticket #2204


SVN revision: 83557
2013-02-01 12:27:07 +00:00
Mike Blumenkrantz 43692b40ee fix weird crash which started happening when efm windows were deleted after shutdown somehow...probably e18 change-related
SVN revision: 83551
2013-02-01 11:39:19 +00:00
Mike Blumenkrantz c48fd0b06d giant commit that wipes all bindi^W^W^Wsplits out binding configs into a separate config domain so they can be more easily copied and so they won't be wiped in the event that primary config is wiped
also splits all binding lists out of e_config: they are now conveniently located in the global "e_bindings" struct


SVN revision: 83544
2013-02-01 10:21:54 +00:00
Mike Blumenkrantz abe45b31c1 fix some hash magic fails in temp module
SVN revision: 83543
2013-02-01 09:57:10 +00:00
Shinwoo Kim 7e75c9232b [access] use well defined variable again
SVN revision: 83538
2013-02-01 04:21:03 +00:00
Shinwoo Kim 165db3bfa7 [access] use well defined variable
SVN revision: 83537
2013-02-01 04:13:12 +00:00
Mike Blumenkrantz 57933c9d02 giant rollup commit fixing all xkb issues
tickets #1799, #2082


SVN revision: 83531
2013-01-31 17:50:45 +00:00
Mike Blumenkrantz 8b8bcfd41e clarify pointer_slide config option text in config dialog....
SVN revision: 83503
2013-01-31 10:31:39 +00:00
Shinwoo Kim 5a3ca7df1d [access] save configuration value immediately
SVN revision: 83473
2013-01-30 10:22:32 +00:00
Miculcy Brian bb375592d3 IBar fixes when using other sources than 'default'.
SVN revision: 83442
2013-01-29 16:33:16 +00:00
Carsten Haitzler 2b7de105c7 quick improvement of bluez4 gadget icon... :)
SVN revision: 83366
2013-01-27 06:50:42 +00:00
Jihoon Kim 4647b5d053 e17/physics: fix build warning
SVN revision: 83342
2013-01-26 04:04:33 +00:00
Carsten Haitzler a7049f3c0f how about we dont make pulse stop working? yes - the unlikely leak
fix.. made it stop :(



SVN revision: 83201
2013-01-24 06:31:08 +00:00
Mike Blumenkrantz 95b4651803 unify conf2 button signal code, improve overlay button logic
SVN revision: 83164
2013-01-23 11:13:36 +00:00
Mike Blumenkrantz b3a9880971 fix conf2 bug where buttons would erroneously be toggled when selecting an option which could not produce an overlay
SVN revision: 83160
2013-01-23 11:06:30 +00:00
Christopher Michael f9a3a22e9e Fix leak as reported by zmike.
- Add support for AltGr key in E_Kbd_Buf_Key
 - Fix e_kbd_buf_layout_key_add to also take in altgr as a param.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83153
2013-01-23 10:38:46 +00:00
Mike Blumenkrantz 3456c9dff2 fix small leak in illume2 policy config
SVN revision: 83149
2013-01-23 10:27:33 +00:00
Mike Blumenkrantz 3a24add030 improve wp2 stringshare usage, fix string leak on unlikely error case
SVN revision: 83147
2013-01-23 10:18:46 +00:00
Mike Blumenkrantz 597cc91a38 strdup->strdupa in wp2
SVN revision: 83146
2013-01-23 10:14:09 +00:00
Mike Blumenkrantz 8d018a4375 fix extremely unlikely pulse mixer leak
SVN revision: 83145
2013-01-23 10:12:05 +00:00
Mike Blumenkrantz be131c90fa fix array offset for conf2 option in fileman
SVN revision: 83132
2013-01-23 09:23:12 +00:00
ChunEon Park 2eab902bc1 e/shot - removed unnecessary line
SVN revision: 83129
2013-01-23 09:07:02 +00:00
José Roberto de Souza 2253d00f91 e/appmenu: Only register AppMenu.Registrar iface when we have a instance
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 83102
2013-01-22 19:32:09 +00:00
José Roberto de Souza 4f78547dd5 e/appmenu: Relase bus name when shutdown module
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 83101
2013-01-22 19:32:02 +00:00
Igor Murzov 3a3cf9c42e Better gettext usage in Quickaccess.
This also fixes incomplete <br> tag.


SVN revision: 83088
2013-01-22 15:00:21 +00:00
Mike Blumenkrantz 7923a0937c fix desktop gadget dragging near screen edges
ticket #2108


SVN revision: 83063
2013-01-22 09:39:04 +00:00
Mike Blumenkrantz 68c11dfc68 possibly fix possibly existing clock popup crash
ticket #2090


SVN revision: 83062
2013-01-22 09:01:25 +00:00
Mike Blumenkrantz 7f22a1e36a don't need to be rebuilding illume edj files all the time, these haven't changed since dinosaurs roamed the earth
also probably fixes ticket #2084


SVN revision: 83060
2013-01-22 08:54:25 +00:00
Mike Blumenkrantz e75bc273b2 e_comp.h now includes other comp headers, explicitly including comp headers is not necessary
SVN revision: 82972
2013-01-18 11:22:05 +00:00
Mike Blumenkrantz fc287ad767 make "fast" comp effects initially disabled if effects are disabled
SVN revision: 82971
2013-01-18 10:50:33 +00:00
Chidambar Zinnoury f0eb778f50 e mixer and battery modules: reuse notifications.
SVN revision: 82931
2013-01-17 10:47:53 +00:00
Christopher Michael f117b3de1d Add function for setting monitor position text.
Fix some comments.
When the monitor object gets moved, update the position text.

NB: Hopefully this helps a little for people having monitor "black
out" issues after moving things around. At least now you can See what
the position will be.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82887
2013-01-16 13:33:27 +00:00
Christopher Michael 37908f9b73 When searching for the next resolution to snap to, do Not skip
refresh_rate checks (allows resize events which keep the current rate).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82884
2013-01-16 11:56:44 +00:00
Christopher Michael 01eb2c4cc0 Various fixes for some resizing issues as reported by Thanatermesis.
- Don't bother trapping mouse movements outside of the monitor.
 - Simplier test for resizing above/below max/min resolution.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82883
2013-01-16 11:56:36 +00:00
Christopher Michael 39e9f03048 No need to convert frame geometry to virtual...we can just compare
actual canvas geometry when doing collision detection.

Port the previous "JackDanielz" fix (using frame geometry vs using
object geometry) to the actual move function also.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82868
2013-01-16 09:01:30 +00:00
Christopher Michael 4a49bf8b05 When moving monitors around, use the geometry of the monitor frame to
determine collision/intersection for cloning reasons (needed due to
monitor object itself having some padding around the frame which was
causing erroneous intersection calculations).

NB: Calling this one the JackDanielZ fix ;)

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82867
2013-01-16 08:41:48 +00:00
Christopher Michael 44b62de0b6 Add monitor function to return geometry of the actual frame object.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82866
2013-01-16 08:41:34 +00:00
Christopher Michael f518182cf8 Use output name first instead of monitor name. Fall back to monitor
name if output has no name.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82863
2013-01-16 08:07:00 +00:00
Christopher Michael 272907949e Pass the new orientation to map remove so we can resize the frame
properly.
When we start a rotate event, record the starting rotation.
When we stop rotating, mung in the starting rotation value.
Just fetch geometry once when we stop rotating.
Update the current orientation After we are done removing the map (on
rotate stop).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 82862
2013-01-16 08:06:57 +00:00