Commit Graph

992 Commits

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