Commit Graph

5050 Commits

Author SHA1 Message Date
Christopher Michael 222c3326fd E Randr: Don't show outputs which are not connected.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78388
2012-10-24 06:28:01 +00:00
Carsten Haitzler af8c2a2c5f pass on oreintation of gadon to start icon edje obj.
SVN revision: 78372
2012-10-23 14:56:02 +00:00
Cedric BAIL 3eb84632cd e: use EINA_LIST_FOREACH for clarity.
SVN revision: 78246
2012-10-19 10:58:20 +00:00
Christopher Michael 00fb03ce4c E (RandR): Remove unused function & prototype.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78188
2012-10-18 13:00:48 +00:00
Christopher Michael 461c733145 E (RandR): Use a "normal" resolution (640x480) not (640x640).
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78187
2012-10-18 12:59:44 +00:00
Christopher Michael 4a09315601 E (RandR): Better monitor movement/snapping.
NB: Still not 100%. There are some corner cases where things fall
through :( If someone wants to jump in and help finish this off, that
would be great :) It's very close to being done.

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

SVN revision: 78186
2012-10-18 12:59:32 +00:00
Mike Blumenkrantz 46d2653dbc e dnd xds handler now passes type string param as well as data
SVN revision: 78157
2012-10-18 08:04:03 +00:00
Mike Blumenkrantz e01c5b9946 don't add gadman desktop menu item if it already exists
ticket #1641


SVN revision: 78151
2012-10-18 07:33:55 +00:00
Bruno Dilly 325c340060 e/physics: fix render geometry set
SVN revision: 78018
2012-10-15 21:55:14 +00:00
Carsten Haitzler c824b1a1e1 fix segv's in randr dialog. :)
SVN revision: 77943
2012-10-13 03:18:58 +00:00
Christopher Michael cd0ad11fa8 E (RandR): After we have applied the changes for a monitor, tell it to
'reset'.

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

SVN revision: 77891
2012-10-11 14:29:20 +00:00
Christopher Michael 44a95f2797 E (RandR): Add function to 'reset' a monitor's changes. This is used
after any user modifications have been applied so that we an reset the
'original' values to the 'currently applied' values. This helps to
keep the Apply button in sync.

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

SVN revision: 77890
2012-10-11 14:29:17 +00:00
Christopher Michael c063ed25ac E (RandR): Add function prototype to reset monitor changes.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77889
2012-10-11 14:29:13 +00:00
Christopher Michael 39bb5b2bbd E (RandR): Skip monitor during apply if no changes were made.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77888
2012-10-11 14:29:10 +00:00
Christopher Michael 79339fb431 E (RandR): Remove dead code lines.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77887
2012-10-11 14:29:07 +00:00
Christopher Michael 1756c3de92 E (RandR): Remove dead comment.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77886
2012-10-11 14:29:04 +00:00
Christopher Michael e0bb649b07 E (RandR): Reduce potential variable usage in geometry_get function.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77885
2012-10-11 14:29:01 +00:00
Christopher Michael 931a9f4d05 E (RandR): Remove dead code line.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77884
2012-10-11 14:28:58 +00:00
Christopher Michael 24d5040564 E (RandR): If we have a crtc when getting monitor geometry, then use
that for width & height.

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

SVN revision: 77883
2012-10-11 14:28:51 +00:00
Christopher Michael 62644089e9 E (RandR): Setup defaults before we assign output & crtc.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77882
2012-10-11 13:51:39 +00:00
Christopher Michael c9edc0c734 E (RandR): If the monitor does not have a CRTC because it was
disabled, try to find an available one so that we can re-enable the
monitor.

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

SVN revision: 77881
2012-10-11 13:51:33 +00:00
Mike Blumenkrantz 6134584e47 formatting for seb
SVN revision: 77880
2012-10-11 13:23:14 +00:00
Christopher Michael bc3d8d18e2 E (RandR): Fix case where a disabled monitor would show up with no
mode, or size.

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

SVN revision: 77879
2012-10-11 13:01:04 +00:00
Mike Blumenkrantz c094541aef patch from PrinceAMD which adds config options to warp lost windows back to center screen when enabled
video: http://dl.dropbox.com/u/7371269/lost_window_feature_2.ogv


