Commit Graph

1053 Commits

Author SHA1 Message Date
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 0949e8ea63 fix window autoraise triggering from pointer_slide
ticket #2183


SVN revision: 83507
2013-01-31 10:58:27 +00:00
Carsten Haitzler 1d1015ec84 fix window unmap event handling with synthetic unmaps - only really an
issue during manageing (startup) of a border - race condition. may
misee hides. this fixes it but needs efl 1.8. :/



SVN revision: 83420
2013-01-29 08:25:24 +00:00
Mike Blumenkrantz bbff627334 better fix for initial placement of wine windows, also fixes bug where windows would be placed slightly offscreen
SVN revision: 83059
2013-01-22 08:39:10 +00:00
Mike Blumenkrantz 8fcf2cbcca remove old e_msg-based comp api as well as e_manager_comp api, replacing both with e_comp functions and events
this completely breaks anything external which used comp, so module api version has been bumped


SVN revision: 82973
2013-01-18 12:47:14 +00:00
Mike Blumenkrantz 0dea8f3339 small improvement to window dragging: when allowing drag of maximized windows, changing the screen of a window will automatically attempt to resize the window so as to better fit the screen
exploring this change led to the discovery of a default theme bug: maximizing a window blocks events to resize hotspots on the bottom part of the window regardless of config settings


SVN revision: 82813
2013-01-15 14:43:19 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Carsten Haitzler 5f8e9293a0 ghost window-- after iconify+uniconify+withdraw
SVN revision: 82542
2013-01-10 10:15:32 +00:00
Mike Blumenkrantz cc42401f59 fix E_Win handling of window state changes, also fix e_border handling of changes.prop setting
ticket #2091


SVN revision: 82534
2013-01-10 09:24:42 +00:00
Mike Blumenkrantz 8e127335cb force window border (theme) inset to be applied to new client placement geometry, fixing issues where windows would appear to "slide" across the desktop by the size of the border inset; this was primarily noticeable when using wine applications
SVN revision: 82460
2013-01-09 13:24:24 +00:00
Mike Blumenkrantz 8096505844 geometry_auto_move option (enabled by default) now also corrects applications which fail in their attempts to center windows on multimonitor systems
SVN revision: 82448
2013-01-09 10:11:55 +00:00
Lucas De Marchi 0675dd03a0 e: rename option use_composite to use_shaped_win
In order to move composite inside the core we need to kill the
use_composite option. However in some places it is being used to switch
between ARGB and shaped windows. It doesn't make much sense to keep the
advanced/engine dialog to let the user toggle this options if we have
composite always enabledm, but lets allow the user to shoot
himself on the foot (for now).

Next step will be to move the comp module files to core so user can't
unload it anymore.



SVN revision: 82433
2013-01-09 03:21:25 +00:00
Mike Blumenkrantz c7d18cac51 fix bug where keyboard resizing of windows was not possible if timeout was set to zero
SVN revision: 82386
2013-01-08 08:14:09 +00:00
Mike Blumenkrantz 59c4945890 another focus bug: pointer no longer warps when closing a window if pointer was not over a window when window was closed
SVN revision: 81470
2012-12-20 16:50:44 +00:00
Mike Blumenkrantz 72a901f954 finally fix insanely long-lived bug where pointer warp would end abruptly if the timer was called again before the X cursor move had occurred
SVN revision: 81469
2012-12-20 16:38:12 +00:00
Mike Blumenkrantz 7d1cc24f5c only do pointer warp for sloppy focus if the mouse is currently over another window, otherwise just do the other focus-in manually
ticket #morlenxus


SVN revision: 81455
2012-12-20 13:52:49 +00:00
Mike Blumenkrantz ae7ca9105f Hi,
here is a patch.

 1. free() already null-checks the passed argument, so it is not
    necessary to do 'if(x) free(x)'.

 2. Moved some '{free(x); x = NULL}' to E_FREE.

 3. In e_start_main.c, 'buf' is allocated with the size of the
    two arguments + '=', so we don't need to check for lenght;
    we should use sprintf().

 thanks
Maxime Villard


SVN revision: 81364
2012-12-19 14:20:34 +00:00
Mike Blumenkrantz f81c0f3d93 fix uninitialized border geom in SMART/EXPAND maximizes
SVN revision: 80814
2012-12-13 10:48:39 +00:00
Mike Blumenkrantz 41fbbfe2da when fullscreening a window from a maximized state, prevent overwriting of previously saved window geometry
ticket #1940


