Commit Graph

1112 Commits

Author SHA1 Message Date
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
Carsten Haitzler 7713bd830f fix flash fullscreening to stay above shelf.
SVN revision: 75000
2012-08-08 09:07:58 +00:00
Mike Blumenkrantz 8fecf57e7e fix up mapping change hacks, not sure what I was thinking here
SVN revision: 74994
2012-08-08 06:35:42 +00:00
Mike Blumenkrantz 21df8f0a2f add an amazing hack which, when a vmware player window is opened, disables keyboard remapping until the window is closed. this is stupid, but seems to be the only way to keep it from breaking keymaps on some setups
ticket #1057


SVN revision: 74919
2012-08-06 10:21:41 +00:00
Mike Blumenkrantz 7ba11ee2c1 fix longstanding focus bug where root window would incorrectly receive focus
WE DON'T EVEN DO THAT


SVN revision: 74851
2012-08-03 14:21:48 +00:00
Mike Blumenkrantz 85931fc15a add mechanism for injecting entries into border menus
SVN revision: 74172
2012-07-19 09:05:34 +00:00
Mike Blumenkrantz d382ee03b8 set void as params for e_border_client_list()
SVN revision: 74053
2012-07-18 08:46:12 +00:00
Mike Blumenkrantz 2408d29b01 save fullscreen policy for borders when a window fullscreens
SVN revision: 74046
2012-07-18 07:20:25 +00:00
Mike Blumenkrantz 72e927e2ee fix weird border behavior where it would reset to the default style any time a non-existing style was passed without trying the currently-set theme style
ticket #1163


SVN revision: 73917
2012-07-16 10:13:55 +00:00
Chidambar Zinnoury f198b01b07 e: we don't want borders to move zones and desktops when E is being restarted.
SVN revision: 73857
2012-07-14 18:06:33 +00:00
Chidambar Zinnoury d4b871bafd e: add a configuration value to group new windows with others from the same app.
We may want to alert the user it appeared though (make it urgent?).

 See r70370, fixes #40.


SVN revision: 73856
2012-07-14 18:00:57 +00:00
Chidambar Zinnoury 37347a6a0a e: always send mouse out events to borders.
SVN revision: 73510
2012-07-10 04:29:07 +00:00
Mike Blumenkrantz 09e526e2ba add an intercept function for e_border to allow adjustments for movement of borders
SVN revision: 73363
2012-07-05 14:53:28 +00:00
Cedric BAIL 7f7692c1cb e: trying to do it in the right order.
SVN revision: 73271
2012-07-04 12:01:39 +00:00
Doyoun Kang f5d13fd6af From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [E-devel] [Patch][e] add code to check
e_config->geometry_auto_move before moving a window in e_border.c

In e, there is a configuration value - geometry_auto_move - which
determines whether e moves the window to useful geometry automatically or not.
In my opinion, if this is 0, then e doesn't move the window
automatically. However, e always moves the window automatically
because there is no code to check the geometry_auto_move value in
_e_border_eval(). So, I added code to check
e_config->geometry_auto_move in _e_border_eval().



SVN revision: 73191
2012-07-03 06:31:43 +00:00
Carsten Haitzler 153a14bb48 fix errant slide to focus when windows are not visible.
SVN revision: 73096
2012-07-01 10:12:59 +00:00
Carsten Haitzler b2fec5b8dc try and address some focus issues...
SVN revision: 72751
2012-06-24 04:18:01 +00:00
Mike Blumenkrantz 939fc8a35e maybe fix urgency thingy
SVN revision: 72598
2012-06-21 12:05:58 +00:00
Carsten Haitzler fc51fe7208 fix sloppy focus potr warp on first window focus.
SVN revision: 72584
2012-06-21 09:54:35 +00:00
Mike Blumenkrantz b8f5331f8d avoid setting border urgency twice, also prevent urgency signal from occurring on currently focused window
SVN revision: 72583
2012-06-21 09:12:52 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Stefan Schmidt e793c4d769 e: More y1 to yy1 renaming thanks to y1 global
SVN revision: 72525
2012-06-20 07:54:23 +00:00
Mike Blumenkrantz 939a19e9bb simplify e border icon deletion, probably fixing ticket #872
SVN revision: 72373
2012-06-18 08:50:09 +00:00
Mike Blumenkrantz d6effc2043 maybe I'm wrong, but this looks like a guaranteed null deref
SVN revision: 72126
2012-06-14 12:21:58 +00:00
Mike Blumenkrantz f784bff213 replace e17 logging "system" with custom eina log domain
SVN revision: 72089
2012-06-13 15:17:23 +00:00
Mike Blumenkrantz 207c0aed10 rename E_BINDING_CONTEXT_BORDER to E_BINDING_CONTEXT_WINDOW: technically this is in reference to an E_Border, but it gets confusing when looking at code that deals with both windows (E_Borders) and window borders/frames themselves. this name change will clarify the difference
SVN revision: 71841
2012-06-08 10:10:16 +00:00
Carsten Haitzler 5d77ddb05a fill in logic hold with fulscreen borders + allow windows above
fullscreen windows.