SVN revision: 77878
2012-10-11 12:53:15 +00:00
Christopher Michael 888e820aca E (RandR): Remove dead debug code. Reenable crtc check to avoid
potential segv.

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

SVN revision: 77877
2012-10-11 12:49:47 +00:00
Christopher Michael 33952ef188 E (RandR): Remove dead debug code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77876
2012-10-11 12:49:44 +00:00
Christopher Michael 6e89ed1e0c E (RandR): Rework Applying the randr settings. Now we will only need
to apply what has changed.

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

SVN revision: 77874
2012-10-11 12:42:40 +00:00
Christopher Michael c59e752325 E (RandR): Add function to get if randr widget changed.
Rework the "changed" code so that now Apply will enable/disable
correctly based on what changes are in the monitors.

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

SVN revision: 77873
2012-10-11 12:42:37 +00:00
Christopher Michael f7ee5261b9 E (RandR): Add function prototype to get if randr widget changed.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77872
2012-10-11 12:42:34 +00:00
Christopher Michael 71eeb7c458 E (RandR): Whitespace removal.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77871
2012-10-11 12:42:31 +00:00
Christopher Michael e005f0d4bf E (RandR): Add some internal functions to reduce duplicated code
(background set, modes_fill, etc.
Add structure to smart_data so we can store original values and
current values. This allows us to selectively apply changes.

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

SVN revision: 77870
2012-10-11 12:42:29 +00:00
Christopher Michael 21bf9173f5 E (RandR): Add function prototype to get any changes from the monitor.
Add enum so that we can keep track of exactly what has changed.

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

SVN revision: 77869
2012-10-11 12:42:26 +00:00
Christopher Michael f4cc7d989d E (RandR): Use monitor function to get proper output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77868
2012-10-11 12:42:23 +00:00
Christopher Michael 23fb072172 E (RandR): Add function to retrieve monitor's output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77867
2012-10-11 12:42:20 +00:00
Christopher Michael 2ab321cf3b E (RandR): Add function prototype to retrieve monitor's output.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77866
2012-10-11 12:42:00 +00:00
Mike Blumenkrantz 9aa8b5ef5d efm navbar path buttons now happily accept dnding files
part of ticket #1603


SVN revision: 77865
2012-10-11 12:27:51 +00:00
Mike Blumenkrantz a4bc0fb8f7 refresh desktop icons only when they actually need to be refreshed so we don't refresh every time someone adds a gadget to a shelf
SVN revision: 77849
2012-10-11 08:03:19 +00:00
Bruno Dilly efdc2ebef0 e/physics: fixed to match ephysics API changes
SVN revision: 77788
2012-10-10 19:19:50 +00:00
Bruno Dilly e43fb4753d e/physics: shutdown ephysics
SVN revision: 77787
2012-10-10 19:19:42 +00:00
Christopher Michael 01edd96d74 E (RandR): Fix issue where disabled monitors would not show up
correctly.

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

SVN revision: 77761
2012-10-10 12:59:56 +00:00
Christopher Michael dbc528c0f9 E (RandR): Create monitors based on outputs, not crtcs.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77760
2012-10-10 12:59:53 +00:00
Mike Blumenkrantz 282395b871 use function pointer typedef
SVN revision: 77757
2012-10-10 12:36:43 +00:00
Christopher Michael 18432a087c E (RandR): Add checks for current_mode being valid.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77747
2012-10-10 10:31:17 +00:00
Christopher Michael 9fa4848a0e E (RandR): Don't segfault if no current_mode is set for a monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77746
2012-10-10 10:29:09 +00:00
Mike Blumenkrantz e6dc43325e when zone moves/resizes, re-create desktop icons on that zone to prevent scrollbars from showing up when scrollframe resizes incorrectly
SVN revision: 77745
2012-10-10 10:28:08 +00:00
Christopher Michael 596d53e06a E (RandR): Limit size of livethumb to be the maximum canvas size of
the monitor object. (should reduce memory footprint for randr dialog).

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

SVN revision: 77744
2012-10-10 10:23:33 +00:00
Christopher Michael fed73888f6 E (RandR): Make sure we have hTotal and vTotal from the mode before
trying to calculate refresh rate.

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

SVN revision: 77743
2012-10-10 10:10:25 +00:00
Carsten Haitzler cd7d8a6287 compile with efl 1.7
SVN revision: 77737
2012-10-10 09:35:42 +00:00
Mike Blumenkrantz b8677593fc remove all LD_LIBRARY_PATH shenanigans from e17
ticket #1542


SVN revision: 77735
2012-10-10 09:27:24 +00:00
Mike Blumenkrantz f8717d093c don't listen to e kbd layout change event, only watch global event. also don't update gadget icons repeatedly or change them if re-setting current layout
SVN revision: 77729
2012-10-10 09:07:25 +00:00
Christopher Michael 5d376283c9 E (RandR): Ooops, remove unused variable.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77726
2012-10-10 08:46:07 +00:00
Mike Blumenkrantz 03163e199e simplify some xkb updating
SVN revision: 77725
2012-10-10 08:45:43 +00:00
Christopher Michael 3db9434a48 E (RandR): When we search for a resolution, if we did not find one
which matched the existing refresh rate, then search again but do not
take refresh rate into account.

NB: Should fix Raster's "resolution not changing" problem.

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

SVN revision: 77724
2012-10-10 08:45:00 +00:00
Christopher Michael 236117cd86 E (RandR): Do not 'snap' monitors on rotation. It changes the position
of them in the layout and thus causes problems when we Apply these
changes.

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

SVN revision: 77720
2012-10-10 08:14:20 +00:00
Mike Blumenkrantz 09fb8b7da5 whoops, forgot to remove original default layout add code
SVN revision: 77718
2012-10-10 08:04:46 +00:00
Mike Blumenkrantz 20c1c1a4c7 change this null check to a safety check
SVN revision: 77717
2012-10-10 08:04:26 +00:00
Christopher Michael cc188bee3a E (RandR): Check if a monitor has been changed before doing an Apply.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77715
2012-10-10 07:55:13 +00:00
Christopher Michael 136cc5035a E (RandR): Add function & prototype to return if a monitor has been
changed.

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

SVN revision: 77714
2012-10-10 07:55:11 +00:00
Christopher Michael 5347a339b3 E (RandR): Actually, let's readd the changed flag so we can skip a
monitor during Apply if it has not changed.

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

SVN revision: 77713
2012-10-10 07:55:08 +00:00
Christopher Michael 8b5d261d50 E (RandR): Remove dead code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77712
2012-10-10 07:55:06 +00:00
Christopher Michael b10d7e3c9a E (RandR): Remove dead code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77711
2012-10-10 07:55:03 +00:00
Christopher Michael 98a5532b44 E (RandR): Support applying enable/disable of a monitor.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77710
2012-10-10 07:55:00 +00:00
Christopher Michael c646c7de26 E (RandR): Add function to return monitor's connected state.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77709
2012-10-10 07:54:57 +00:00
Christopher Michael f2d5c58121 E (RandR): Add function prototype for getting monitor's connected state.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77708
2012-10-10 07:54:48 +00:00
Mike Blumenkrantz 489b92f25c break out xkb default model creation with error message to assist in finding this damn bug
SVN revision: 77707
2012-10-10 07:47:29 +00:00
Christopher Michael 8ff992b7a7 E (RandR): Remove _fill_data function (not needed). Implement Applying
of any changes to monitors.

NB: Be careful ... this will actually apply any changes now. Tested
here and appears to work ok, but YOU HAVE BEEN WARNED !!! If you apply
something and it turns your monitor into a paperweight, don't cry to me.

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

SVN revision: 77693
2012-10-10 06:20:41 +00:00
Christopher Michael 40e42c4d28 E (RandR): Add function prototypes for getting position, orientation,
and mode from monitor.

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

SVN revision: 77692
2012-10-10 06:20:39 +00:00
Christopher Michael 1f1640f77b E (RandR): Add function prototype to randr widget so we can retrieve
list of monitors.

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

SVN revision: 77691
2012-10-10 06:20:37 +00:00
Christopher Michael 47977be1ca E (RandR): Use output->monitor first to get resolutions (if it exists), then
fallback to output->crtc common modes if needed.

No need to drop duplicate resolutions anymore, in fact we should list
them due to different refresh rates.

Add functions to smart monitor object for getting position,
orientation, and mode info.

When searching for a resolution within snapping fuzziness, also try to
find one which matches the current refresh rate.

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

SVN revision: 77690
2012-10-10 06:20:33 +00:00
Christopher Michael 24127f1a01 Set randr widget to changed when we receive the proper signals,
regardless if monitor matches or not.

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

SVN revision: 77643
2012-10-09 12:19:39 +00:00
Christopher Michael 23e171b7b7 Actually, use the real rate value from the mode. This allows similar
modes with the same rate to correctly select the proper radio.

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

SVN revision: 77642
2012-10-09 12:15:09 +00:00
Christopher Michael 51fa6fc413 Add method to list/select refresh rates.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77639
2012-10-09 11:55:40 +00:00
Christopher Michael 86eb503248 Fix RandR dialog icon.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77638
2012-10-09 11:55:37 +00:00
Sebastian Dransfeld 7b62d5e9e3 e: remove unused variable
SVN revision: 77626
2012-10-09 08:40:26 +00:00
Mike Blumenkrantz 5e17a3eaac fix EINTERN to be more portable and not require e.h in mixer pulse
SVN revision: 77613
2012-10-09 07:08:00 +00:00
Mike McCormack 6b4b4f0ae1 e: Fix unused variable warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77588
2012-10-08 20:55:43 +00:00
Mike Blumenkrantz 8c8a956237 undef gettext macro to fix build
SVN revision: 77583
2012-10-08 17:48:38 +00:00
Mike Blumenkrantz f7b644ecb0 fix mixer pulse includes and apply EINTERN to pulse functions so they won't be mistakenly called by stupid gstreamer
SVN revision: 77573
2012-10-08 13:44:39 +00:00
Mike Blumenkrantz 4f5e18437d fix possible magic failure in mixer
SVN revision: 77572
2012-10-08 13:37:37 +00:00
Christopher Michael 6cca89c83f Make on/off indicator toggling also send a changed event to the RandR
widget.

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

SVN revision: 77570
2012-10-08 09:13:30 +00:00
Christopher Michael 38d31cf0c0 Make config dialog listen on "changed" signal from RandR smart object
to enable Apply button.

NB: Cannot use basic->check_changed here as the Monitor smart objects
do the changing, but the Randr smart object never does. Since
"check_changed" only listens on the main dialog widget (randr smart
object in this case), then the "check_changed" of dialog_view would
not work in this case.

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

SVN revision: 77569
2012-10-08 08:39:46 +00:00
Christopher Michael 1405f6f949 Remove 'changed' flag for monitor smart object.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77568
2012-10-08 08:39:43 +00:00
Christopher Michael c2521cbaaf Make RandR smart object support 'changed' so that the Apply button in
the config dialog can function properly.

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

SVN revision: 77567
2012-10-08 08:39:39 +00:00
Christopher Michael 2dcd1bc3ba Make RandR dialog function as a Config Dialog.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77565
2012-10-08 07:56:18 +00:00
Vincent Torri 9d7a55f456 E17: better inclusion of file to parse (openbsd and netbsd
Patch By Maxime Villard


SVN revision: 77560
2012-10-07 20:05:45 +00:00
Carsten Haitzler 35773a3241 add config for disabling delayed modules. this actually drastically
speeds up e startup - but this i mean the shelf comes up instantly
populated rather than taking 2 or 3 seconds to figure its life out.



SVN revision: 77558
2012-10-07 10:01:14 +00:00
Carsten Haitzler c17116d357 really quick patch on connman asking for logins... agent->msg is the
same as msg in the cb. this stops an instant segv but doesnt fully fix
it. it's at least marked/commented to be looked at.



SVN revision: 77556
2012-10-07 09:59:07 +00:00
Carsten Haitzler 13f9c864ff disable lock fps and grab in comp as its not in the gui now.
SVN revision: 77555
2012-10-07 09:56:22 +00:00
Sebastian Dransfeld 007b32de06 e: merge in notification intl
SVN revision: 77530
2012-10-05 11:41:11 +00:00
Mike Blumenkrantz 1401c39182 desktop gadgets no longer have the confusing "Behavior" menu, instead the hover layer is now a separate location which can receive gadget moves from any gadcon in the "Move to" menu
SVN revision: 77528
2012-10-05 10:36:11 +00:00
Mike Blumenkrantz 22a560b41f unnecessary cast
SVN revision: 77527
2012-10-05 10:23:52 +00:00
Mike Blumenkrantz 2413409717 use list macros for gadman handlers
SVN revision: 77526
2012-10-05 10:22:57 +00:00
Mike Blumenkrantz 71f57bb52d gadcon location gadget_add callbacks now have a gadcon client param so the config can be retrieved since these callbacks are (currently) only used for changing locations of gadgets
also the related gcc param in gadget_del can now have a NULL config to signify that the gadget has been moved to a new gadcon

this means that moving a gadget to a new location will no longer cause it to lose its gadget config

ticket #1594


SVN revision: 77521
2012-10-05 09:57:34 +00:00
Mike Blumenkrantz 6933d4b8ac gadgets can now be configured from the Desktop menu to bypass selecting layer in the overall gadget config
SVN revision: 77517
2012-10-05 09:05:34 +00:00
Mike Blumenkrantz c873260de3 ensure that missing gadman gadget geom popup only ever appears once, also set edit mode on repositioned gadget
SVN revision: 77514
2012-10-05 08:23:00 +00:00
Mike Blumenkrantz 9c7ea16706 also handle reapplying default sizing more effectively
SVN revision: 77513
2012-10-05 08:16:11 +00:00
Mike Blumenkrantz d0d1fbe5ba fix gadman popups to work and support markup
SVN revision: 77512
2012-10-05 08:13:43 +00:00
Mike Blumenkrantz 7b1d8c9dd1 fix setting drag on new desktop gadgets
SVN revision: 77511
2012-10-05 08:05:50 +00:00
Mike Blumenkrantz 77865ac5b0 break out gadman popups into separate functions with timers and handlers to ensure that they actually go away
SVN revision: 77509
2012-10-05 07:31:10 +00:00
Mike Blumenkrantz 3f67c25467 use default coords when repositioning a misconfigured desktop gadget so it will be less likely to be hidden by open dialogs
SVN revision: 77506
2012-10-05 06:59:06 +00:00
Mike Blumenkrantz d40acc5046 add pulse_disconnect() function and properly send disconnect events when disconnecting during pulse auth
SVN revision: 77505
2012-10-05 06:56:13 +00:00
Sebastian Dransfeld e0dd931ab3 e: formatting
SVN revision: 77493
2012-10-04 23:30:35 +00:00
Sebastian Dransfeld b659bc1b26 e: Fix typo
Patch by Igor Murzov

SVN revision: 77492
2012-10-04 23:27:07 +00:00
Sebastian Dransfeld 80b0b615b8 e: Cleanup
Fixes potential invalid memory reads.

Patch by Igor Murzov

SVN revision: 77491
2012-10-04 23:27:01 +00:00
Sebastian Dransfeld 427b6c34df e: Cleanup
Removes unused variables, drops duplicate return or break
     statements and drops unnecessary checks.

Patch by Igor Murzov

SVN revision: 77490
2012-10-04 23:26:48 +00:00
Vincent Torri 9e11c4cae1 E17: Path of keyboard definition files changed to /usr/X11R6/share/X11/xkb/ in OpenBSD 5.0.
Patch by Maxime Villard (rustyBSD)


SVN revision: 77447
2012-10-04 17:18:45 +00:00
Stefan Schmidt 433f1cb90b e/connman: Check for the correct messages.
Checking two times the same message does not make any sense. The only logical
thing seems to be checking for the properties message here. Leaving the wifi
properties message out as not every setup has wifi. At least on my desktop
here I don't have /net/connman/technology/wifi so we should not fail without
it.

Dermarchi or Bdilly please cry or fix if this is not as intended.
(Brought to you by double_condition_check.cocci)

SVN revision: 77440
2012-10-04 14:56:17 +00:00
Christopher Michael 5ca309e0ad Remove dead code.
Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77438
2012-10-04 13:14:33 +00:00
Mike Blumenkrantz c310836bb3 add gui option for secure deletion in efm
SVN revision: 77434
2012-10-04 12:58:18 +00:00
Mike Blumenkrantz b5842b7b86 simplify previous commit
SVN revision: 77432
2012-10-04 12:11:17 +00:00
Mike Blumenkrantz 6388a49f60 efm right click -> "Open" will now become "Run" when the file will be executed directly in order to be more clear
SVN revision: 77431
2012-10-04 11:57:51 +00:00
Mike Blumenkrantz 8c5b541a39 more mixer magic failure fixes
SVN revision: 77429
2012-10-04 11:51:31 +00:00
Mike McCormack 5b4a058e44 e: Fix warning
e_smart_monitor.c:1036:29: warning: ‘mode’ may be used uninitialized in this function

Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77427
2012-10-04 11:47:43 +00:00
Mike Blumenkrantz a848b7291e finally fix annoying pulse mixer magic failure
SVN revision: 77424
2012-10-04 10:33:59 +00:00
Mike Blumenkrantz 183c036dcf clock popup now hides only when switching to a desktop where its parent gadcon is not present or if a window goes fullscreen after the popup has appeared
ticket #1592


SVN revision: 77417
2012-10-04 10:05:40 +00:00
Mike Blumenkrantz bdd879e7fc add new flag for preventing a window from being opened on restart by its remember, apply this to both the desktop editor and shelf config dialogs
SVN revision: 77407
2012-10-04 08:11:51 +00:00
Christopher Michael 0f5cd63f5a E (RandR): Add function to return if a specific monitor is moving. Add
function to "reposition" a monitor when move is finished. Implement
basic monitor moving (still has some issues tho).



SVN revision: 77367
2012-10-03 12:03:00 +00:00
Mike Blumenkrantz b247496406 ton of xkb fixes:
* e will no longer lose your currently selected layout on restart
* desklock layout switching now works real güd
* new e_config values to determine current and current user-selected kbd layout
* wasted my entire morning doing this

ticket #1538



SVN revision: 77356
2012-10-03 09:00:12 +00:00
Mike Blumenkrantz 85af28ce82 shut up some xkb printfs
SVN revision: 77345
2012-10-03 07:06:12 +00:00
Mike Blumenkrantz 4f93b748ac add max thumbnail size setting back, improve fileman config slider unit display
SVN revision: 77343
2012-10-03 06:41:32 +00:00
Bruno Dilly 3573113bbd e/connman: remove useless mouse callbacks
SVN revision: 77327
2012-10-02 17:04:43 +00:00
Mike Blumenkrantz 7aaa4e554c add another tab in desklock config to allow changing keyboard layout on desklock. EXPERIMENTAL!
ticket #1538


SVN revision: 77324
2012-10-02 14:04:04 +00:00
Mike Blumenkrantz bb5380c3da add new language config dialog for setting a desklock language (NOT keyboard layout)
part of ticket #1538


SVN revision: 77321
2012-10-02 13:00:25 +00:00
Sebastian Dransfeld beb76614ac e: Adjust fullscreen stacking
Allow popups above fullscreen, unless presentation mode is set.

SVN revision: 77317
2012-10-02 12:53:38 +00:00
Christopher Michael 4b9e05d0fc E (RandR): Update __UNUSED__ function parameters.
SVN revision: 77316
2012-10-02 12:25:36 +00:00
Christopher Michael 146ee272a4 E (RandR): Implement common layout_adjust function. Used when we
resize or rotate a given monitor so that the position of any adjacent
monitors gets updated. Currently works when resizing or rotating.



SVN revision: 77315
2012-10-02 12:24:35 +00:00
Christopher Michael 778c584fc8 E (RandR): Scrollframe swallows the layout so don't use
smart_member_add.



SVN revision: 77314
2012-10-02 12:16:55 +00:00
Sebastian Dransfeld 4735da0b0c E: Revert change in layer to pos map
Seems there is a lot of code which is connected to the current mapping,
and no need to create a lot of fuzz because of one unused layer.

SVN revision: 77309
2012-10-02 12:02:02 +00:00
Sebastian Dransfeld 66714d9e41 illume2: And fix the previous fix
SVN revision: 77307
2012-10-02 11:50:51 +00:00
Sebastian Dransfeld b83598a504 illume2: Correct layer check value
The old code wanted all windows above layer 50 which has now shifted one
position down.

SVN revision: 77306
2012-10-02 11:48:41 +00:00
Mike McCormack ee8f7529bc e: Fix warnings
Signed-off-by: Mike McCormack <mikem@atratus.org>

SVN revision: 77304
2012-10-02 11:21:17 +00:00
Christopher Michael 6e3110b57b E (RandR): Fix corner cases for rotation not working. Fix rotation &
resize snapping. Oh, and implement a new feature: Resizing a monitor
While it is rotated in a different position ;)

NB: Next thing is actual Movement snapping, then on to saving config ;)