SVN revision: 80416
2012-12-07 08:05:17 +00:00
Boris Faure 5bf8a6cab3 e: fix windows being uniconified on desk show
SVN revision: 80392
2012-12-06 21:22:34 +00:00
Mike Blumenkrantz 3c78f7dba2 fix ratio resizing when increasing window size
ticket #1935


SVN revision: 80359
2012-12-06 13:24:27 +00:00
Mike Blumenkrantz ce1add259c probably fix crash in ticket #1931
SVN revision: 80333
2012-12-06 09:59:14 +00:00
Mike Blumenkrantz d6521d8cad fix pointer slide focus setting
SVN revision: 80307
2012-12-06 08:01:42 +00:00
Carsten Haitzler 84b97ad9cc warn--... and actually build. :)
SVN revision: 80229
2012-12-05 10:56:18 +00:00
Mike Blumenkrantz f66c6c6f2c unbreak compile with 1.7 branch
SVN revision: 80226
2012-12-05 09:59:02 +00:00
Gwanglim Lee 499b88748b From: Gwanglim Lee <gl77.lee@samsung.com>
Subject: Re: Re: Re: [E-devel] [RFC] Virtual desktop window profile

I've attached 4th patch. May the 4th be with you.

ecore patch has been merged with efl and all files are based on r80123.

Thanks & Regards,
Gwanglim

------- Original Message -------
Sender : Daniel Juyung Seo<seojuyung2@gmail.com>
Date : 2012-12-04 01:55 (GMT+09:00)
Title : Re: Re: [E-devel] [RFC] Virtual desktop window profile

It looks ok to me.
Sorry but can you re-generate the patch according to the recent ecore
merge to efl single tree?

Daniel Juyung Seo (SeoZ)


On Thu, Nov 29, 2012 at 12:29 AM, Gwanglim Lee <gl77.lee@samsung.com>
wrote:

Dear Raster and Daniel Juyung Seo,

I've attached 3rd patches and test_config according to your reviews.
These are based on r79782.

[elementary & ecore]
1. "profile,set" -> "profile,changed" - done
2. spaces after EINA_LIST_FOREACH - done
3. variable type - keep
4. author - done
5. removing deprecated marking in patch - done
6. add elm_win_available_profiles_get to test_config for the debugging
purpose - done