SVN revision: 71696
2012-06-05 04:53:15 +00:00
Carsten Haitzler df6ccc8374 formatting.
SVN revision: 71575
2012-05-31 08:32:13 +00:00
Carsten Haitzler ef227bba1d fix soem formatting.
SVN revision: 71398
2012-05-24 07:07:04 +00:00
Carsten Haitzler d4ad6b0060 don't forget to process messages/signals before border frame calc.
SVN revision: 71163
2012-05-16 11:48:38 +00:00
Cedric BAIL 89ddff064e e: remove some warning.
Let's start by cleaning up this warning party !


SVN revision: 70694
2012-05-03 11:02:35 +00:00
Carsten Haitzler 4b9f45a538 printf--
SVN revision: 70371
2012-04-21 01:14:32 +00:00
Carsten Haitzler 183472fb39 fix placement code to respect desktop given not current visible stuff,
and add latent disabled feature to keep everythng on same screen/desk
off for now until config added.



SVN revision: 70370
2012-04-21 01:13:34 +00:00
Carsten Haitzler 10ea31e5f6 and only make it match first time for that instance.
SVN revision: 70369
2012-04-21 00:31:29 +00:00
Carsten Haitzler 81bb978614 after years, finally fix an annoyance... application windows, IF e can
match them back to something IT started (ibar, menus, evrything
etc.)... it will keep those windows ON the zone/desktop u started them
on... hoobloodyray!



SVN revision: 70368
2012-04-21 00:26:31 +00:00
Carsten Haitzler 6c2e868b3a 1. abstract "sub borders" into a function to return a list of them so
when operating on them we can determine the logic of inclusion of
sub-borders in 1 place.
2. fix transients when they are FOR a fullscreen window - if
fullscreen window loses focus, dont minimize it as transients are on
top and should stay there along with fullscreen window.
3. formatting. :)



SVN revision: 70165
2012-04-13 06:41:52 +00:00
Carsten Haitzler 027bb73b5d fix case for fullscreen window focus handling
SVN revision: 69905
2012-04-03 14:47:44 +00:00
Carsten Haitzler 2790f80ab6 fix alt+tab + fullscreen windows (and some formtting)
SVN revision: 69871
2012-04-02 20:30:36 +00:00
Carsten Haitzler b1d31afdb8 while hunting down what appears to be a memleak in e17.. my profiling
turned up that we keep lots of icons in mem that we don't use. frankly
we could do this better as we still may keep multiple copies (inside
an evas object as well as in the border netwm icons data etc.), but
this is better than keeping 3, 4 or 10 icons of various sizes where we
only use 1.



SVN revision: 69521
2012-03-20 08:07:05 +00:00
Carsten Haitzler 74784b5ac2 make fullscreen windows on layer 300 (well above everythign and
anything) as it should be.



SVN revision: 67850
2012-02-11 12:14:10 +00:00
Carsten Haitzler f674bd8a0b fix border events/grabs for move/resize and such.
SVN revision: 66703
2011-12-30 17:17:09 +00:00
Hannes Janetzek 3d1d1a89a9 e17: remove debug printf
SVN revision: 66571
2011-12-27 13:23:07 +00:00
Carsten Haitzler cdb864ed8e remove all traces of selecting engine in e17 - wont actuallly ever be
needed beyond compositor. :)