SVN revision: 77303
2012-10-02 11:20:12 +00:00
Sebastian Dransfeld 1a46149167 illume2: simplify layer to pos mapping
SVN revision: 77302
2012-10-02 10:57:20 +00:00
Sebastian Dransfeld 7e76afdd0a illume2: Fix layer to position map
There is a bug here somewhere. In _policy_border_show_below we search
only the layers _above_ the window?!?

SVN revision: 77298
2012-10-02 10:26:10 +00:00
Christopher Michael 6608e80725 E (Illume): Update border layer position to match changes in
e_container_layer_map.



SVN revision: 77297
2012-10-02 10:21:09 +00:00
Christopher Michael d6e1350427 E (RandR): And get the proper mode based on rotation also so that
resize limiting functions propertly.



SVN revision: 77294
2012-10-02 08:58:16 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Christopher Michael d445520629 E (RandR): When we are finished resizing, we need to get geometry
based on the current rotation so we can find the proper mode.



SVN revision: 77292
2012-10-02 08:51:50 +00:00
Christopher Michael 3b7b05abf0 E (RandR): Populate the map using 'full' so that we account for any
existing rotation of the monitor object.



SVN revision: 77288
2012-10-02 08:47:34 +00:00
Christopher Michael 8d84c6e9cc E (RandR): Remove start_rotation from structure (not needed). Remove
some unused variables.