7. check whether a given profile is present in an available profiles.
otherwise window profile will be one of the item
    in available profiles. - newly added thing to the elm_win
        8. merge with EO - done. :(
        
        
            Any comments would be appreciated.
            


SVN revision: 80216
2012-12-05 06:51:16 +00:00
Mike Blumenkrantz 17c9b707d5 fix focus_revert_on_hide_or_close option to work correctly with mouse focus, also fix annoying pointer warp focus bug which erroneously focused windows while moving the pointer for pointer_slide warps on new windows
SVN revision: 80174
2012-12-04 15:11:53 +00:00
Mike Blumenkrantz 3bd8f4dd81 also fix lost window pointer warping
SVN revision: 80173
2012-12-04 14:58:48 +00:00
Mike Blumenkrantz 86a42a2e73 add functions for locking border focus
SVN revision: 80172
2012-12-04 14:57:35 +00:00
Mike Blumenkrantz 8db2b8bb69 disable "internal_fileman" border setting since there's no theme which supports it and all it does is break border config
ticket #1830


SVN revision: 79820
2012-11-29 08:57:20 +00:00
Mike Blumenkrantz 4d92a1de3c patch from Deon Thomas fixing some lost window behavior bugs
ticket #1821


SVN revision: 79681
2012-11-26 09:09:16 +00:00
Sebastian Dransfeld e54ec613c4 e: gravity on lock win
SVN revision: 79412
2012-11-17 20:58:36 +00:00
Sebastian Dransfeld 5865d2d675 e: lock parent, not window
SVN revision: 79411
2012-11-17 20:39:29 +00:00
Sebastian Dransfeld 6004ba2eaa e: prevent events on modal parent
This fixes trapping of events on modal parents. We can't change event
mask, as that changes the event _we_ receive, not the client. We must
add and input window above the parent which traps the events.

SVN revision: 79367
2012-11-16 09:02:24 +00:00
Mike Blumenkrantz c752389817 e now remembers left/right maximization state across restarts
ticket #1694


SVN revision: 79294
2012-11-14 13:47:37 +00:00
Mike Blumenkrantz 62a83145f7 ensure that we aren't trying to lost window warp new windows
SVN revision: 79289
2012-11-14 11:47:34 +00:00
Mike Blumenkrantz b9082e6209 improve checks for window position limits
ticket #1740


SVN revision: 79159
2012-11-12 13:15:42 +00:00
Sebastian Dransfeld 9fdf8faf78 e: Fix free of list from _e_border_sub_borders_new
First loop, then eina_list_free == spankies!!!

Please fix code correctly when mistakes are spotted.

S.

SVN revision: 78913
2012-11-05 08:31:23 +00:00
ChunEon Park b71fad439d e/e_border - Fix memory leak
Dear all.

I found that there is code to occur memory leak in e_border.c and I fixed it.
Please review this patch.

Thanks.

Doyoun Kang

Singed-Off-By:Doyoun Kang<doyoun.kang@samsung.com>



SVN revision: 78910
2012-11-05 07:51:07 +00:00
Mike Blumenkrantz d23548d79e only move windows to center when they're offscreen
SVN revision: 78851
2012-11-02 11:17:33 +00:00
Mike Blumenkrantz b355a53324 formatting
SVN revision: 78850
2012-11-02 10:11:32 +00:00
Mike Blumenkrantz c5b9a2b768 screen limits option now affects windows lost prior to enabling the option, patch by Deon Thomas
ticket #1711


SVN revision: 78829
2012-11-02 07:44:00 +00:00
Mike Blumenkrantz f37f21c247 unbork window shading from yesterday
SVN revision: 78828
2012-11-02 07:34:40 +00:00
Mike Blumenkrantz 54330a3ca6 reorder+fix some border sizing code to not do funny things like randomly make windows with half-sized borders
ticket #1690


SVN revision: 78786
2012-11-01 13:50:14 +00:00
Mike Blumenkrantz 64fc140c78 patch from Deon Thomas to fix lost window warp behavior
ticket #1680


SVN revision: 78693
2012-10-31 08:44:50 +00:00
Mike Blumenkrantz c31c8e2a0b revert attempt to fix PrinceAMD's mess
SVN revision: 78449
2012-10-25 12:19:29 +00:00
Mike Blumenkrantz 48524c6cbe fix screen limit border drag thingy
ticket #1680


SVN revision: 78441
2012-10-25 10:55:32 +00:00
Carsten Haitzler 595ddfd3c9 fix emit of maximize signal handling for border maximization when not
a fullscreen one.



SVN revision: 78394
2012-10-24 09:48:34 +00:00
Cedric BAIL 76dc9409d5 e: prevent infinite call loop. If someone has a better fix than me, you are welcome.
SVN revision: 77975
2012-10-15 06:25:26 +00:00
Christopher Michael d421af2a0b E: Really no need to fetch Container here (just to fetch the current
zone). Use e_util_zone_current_get.

Add missing parens around eina_list_data_get.

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

SVN revision: 77938
2012-10-12 13:49:19 +00:00
Christopher Michael 5b03a2bf37 E: Remove extra call to eina_list_data_get. Not really needed as we
make the call above to get the list data anyway.

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

SVN revision: 77937
2012-10-12 13:38:35 +00:00
Mike Blumenkrantz 6134584e47 formatting for seb
SVN revision: 77880
2012-10-11 13:23:14 +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
Mike Blumenkrantz 55899b0917 don't set border kbd move timeout timer if there's no timeout set, also ensure that kbd moving moves at least 1px when moving
ticket #1480


SVN revision: 77700
2012-10-10 07:11:29 +00:00
Sebastian Dransfeld ec752e9394 e: formatting
SVN revision: 77552
2012-10-07 06:08:56 +00:00
Mike Blumenkrantz c008654175 block mouse in/out events for iconified borders to fix case where iconifying a window using the border menu would prevent it from becoming iconified
SVN revision: 77520
2012-10-05 09:17:47 +00:00
Christopher Michael 0d3c51e8bc And format for 80 columns again.
SVN revision: 77504
2012-10-05 06:45:05 +00:00
Mike Blumenkrantz 615f2e9137 use list handler macro
SVN revision: 77500
2012-10-05 06:36:00 +00:00
Christopher Michael 551d84d4aa Format for 80 columns.
SVN revision: 77497
2012-10-05 06:04:34 +00:00
Sebastian Dransfeld d9a641020c E: remove duplicate variable setting
It is set to 1 again just below.

SVN revision: 77365
2012-10-03 11:54:03 +00:00
Sebastian Dransfeld cf35adade9 E: Fix window hide
The idea of not deleting the borders of unmapped windows started with
r12777 to fix problems when changing virtual desktops. A lot of stuff
was added later to fix this problem, but this original fix has lived on.

When hunting down a mplayer bug raster commented in r14744:
"we need to re-enable the above. when clients hide windows they often
dont destory - keep around to do somethign else with. if we dont unmanage
then we have all sorts of problems believeing it still exists. bigger
problems than mplayer. :)"