SVN revision: 66513
2011-12-26 06:24:59 +00:00
Carsten Haitzler cb148dd11e dont go hunt if ping to now interval not long enough in poller
SVN revision: 65290
2011-11-16 10:08:28 +00:00
Mike Blumenkrantz 54413de9b1 clean up some compiler warnings
SVN revision: 64873
2011-11-07 22:07:06 +00:00
Boris Faure ffe946c5fd e: send hide event for borders even if not visible
SVN revision: 64787
2011-11-05 18:29:30 +00:00
Cedric BAIL 0bb5631288 e: attach to the right desktop.
SVN revision: 64753
2011-11-05 08:41:51 +00:00
Carsten Haitzler baf1d40ccb implement some more correct icccm stacking support
SVN revision: 64402
2011-10-25 23:50:25 +00:00
Cedric BAIL e9d12e2d03 e: quick fix when shading a window with a linked video.
SVN revision: 64260
2011-10-21 16:25:45 +00:00
Cedric BAIL 0a59d65e3f e: actually let E17 handle direct video rendering path.
NOTE: There is still the following list of issue :
	- stacking, with window that could get between the video
layer and the application layer.
	- border, if I turn them off the window get resized to
1x1 and I don't understand yet why.
	- comp-scale, as we don't understand that this window
are one, it display them separatly.

I think that the only possible answer is to enable this feature
only when composite is tunerd on and make window a smart object
so we could merge the video layer and the application in one
object.



SVN revision: 64257
2011-10-21 15:31:35 +00:00
Hannes Janetzek ff7817d2be e17: find .desktops for libreoffice
SVN revision: 63989
2011-10-11 20:10:29 +00:00
Sebastian Dransfeld 422d601b41 e: Don't create circular transients list
This should fix #864

SVN revision: 63354
2011-09-13 04:35:26 +00:00
Sebastian Dransfeld 01aa375b20 e: Fix shadow warnings
SVN revision: 63353
2011-09-13 04:35:13 +00:00
Sebastian Dransfeld 506af69bb8 e: Remove FIXME, already fixed
SVN revision: 63352
2011-09-13 04:35:00 +00:00
Sebastian Dransfeld 8f5671bbd1 e: Fix shadow warning
SVN revision: 63351
2011-09-13 04:34:44 +00:00
Hannes Janetzek 2dd238ab26 e17: revert r63099, causes issues with tiling
SVN revision: 63347
2011-09-12 11:27:05 +00:00
Boris Faure c7d9b66d89 e: remove printf and a lonely tab
SVN revision: 63327
2011-09-11 15:39:17 +00:00
Hannes Janetzek 11fe807ade e17: use argb border only when compositing is enabled
SVN revision: 63170
2011-09-04 20:03:00 +00:00
Hannes Janetzek be4f610554 e17: move freeing of pending move/resize for new client up to eval0, before layout hook is called
SVN revision: 63099
2011-09-03 01:32:39 +00:00
Hannes Janetzek 0cdba19a2a e17: one more focus fix, e_border_focus_set_with_pointer could set bd->want_focus again.
SVN revision: 63088
2011-09-02 11:12:03 +00:00
Hannes Janetzek 2bb64c9745 e17: removed bd->changed from deleted border to prevent loop with illume hook calls
SVN revision: 63025
2011-08-31 11:36:46 +00:00
Hannes Janetzek 16622386e4 e17: fix icccm.class string replace
SVN revision: 62948
2011-08-29 14:06:00 +00:00
Hannes Janetzek 69076c2a32 e17: use stringshare for icccm/netwm properties
SVN revision: 62935
2011-08-29 08:24:55 +00:00
Hannes Janetzek b9525be763 e17/border: fix focus latest set
SVN revision: 62902
2011-08-28 06:49:59 +00:00
Hannes Janetzek 61d968c948 e17/border: fix formatting, tabs and trailing whitespace
SVN revision: 62901
2011-08-28 06:48:33 +00:00
Hannes Janetzek 8445b89578 e17: refactor code duplication.
- added _e_border_maximize used by e_border_maximze and eval for changed border  
- added _e_border_client_inset_calc, same code was used in various places


