Commit Graph

967 Commits

Author SHA1 Message Date
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