So I guess the right thing to do is to destroy the borders of hidden
windows, fixes #917

SVN revision: 77363
2012-10-03 11:40:14 +00:00
Sebastian Dransfeld cd7260094e e: remove trailing whitespace
SVN revision: 77350
2012-10-03 08:03:50 +00:00
Sebastian Dransfeld 6b479fae34 e: No need for was_fullscreen anymore
Fixed the issue with unfullscreen on desk change, and fullscreen on
focus is confusing.

SVN revision: 77349
2012-10-03 08:03:39 +00:00
Sebastian Dransfeld 5c97097053 e: Move variables to correct scope
SVN revision: 77348
2012-10-03 08:03:28 +00:00
Sebastian Dransfeld 32dc338e1a e: move check for border on desk
We only want to check if the border is on desk to handle
allow_above_fullscreen so move check here. Other code should always be
executed.

SVN revision: 77347
2012-10-03 08:03:17 +00:00
Sebastian Dransfeld 7cc4d1e501 e: Check allow_above_fullscreen earlier
SVN revision: 77346
2012-10-03 08:02:35 +00:00
Sebastian Dransfeld e14715ca32 E: Adjust fullscreen layers
Always set fullscreen on top in presentation mode, ignore
allow_above_fullscreen.
Honour allow_above_fullscreen on mode change.

SVN revision: 77323
2012-10-02 13:11:46 +00:00
Sebastian Dransfeld 23c2d4ad14 e: Honour mode presentation on fullscreen set
SVN revision: 77322
2012-10-02 13:02:43 +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
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
Sebastian Dransfeld f2b9c969af e: Fix fullscreen and focus
iconifying fullscreen windows during focus change seems to be a bad
idea, as it triggers new focus events.

- Make window fullscreen
- Alt+Tab to new window
- Alt+Tab back
-> Window is still iconified
Can only get fullscreen window back by doing uniconify

Also switching desktops will result in a iconified window which the user
must hunt down (ticket #1550).

This should fix those issues.

SVN revision: 77259
2012-10-01 10:15:09 +00:00
Mike Blumenkrantz f810de58ff the "Slide pointer to newly-focused window" option now also slides pointer when closing a window changes focus
ticket #1551


SVN revision: 77245
2012-10-01 07:38:46 +00:00
Mike Blumenkrantz 008c555ad2 fix focus bug where changing desks would not properly unset focus in all cases
ticket #1519


SVN revision: 76902
2012-09-20 09:26:04 +00:00
Mike Blumenkrantz 1adb477ad1 chuckleheads at it again with the pointer sliding on sloppy focus
ticket #1540


SVN revision: 76896
2012-09-20 09:06:28 +00:00
Doyoun Kang f9b872ab6a From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch][e] add code to handle the floating mode

I added code to handles the floating mode in e. 
I added the structure for floating mode in E_Border structure. If an
application sets the floating mode using elm_win_floating_mode_set(),
e gets this event - ECORE_X_EVENT_WINDOW_PROPERTY (atom:
ECORE_X_ATOM_E_ILLUME_WINDOW_STATE) - and sets floating mode
information to added structure in E_Border.



SVN revision: 76806
2012-09-18 11:41:55 +00:00
Carsten Haitzler e574adfed7 add single-instance launching infra support for e17 as well as launch
tracking for ibar.