SVN revision: 62897
2011-08-28 04:22:29 +00:00
Hannes Janetzek b926a0b4d8 e17/focus: remove hack waiting for pointer warp to finish
SVN revision: 62896
2011-08-28 03:53:29 +00:00
Hannes Janetzek 239c288662 e17: fix focus with pointer.
- dont update focus_track when focus is frozen


SVN revision: 62822
2011-08-25 14:26:16 +00:00
Hannes Janetzek b44ac37ec8 e17: show fallback border icon again
SVN revision: 62611
2011-08-20 02:43:05 +00:00
Hannes Janetzek eb6e00b7e6 e17: send focus_out event before focus_in.
- fixes issue with illume kbd as it relies on this


SVN revision: 62567
2011-08-18 14:22:48 +00:00
Sebastian Dransfeld 0a0c4d5209 efreet: Revert changed flag
Only send event when cache is actually updated.

SVN revision: 62548
2011-08-18 07:34:02 +00:00
Hannes Janetzek 3f5b9c8705 e17: remove focus workaround for illume.
- keep track to which window was grabinput_focus set last, so that 
unfocusing last visible window will only set focus to container->bg_win
if no window is 'focusing' or 'focusing_next'   


SVN revision: 62529
2011-08-17 08:33:35 +00:00
Hannes Janetzek c1d2231e94 e17: set focus again, also if e believes that the border has it already. fixes input focus with illume for internal borders
SVN revision: 62528
2011-08-17 04:24:32 +00:00
Sebastian Dransfeld 70ed1d3def e: Ignore efreet cache update on no change
SVN revision: 62507
2011-08-16 12:46:47 +00:00
Hannes Janetzek 5b5034fc44 e17/border: cleanup focus debugging
SVN revision: 61820
2011-07-27 20:35:23 +00:00
Hannes Janetzek 1e317fd566 e17/border: use e/widgets/border/internal_fileman/border to define borderstyle for efm windows
SVN revision: 61819
2011-07-27 20:33:33 +00:00
Mike Blumenkrantz 9a0714a1ac RRRRRRRRRRRRRRRRRRRRRR SHUT UP E_BORDER!!!
SVN revision: 61450
2011-07-17 20:49:34 +00:00
Daniel Juyung Seo 52595240fd e17 e_border.c: Fixed popup position issue. Closed ticket #627. I
tested it and it works fine. Thanks Jim Duchek!

by Jim Duchek <jim.duchek@…> 

After adding a fourth monitor (above my center one) this bug became
utterly unbearable, as it started putting every popup on the bottom of
screens 1-3 as well as to the right on screens 2-4. Anyway, attached
is a patch -- it's a fairly obvious logic error.


SVN revision: 61352
2011-07-14 01:33:29 +00:00
Carsten Haitzler 2507034a26 for now... dont adjust children too. this seems to consume a fair bit
of time to do...



SVN revision: 61075
2011-07-06 09:11:16 +00:00
Carsten Haitzler 1407cc1547 dont change pri of e's own wins
SVN revision: 61074
2011-07-06 09:03:18 +00:00
Carsten Haitzler 9b540f77ca also adjust child process nice levels too.
SVN revision: 60942
2011-07-03 03:58:56 +00:00
Carsten Haitzler cbd40a06ba set default priority (nice val) of apps to 3, and introduce priority
raising of focused app.  :)



SVN revision: 60941
2011-07-02 16:00:45 +00:00
Hannes Janetzek cd3fceceb0 e17: fix resize of windows setting normal_hints. urxvt and others
SVN revision: 60688
2011-06-25 21:39:29 +00:00
Carsten Haitzler e0eeb1def3 get e17 to use the ecore pos map call to do accel/decel for shading,
and while we're at it allow more modes... like bouncing. pretty cool
to have bouncing shaded windows :)