SVN revision: 77287
2012-10-02 08:40:14 +00:00
Sebastian Dransfeld f2ac4219af e: correct layer for edge windows
Need a layer above fullscreen if fullscreen flip is to be able to work.

SVN revision: 77283
2012-10-02 07:23:27 +00:00
Mike Blumenkrantz b860da38bc patch from PrinceAMD fixing config dialog class text for some modules
SVN revision: 77282
2012-10-02 06:29:21 +00:00
Vincent Torri 4e95bf3f20 E17: OpenBSD support of the cpufreq module
Patch by Maxime Villard (rustyBSD)


SVN revision: 77276
2012-10-01 17:40:43 +00:00
Christopher Michael 0ab246155d E (RandR): Use e_layout_child_geometry_get for rotate snap.
SVN revision: 77275
2012-10-01 14:22:51 +00:00
Christopher Michael 4f02f86438 E (Randr): Delete the menu on object deletion.
SVN revision: 77274
2012-10-01 14:19:52 +00:00
Mike Blumenkrantz 7238b0b61e grab/ungrab keys when adding mixer actions to ensure that the keybinds are added correctly
ticket #1562


SVN revision: 77273
2012-10-01 14:14:50 +00:00
Mike Blumenkrantz 4c09bb330f yet another gadget overhaul, this time fixing:
* gadget dragging over windows (ticket #1563)
* gadget dragging/resizing on the hover layer
* yet another gadget refcount bug
* lots of annoying inconsistencies when dragging around new desktop gadgets


SVN revision: 77271
2012-10-01 14:02:24 +00:00
Christopher Michael d905aa1cc9 E (RandR): Use e_layout_child_geometry_get so that e_layout is kept in
sync.



SVN revision: 77270
2012-10-01 13:29:16 +00:00
Christopher Michael 16524abd60 E (RandR): Use e_layout_child_resize when doing rotation so that if
you try a Move after a Rotation is set, the move will actually move
the with a proper rotation now.



SVN revision: 77269
2012-10-01 13:19:43 +00:00
Christopher Michael 715048c75e E (RandR): Fix some weird rotation bug where the monitor would Jump to
a previous rotation when you started a rotate operation. Also, Fix up
a couple of functions to be more accurate (in terms of their name &
purpose).



SVN revision: 77267
2012-10-01 12:33:06 +00:00