SVN revision: 76793
2012-09-18 10:00:37 +00:00
Carsten Haitzler 7a59e58273 add support for X-Enlightenment-Single-Instance :)
SVN revision: 76756
2012-09-17 11:51:04 +00:00
Eduardo de Barros Lima adac052c0a Actually fix unmaximize left/right
Revert previous commit and set correct values for E_MAXIMIZE_LEFT and
E_MAXIMIZE_RIGHT to save x and w values.


SVN revision: 76201
2012-09-05 15:15:13 +00:00
Eduardo de Barros Lima c112a36760 Fix unmaximize left/right
We need to save original x and width values in both cases.



SVN revision: 76200
2012-09-05 14:59:43 +00:00
Mike Blumenkrantz f1e4a5909f add two new maximize modes: left and right
these will maximize a window to either the left or the right half of the screen, respectively
work started by etrunko in ticket #1422


SVN revision: 76198
2012-09-05 13:46:15 +00:00
Mike Blumenkrantz 9677623402 set deleted border errors as critical
SVN revision: 76117
2012-09-04 09:50:42 +00:00
Carsten Haitzler 7a86fdce05 try patch over a focus issue where a window looks focused but isnt.
SVN revision: 75935
2012-09-02 03:17:54 +00:00
Carsten Haitzler 6e8a7eef7e fix fullscreen desk switching + iconify thing
SVN revision: 75934
2012-09-02 03:05:21 +00:00
Mike Blumenkrantz 0dab993c45 add "hidden" flag for borders which is set only when border_hide(3) is called; this prevents borders from being automatically shown on desk change when previously hidden
SVN revision: 75757
2012-08-28 07:41:11 +00:00
Carsten Haitzler ec5b963091 hyoyoung is right. put settings back. those were for a different thing
were click ALWAYS raises window even if on sloppy/pointer.



SVN revision: 75744
2012-08-27 23:19:14 +00:00
Carsten Haitzler 69a2d61f5d oops - nuke backtrace debug.
SVN revision: 75699
2012-08-25 11:13:45 +00:00
Carsten Haitzler 95909021ea fix several focus issues with alt+tab, closing of windows etc.
SVN revision: 75697
2012-08-25 09:14:21 +00:00
Mike Blumenkrantz 3494f7db73 revert previous commit, ticket #daniel lied to me
SVN revision: 75609
2012-08-23 09:09:58 +00:00
Mike Blumenkrantz 177e3276ed sloppy focus does not require pointer warping
ticket #daniel


SVN revision: 75608
2012-08-23 08:58:35 +00:00
Carsten Haitzler 88aaed9233 yeah gustavo is right - shouldnmt paß click on if click to fcus and
click to raise are enabled but pass on is off. pass-on should be
single master.



SVN revision: 75540
2012-08-22 11:17:51 +00:00
Mike Blumenkrantz a8beb0950c fix usage of PATH_MAX when not working with files
SVN revision: 75518
2012-08-22 07:02:41 +00:00
Cedric BAIL 63a5a005f8 e: don't segv if we didn't get the window border at that point.
SVN revision: 75494
2012-08-21 09:14:59 +00:00
Christopher Michael 84d21bd8e5 E: Comment out fprintf's remaining from someone's debug efforts ;)
SVN revision: 75433
2012-08-19 16:46:32 +00:00
Christopher Michael d53e3ee139 E: Comment out fprintf.
Enough with the border focus printing already ;)



SVN revision: 75428
2012-08-19 13:27:45 +00:00
Carsten Haitzler 1739590e05 fix wad of focus issues with click-to-focus and alt+tab + fullscreen
windows.



SVN revision: 75399
2012-08-18 04:40:56 +00:00
Mike Blumenkrantz dd83f4a7d1 ensure that event mask is unset on parents of modal windows before applying previous mask
SVN revision: 75365
2012-08-17 08:00:46 +00:00
Carsten Haitzler 7a5d5b5fa4 add zone geometry property to windows and keep it updated.
SVN revision: 75310
2012-08-16 09:29:42 +00:00
Mike Blumenkrantz 97faa73719 modal windows now properly block events on their parent windows
SVN revision: 75073
2012-08-10 08:59:05 +00:00
Mike Blumenkrantz edf4cfa5da add case for net wm state change fetch flag to be set
SVN revision: 75069
2012-08-10 07:48:01 +00:00
Mike Blumenkrantz c0790f7d55 fix case of reparenting window where properties are just being set and window is not actually being reparented
SVN revision: 75068
2012-08-10 07:47:26 +00:00