SVN revision: 60476
2011-06-18 14:38:54 +00:00
Carsten Haitzler 004bdade85 make bulb gadget change glow/brightness based on actual backlight
brightness.



SVN revision: 60306
2011-06-14 14:24:45 +00:00
Carsten Haitzler 965fc62fd8 fix resize if minx/max etc. props changed during reisze.
SVN revision: 60263
2011-06-13 09:12:50 +00:00
Carsten Haitzler a7ed0b519e fix shape input changes while hidden.
SVN revision: 59029
2011-04-29 07:11:08 +00:00
Boris Faure aa87cbeaaf e: remove trailing whitespaces in e_border.c
SVN revision: 58674
2011-04-14 21:26:53 +00:00
Boris Faure f9f62a5158 e: move/resize maximized windows but still keeping them maximized
SVN revision: 58673
2011-04-14 21:19:25 +00:00
Miculcy Brian ca2c5c152f e17/fullscreen: restore maximize correctly
SVN revision: 58626
2011-04-13 10:49:10 +00:00
Doyun Kang 7b56742304 From: Doyun Kang <doyoun.kang@samsung.com>
Add support for shape input inheritance alongside normal shape support.



SVN revision: 58622
2011-04-13 09:06:34 +00:00
Miculcy Brian e6491516df e17/fullscreen: simplify maximize restore
SVN revision: 58594
2011-04-12 14:00:50 +00:00
Miculcy Brian ae1512cebe e17/fullscreen: restore maximized if maximized before fullscreen
SVN revision: 58593
2011-04-12 13:52:30 +00:00
Hannes Janetzek e923d63c72 e17: fix dnd to invisible windows and fix e_border_comp_hidden_set
- dont drop e drags (e.g. efm files) to windows from other desks
- should also fix wrong last desk focus set with deskflip animations enabled


SVN revision: 58551
2011-04-11 12:22:17 +00:00
Carsten Haitzler ac2b91963a dont wait until its hung to kill -9 it .. as the user selected kill.
just give it a timeout from the sigint. :)



SVN revision: 58341
2011-04-04 23:51:46 +00:00
Hannes Janetzek 7a870a386f e17: allow focusing sticky windows from other desk again..
TODO need to have a zone overlay input window that locks all mouse input while deskflip anim and mous warp


SVN revision: 58126
2011-03-27 19:23:12 +00:00
Hannes Janetzek cd9583cd4d e17: deskflip anim.. dont set focus on windows from previous desk
SVN revision: 58093
2011-03-26 00:39:59 +00:00
Hannes Janetzek a39d970c77 e17: revert last commit. causes lost window on restart
SVN revision: 58091
2011-03-25 20:52:19 +00:00
Hannes Janetzek 401fef69de e17: set border fx offset directly. should give smoother desk flip animation
SVN revision: 58090
2011-03-25 20:26:06 +00:00
Hannes Janetzek 17fc4de8bd e17: remove redundant code:
line 2901: 
(bd->changes.pos && !bd->changes.size) || (!bd->changes.pos && bd->changes.size)
cant be the case as before (!bd->changes.pos) && (!bd->changes.size) was checked.

line 2935ff: new_client is always false after eval
bd->changes.size/pos is always false after eval


SVN revision: 58089
2011-03-25 20:22:52 +00:00
Boris Faure 0cddc7cee2 e: changing the border on maximized window keeps it maximized
Useful for vertical/horizontal maximization

SVN revision: 57944
2011-03-21 20:55:34 +00:00
Boris Faure 866c425d57 e: add vim-like bindings to move/resize windows
SVN revision: 57920
2011-03-20 19:22:59 +00:00
Hannes Janetzek 7b2760151a e17: focus fix. forgot to set bd->changed to handle want_focus in eval..
SVN revision: 57799
2011-03-16 13:31:43 +00:00
Hannes Janetzek 27a83bce9f e17: possible focus fix: wait for windows focus_in event also if it does not !take_focus
SVN revision: 57705
2011-03-12 16:59:02 +00:00
Hannes Janetzek c12717050e e17: fix focus new window with click to focus. delay setting focus again
SVN revision: 57704
2011-03-12 16:24:37 +00:00
Hannes Janetzek 267f8d52f5 e17: focus: on focus_set promote border in focus_next even if it has already focus.
this fixes the problem when within one mainloop iteration the currently focused
border is unfocused and refocused.


SVN revision: 57674
2011-03-10 16:23:57 +00:00
Hannes Janetzek f3b8b6ccb7 e17: remove redundant checks. lock_focus_out is check in e_boder_focus_set*
SVN revision: 57648
2011-03-10 02:44:02 +00:00
Hannes Janetzek c51acd3708 e17: set focus at the end of border_idler_before to the last focused window.
No need to sync ecore_x_window_focus then. in next mainloop 
iteration all requests should have been processed by X, or doesnt it? 


SVN revision: 57647
2011-03-10 02:29:01 +00:00
Hannes Janetzek 800be7c985 e17: fix, remove duplicated line
SVN revision: 57637
2011-03-09 22:07:32 +00:00
Hannes Janetzek ce5cf84240 e17: fetch netwm state ealier so netwm.state.modal is set before used in icccm.fetch.client_leader case
SVN revision: 57623
2011-03-09 13:28:31 +00:00
Hannes Janetzek d8929994b4 e17: simplify e_border_focus_set logic and fix (some) focus issue with
not focusing the last active window after deskswitch


SVN revision: 57622
2011-03-09 13:15:33 +00:00
Miculcy Brian c695554642 allow to change layer when locking border position
SVN revision: 57609
2011-03-09 00:05:03 +00:00
Boris Faure 7c6caaa267 e: fix variable scope + indenting
SVN revision: 57506
2011-03-03 22:05:12 +00:00
Boris Faure 62ae791ca4 e: fix bd->changes.border
this way it's possible to know whether the border has changed when hooking
on E_BORDER_HOOK_EVAL_POST_BORDER_ASSIGN

SVN revision: 57478
2011-03-02 22:09:05 +00:00
Hannes Janetzek 23428da6ea e17: allow themes to request argb window frames
if your window border theme will use transparency add:
data { item: "argb" "1" } to the respective border groups 


SVN revision: 57458
2011-03-01 16:17:23 +00:00
Sebastian Dransfeld 99ea2864cb Also update border icons on icon cache update
SVN revision: 56914
2011-02-10 14:26:04 +00:00
Sebastian Dransfeld 30a478c4fa use convenience macro
SVN revision: 56782
2011-02-07 21:19:23 +00:00
Eric Schuele 440c33eecf Allow users to remove border resistance on a per border basis.
SVN revision: 56745
2011-02-06 02:04:37 +00:00
Mike Blumenkrantz d9f8fbefd4 avoid using garbage values for z{x,y,w,h}; FIXME!!!
SVN revision: 55724
2010-12-22 23:36:46 +00:00
Mike Blumenkrantz a8f324517f I don't even know what to say about the formatting in this file except that it was terrible. ecrustified.
SVN revision: 55723
2010-12-22 23:32:42 +00:00
Mike Blumenkrantz 7f55007159 avoid null deref
SVN revision: 55710
2010-12-22 22:53:30 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Christopher Michael 4b7b3742c8 Remove 'declared' function that was never defined.
SVN revision: 54558
2010-11-15 06:15:42 +00:00
Sebastian Dransfeld f0afd63652 We might loose move/resize ref
Keep a local ref and be sure that we keep our object

SVN revision: 54275
2010-11-07 12:34:40 +00:00
Sebastian Dransfeld 3678c820b9 Really cancel move/resize
SVN revision: 54274
2010-11-07 12:34:29 +00:00
Sebastian Dransfeld 48e98291bd Only focus parent if on current desk
SVN revision: 54273
2010-11-07 11:05:04 +00:00
Sebastian Dransfeld b4f9160c09 Remove duplicate code
We always hide border before border del, so we shouldn't be focused here

SVN revision: 54272
2010-11-07 11:04:53 +00:00
Sebastian Dransfeld c12fafe377 Cleanup revert focus
SVN revision: 54271
2010-11-07 08:21:14 +00:00
Sebastian Dransfeld b047d83d7a Set focus when we delete the border
_e_border_cb_window_hide is not necessary called in the right order for
internal windows

Fixes #485 part 1

SVN revision: 54244
2010-11-06 19:35:35 +00:00
Sebastian Dransfeld 552a0ad0f2 use new fdo e_icon
SVN revision: 54195
2010-11-05 18:54:56 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Sebastian Dransfeld a355da7bf8 Since we don̈́t grab, don't ungrab
This should help on some focus problems, please test

SVN revision: 54181
2010-11-05 13:48:28 +00:00
Christopher Michael df00292397 Fix up calls to ecore_x_icccm to use Eina_Bool to remove compiler
warnings.



SVN revision: 52834
2010-09-28 00:35:05 +00:00
Mike Blumenkrantz 61dadf430f add macro to insert function name in debugging
SVN revision: 52171
2010-09-12 18:44:10 +00:00
Mike Blumenkrantz 02aa9820c0 add debugging printf function for hunting down focus switching bugs, requires -DPRINT_LOTS_OF_DEBUG
SVN revision: 52170
2010-09-12 18:34:56 +00:00
Lucas De Marchi 25113159a5 Fix common misspellings
Some misspellings were manually reverted since in E there are tons of .po with
phrases in other languages. Other than that all the changes in the following
files were reverted:

 * src/modules/illume/dicts/English_(US).dic
 * src/modules/illume-keyboard/dicts/English_(US).dic


Following misspellings were fixed:

acquited->acquitted
adres->address
adress->address
alreayd->already
aquire->acquire
arbitarily->arbitrarily
cant->can't
Capetown->Cape
carefull->careful
causalities->casualties
Celcius->Celsius
certian->certain
commandoes->commandos
considerd->considered
conveyer->conveyor
dependant->dependent
didnt->didn't
discontentment->discontent
doesnt->doesn't
everytime->every
exemple->example
existance->existence
existant->existent
existince->existence
Farenheit->Fahrenheit
forbad->forbade
funguses->fungi
guage->gauge
guerilla->guerrilla
guerillas->guerrillas
happend->happened
hasnt->hasn't
heros->heroes
inbetween->between
independant->independent
inital->initial
intrusted->entrusted
irregardless->regardless
isnt->isn't
knifes->knives
layed->laid
loosing->losing
marrage->marriage
midwifes->midwives
miniscule->minuscule
monickers->monikers
mroe->more
noone->no one
occured->occurred
omre->more
paralell->parallel
payed->paid
planed->planned
quitted->quit
quizes->quizzes
seperated->separated
seperate->separate
shoudl->should
similiar->similar
simplier->simpler
specifiying->specifying
teh->the
toke->took
torpedos->torpedoes
Tuscon->Tucson
unecessary->unnecessary
useage->usage
usefull->useful
useing->using
waht->what
wanna->want
whith->with
wich->which
withing->within




SVN revision: 52006
2010-09-08 23:59:07 +00:00
Mike Blumenkrantz 015e43980c I give up. vim is too big and too stupid for me to fight
SVN revision: 51880
2010-09-04 06:24:49 +00:00
Mike Blumenkrantz 88e5bb4ff1 try fix broken vim formatting: VIM TABS ARE WRONG! I WILL SEND NINJAS AFTER THE NEXT PERSON WHO USES THEM!!!
SVN revision: 51879
2010-09-04 06:05:32 +00:00
Christopher Michael 1d59137b0e Add __UNUSED__ where needed.
Fix __UNUSED__ to be after the variable.
Remove unused variables.



SVN revision: 51301
2010-08-18 17:26:44 +00:00
Leif Middelschulte 935774e161 From: Leif Middelschulte <leif.middelschulte@gmail.com>
patch for ecore-x xrandr 1.3 support - breaks previous api. final api
change (i know about) before we go alpha. in to svn we go.



SVN revision: 51109
2010-08-14 10:21:03 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Carsten Haitzler 81963af8d8 respect hidden comp state in border infra.
SVN revision: 50806
2010-08-04 06:24:06 +00:00