Commit Graph

9349 Commits

Author SHA1 Message Date
Gwanglim Lee 72f1dcc748 add missing eina_list_append in comp init
Summary: add missing eina_list_append in comp init

Test Plan: N/A

Reviewers: raster, zmike, devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D835
2014-05-08 11:30:01 -04:00
Mike Blumenkrantz 518466a9e4 unset client->hidden when applying remember vdesk
fix T1171
2014-05-07 21:36:49 -04:00
Mike Blumenkrantz 044edb7925 only use e_exec's vdesk if client does not use its remember's vdesk 2014-05-07 21:36:25 -04:00
Mike Blumenkrantz 58a2dfc94e reset efm icon image/text/state after applying even/odd
fix T1222
2014-05-07 19:39:44 -04:00
Mike Blumenkrantz 452a23019c reset scanners/sorters and decrement busy state on efm path set
no more arbitrarily loading file icons from other directories into the current view, mmk?
2014-05-07 17:58:34 -04:00
Mike Blumenkrantz 22c8d5ca77 fix auto unmounting of volumes if mount occurred due to auto_mount option 2014-05-07 17:43:12 -04:00
Mike Blumenkrantz 810f44d25f do show removable media on first sighting (wtf?)
fix T1227
2014-05-07 17:06:49 -04:00
Mike Blumenkrantz 2cc4ae1fb8 fix more eo edje emit errors 2014-05-07 16:52:44 -04:00
Mike Blumenkrantz 0202c19d49 add efm op to notify of device backend changes 2014-05-07 16:46:56 -04:00
Mike Blumenkrantz 157702c6d1 block shelf autoshow if fullscreen client is present
T1232
2014-05-07 16:04:48 -04:00
Mike Blumenkrantz 3216d8e152 eolian files should be distributed, no need to rerun this on every package build 2014-05-07 16:01:47 -04:00
Mike Blumenkrantz a963666656 use separate variable for backlight animator value
using e_bl_val here is wrong now since this needs to calculate against the starting and ending backlight values, neither of which are represented accurately by e_bl_val in some cases.

this fixes the gradually decaying backlight which occurs over repeated screen blanks

probably fixes T1152
2014-05-07 15:28:08 -04:00
Mike Blumenkrantz 572760ae0e only update e_bl_val directly in backlight_level_set if not using randr backlight
this is the "real" backlight value, so it needs to always be accurate. since randr backlight sets this value elsewhere, only use those real updates to ensure genuine values
2014-05-07 15:26:42 -04:00
Mike Blumenkrantz 787ca774de return all fm objects matching a path
fix T1191
2014-05-07 14:11:20 -04:00
Mike Blumenkrantz adcf979e5c always unset need_unmaximize after maximize
fix T1203
2014-05-07 12:43:29 -04:00
Mike Blumenkrantz 58d8243457 force geometry setting during maximize
fixes adding maximize states
2014-05-07 12:42:41 -04:00
Jérémy Zurcher 3679550b5c e_fm: add missing EINA_UNUSED 2014-05-07 12:16:10 +02:00
Seunghun Lee 1d9a94c7e9 remove duplicated code
Summary:
this patch removes duplicated code.
the event handler of "focus in/out" already added above it.

Reviewers: raster, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D816
2014-05-02 06:48:28 -04:00
Gwanglim Lee c70e3eb531 remove duplicate xkb_rule_names and xkb_context
Summary: There are already in inner structure xkb in E_Wayland_Compositor.

Test Plan: Build e

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D742
2014-04-26 13:36:53 -04:00
Gwanglim Lee a5bd16603f e_comp_x: fix black area of override redirect win
Summary:
Black area of override redirect window could send damage notify which has unwanted xy position.
(a) Skip x configure notify with 3,55 316x162 of override redirect win
(b) Handle x show notify: create a new client and x damage for override redirect win
(c) Handle x damage notify with 3,55 316x162

To resolve it, E discards unwanted xy position of first damage for override redirect window.
This fixes remained problem of T1180 and T1188.

Test Plan:
1. Run e with sw engine mode
2. Run pcmanfm
3. Select menu in pcmanfm
4. Check whether menu window has black area

Reviewers: raster, zmike, devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D800
2014-04-26 13:17:13 -04:00
Gwanglim Lee 69e39063dd e_comp_object: update xy position of client in intercept_move to avoid unwanted first damage if given client is not a new_client
Summary:
xterm and pcmanfm windows shows black area if e is running with sw engine mode. (T1180)
In this case, there are two problems:

1. Unwanted geometry info of first damage by wrong window move in intercept_move.
(a) Handle x map request
(b) Initialize client_inset value of comp object according to geometry value of "e.swallow.client" part
(c) Set client_inset value to cw->client.x and y in intercept_move
(d) Call ecore_x_window_move_resize with wrong x and y at idler
(e) Create x damage
(f) Handle unwanted damage notify event which has position values same as client_inset.
(g) Copy image contents from pixmap according to wrong area info of damage notify and render it on screen.

2. Problem of override redirect window
Black area of pcmanfm's menu is related to override redirect window.

This patch only covers 1st problem not 2nd problem.
The override redirect window should be fixed by another way.

Test Plan:
1. Run e with sw engine mode or run x-ui.sh in e git simply
2. Run xterm which is using classic x drawing api
3. Check client window area of xterm

Reviewers: raster, zmike, devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D795
2014-04-25 12:50:47 -04:00
Gwanglim Lee a008cd66fd change name of include guard E_COMP_H
Summary: e_comp is not an e module anymore.

Test Plan: N/A

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D791
2014-04-25 00:20:18 -04:00
Carsten Haitzler a444f71db7 add -lrt checking to e build 2014-04-25 09:46:21 +09:00
Gwanglim Lee 6f707894a8 fix e cursor invisible after destroying wayland surface
Summary:
E doen't have to remove pointer_image evas object when destroying wayland
surface. The image contents of pointer_image will be replaced default mouse
cursor in pointer_object at idler unless pointer_image is removed in
e_pointer_image_set.

Test Plan: run e with wayland only server -> run elementary test -> close elementary test

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D776
2014-04-24 12:42:03 -04:00
Gwanglim Lee ecb8d21ab6 set blocks to avoid copying cursor contents from evas buffer canvas in idler_before
Summary:
it fixes a bug that cursor is invisible when running a wayland client.
e_pointer_image_set function sets image data of p->pointer_image to
data of E_Pixmap. and then e_pointer_idler_before function changes
raw image data of p->pointer_image to p->pixels. we should enable blocks
to avoid it.

Test Plan: run enlightenment (wayland only) -> run efl app with wayland shm engine

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D769
2014-04-24 12:41:38 -04:00
Stefan Schmidt f47bed7ed7 e_uuid_store: Write uuid as latest to avoid half-working states 2014-04-24 11:03:53 +02:00
Stefan Schmidt cc23186dbd e_uuid_store: Use libuuid for UUID generation and handling
Instead of rolling our own we go with a known working UUID implementation
here. Dependency should be easy enough as more or less every Linux system
is shipping it anyway.
2014-04-24 11:03:52 +02:00
Stefan Schmidt 19436fe61d e_uuid_store: Handle cases where the store is already present as well as not 2014-04-24 11:03:52 +02:00
Stefan Schmidt 9523d7a93c e_uuid_store: Switch uuid entries from list to array
This should help to store it in the shm
2014-04-24 11:03:52 +02:00
Stefan Schmidt 8662551ee3 e_uuid_store: Add version to table if not yet set 2014-04-24 11:03:52 +02:00
Stefan Schmidt c2ce32596a e_uuid_store: Close shm fd on shutdown 2014-04-24 11:03:52 +02:00
Stefan Schmidt 720f3634f8 e_uuid_store: Print out some more store infos on startup 2014-04-24 11:03:52 +02:00
Stefan Schmidt 8ebda14276 e_uuid_store: Add function to dump the table for debugging 2014-04-24 11:03:52 +02:00
Stefan Schmidt 7a940b1062 feature: e_uuid_store: Add infrastructure to store window/surface properties.
e_uuid_store provides an API to store various window/surface properties
in a mmapped shm memory object based on an assigned UUID. Its main purpose
will be to provide storage of these properties during session recovery when
E acts as a wayland compositor.

@feature
2014-04-24 11:03:52 +02:00
Wonguk Jeong cf6d509dfe filepreview: video size bug fix
Summary: after commit 36a4948085, video size was not proper size in preview. the commit was good refactoring. resize only when the video file is opened. but, the smart callback name was wrong. change smart callback name from "length_change" to "open_done"

Test Plan: enlightenment -> efm -> preview on video file -> check whether the video size is shown properly

Reviewers: raster, zmike

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D779
2014-04-22 13:10:00 -04:00
Chidambar Zinnoury 36a4948085 Bugfix: e filepreview widget: No need to compute dimensions and resize widgets at each and every single frame.
Doing it once on file opening should be enough.
2014-04-21 22:40:45 +02:00
Chidambar Zinnoury b4a58ad874 Bugfix: e fileman: Correct automagic window size computation.
When available width is less than minimum width, the height was computed according to the available width, but the window width was effectively the minimum width: its height was thus more than needed.

 The function now takes the minimum dimensions so that correct height and width are computed.
2014-04-21 21:54:15 +02:00
Chidambar Zinnoury c52d6e201a Bugfix: e filepreview widget: Use correct units for devices sizes.
This will also make them consistent with file sizes.
2014-04-21 16:32:02 +02:00
Chidambar Zinnoury edaf24d3b0 e: It’s now 2014! 2014-04-21 15:56:03 +02:00
Carsten Haitzler 8e49b69796 re-order icon finding for border to use the most reliable source first 2014-04-19 09:08:37 +09:00
Gwanglim Lee ffcc5e72d9 null check ecstack
Summary: fix segmentation fault error

Test Plan:
run enlightenment (wl only server) -> run elementary_test -> run terminlogy
-> move cursor to elementary_test -> click on elementary_test

Reviewers: raster, devilhorns, zmike

CC: cedric

Differential Revision: https://phab.enlightenment.org/D770
2014-04-18 12:51:36 -04:00
Carsten Haitzler 4cce0080b8 fix resent eo changes to e that break updating labels and toggles
this fixes D1172
2014-04-18 09:53:00 +09:00
Carsten Haitzler bdc3d5b5e3 formatting 2014-04-18 09:39:16 +09:00
Wonguk Jeong fb437cd1b0 comp_x_screensaver: screensaver off bug fix
Summary:
Can not turn off screensaver due to condition check bug.

@fixes

Test Plan: enlightenment -> do nothing -> screen saver on -> mouse/key input -> check whether screen saver is turned off or not

Reviewers: raster, cedric, zmike

Reviewed By: raster

CC: seoz, cedric

Differential Revision: https://phab.enlightenment.org/D766
2014-04-18 09:35:45 +09:00
Carsten Haitzler cf90b84a42 fix screensaver/blanking issue where a ss on/off events come in together 2014-04-17 13:55:39 +09:00
Mike Blumenkrantz 7274ffa742 improve eolian build dependency 2014-04-11 13:40:58 -04:00
Mike Blumenkrantz a2026425d1 mfw I forget git add
..........................__......
.................,-~*`¯lllllll`*~,....
...........,-~*`llllllllllllllllll¯`*-,..
......,-~*lllllllllllllllllllllllllllll*-,.
...,-*llllllllllllllllllllllllllllllllll.\.
.;*`lllllllllllllllllllllllllll,-~*~-,llll\....
..\lllllllllllllllllllllllllll/......\;;;;,-`~-,.
...\lllllllllllllllllllll,-*....`~-~-,...(.(¯`*,`,.
....\llllllllllll,-~*..............)_-\..*`*;..).
.....\,-*`¯,*`)............,-~*`~.............../...
......|/.../.../~,......-~*,-~*`;................/.\..
...../.../.../.../..,-,..*~,.`*~*................*...\..
....|.../.../.../.*`...\...........................)....)¯`~,...
....|./.../..../.......)......,.)`*~-,............/....|..)...`~-,.
..././.../...,*`-,.....`-,...*`....,---......\..../...../..|...¯```*~-,,
...(..........)`*~-,....`*`.,-~*.,-*......|.../..../.../...............\.
....*-,.......`*-,...`~,..``.,,,-*..........|.,*...,*...|..............\.
.......*,.........`-,...)-,..............,-*`...,-*....(`-,............\.
..........f`-,.........`-,/...*-,___,,-~*....,-*......|...`-,..........\.
2014-04-10 19:33:05 -04:00
Mike Blumenkrantz b49957bf9b preserve client stacking after compositor effects
fix T1065
2014-04-10 19:01:50 -04:00
Mike Blumenkrantz 47cfb31752 comp_object now uses eo, e_comp_object_signal* -> edje_object_signal*
also cw->clip is gone
2014-04-10 19:01:47 -04:00
Wonguk Jeong c5c7b4733a efm: fix bugs during renaming multiple files and copying file into same directory
Summary:
Since E_FM_OP_OVERWRITE_RESPONSE_NO was sent before file renaming, src had been changed as next file.
->send E_FM_OP_OVERWRITE_RESPONSE_NO after file renaming.

File became empty if I copy a file into same directory
--> first of all, prevent move, rename, symlink into same directory. in case of copy, attach " (copy)" postfix after file name automatically. (need to decide postfix policy)

fixes T739

Reviewers: zmike, raster

CC: seoz, cedric

Maniphest Tasks: T739

Differential Revision: https://phab.enlightenment.org/D707
2014-04-10 11:09:36 +09:00
Mike Blumenkrantz 11f9dcfd72 fix null deref in e_shelf
CID 1039825
2014-04-04 15:26:11 -04:00
Mike Blumenkrantz 9d0f4b7036 use e_util_strcmp() in e_font stuff
CID 1039827, 1039826
2014-04-04 15:24:01 -04:00
Mike Blumenkrantz 05d09f7c51 null check xkb layout list
CID 1039869
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz ba3ffcf029 remove a bunch of unused e_util edje icon functions
CID 1039948, 1039946

removals: e_util_*edje_icon_list*
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 91aee716cc bugfix: comp config dialog correctly detects effects disabled/fast states
CID 1039957, 1039956
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 1285ba4196 check import config dialog unlink() return value
CID 1039964
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 11197cb684 check rename() return value
CID 1039966
2014-04-04 15:04:28 -04:00
Mike Blumenkrantz 358ba0f36f e_bindings_key_allowed() handles NULL param
CID 1191998
2014-04-04 15:04:27 -04:00
Mike Blumenkrantz c17d33368c check pixmap_size_get() return in e_pointer
CID 1195448
2014-04-04 15:04:27 -04:00
Mike Blumenkrantz 95a8fed0bf unify comp object stacking
these were nearly identical, and sooner or later there was going to be an unfortunate c/p error
2014-04-02 14:16:34 -04:00
Mike Blumenkrantz cfe26ff838 comp docs part 1: comp objects 2014-04-02 13:06:28 -04:00
Mike Blumenkrantz b9e6a624ef fix frame size calc check to account for themes with 0 height 2014-04-02 12:31:33 -04:00
Mike Blumenkrantz 3f2efbc548 fix client layer marker detection/usage in wayland
this is the correct fix for D687
2014-04-02 11:07:22 -04:00
Seunghun Lee 597aec1710 remove unused comp object variable use and function call in show helper
Reviewers: zmike

Differential Revision: https://phab.enlightenment.org/D686
2014-04-02 09:27:20 -04:00
Gwanglim Lee 26d3075e3d wl pointer configure: fix typo
Summary: ews->geometry.y needs to be set.

Test Plan: N/A

Reviewers: raster, devilhorns, zmike

Reviewed By: devilhorns

CC: cedric

Differential Revision: https://phab.enlightenment.org/D688
2014-04-02 10:39:07 +01:00
Tom Hacohen dc05d96659 Fix client border changing issues
The code was zeroing the flag that tells e to change the border after
the callbacks about frame changes. This means that one couldn't change
the border from within those callbacks. This commit fixes this issue.
2014-03-31 15:24:12 +01:00
Mike Blumenkrantz a291211b13 bugfix: efm current .desktop fetching now returns the right .desktop
fix T792
2014-03-28 12:23:18 -04:00
Mike Blumenkrantz 114b411da1 never use new clients for stacking
fix Tcedric
2014-03-27 21:27:51 -04:00
Mike Blumenkrantz da5bd16e12 greatly improve child dialog placement, FIXME--
fix T980
2014-03-27 19:47:31 -04:00
Mike Blumenkrantz ea3439b664 Revert "move comp object tiler creation to helper function to catch retries"
This reverts commit f4e4b2fc4f.

testing commit that wasn't supposed to go upstream
2014-03-27 17:01:22 -04:00
Mike Blumenkrantz e49b3beff1 ensure minimum X parent window size of 1x1
fix T1098
2014-03-27 16:47:19 -04:00
Mike Blumenkrantz f4e4b2fc4f move comp object tiler creation to helper function to catch retries 2014-03-27 16:47:19 -04:00
Mike Blumenkrantz 6308846480 don't refocus hidden clients on desk flip
probably fix T1083
2014-03-27 16:47:19 -04:00
Mike Blumenkrantz 6e72796544 check key events for both key and keyname bindings
fix T1119
2014-03-27 16:47:19 -04:00
Mike Blumenkrantz 50a37adb6e ignore mouse movements on client during keyboard actions
fix T1097
2014-03-27 16:47:19 -04:00
Mike Blumenkrantz 3f10e7557f ignore X layer window mouse events
fix T1130
2014-03-27 16:47:19 -04:00
Mike Blumenkrantz 110f62ca61 always unclip/uneffect clients when changing desks
probably fix T1126
2014-03-27 16:47:18 -04:00
Mike Blumenkrantz 53824eb309 redo input rects after comp effect layer changes
fix T1070
2014-03-27 16:47:18 -04:00
Mike Blumenkrantz 18120e1b5a remove invalid shelf autohide window check which would always be wrong 2014-03-27 16:47:18 -04:00
Mike Blumenkrantz 42f43c9311 disable comp object animation hooks if animations are disabled 2014-03-27 16:47:18 -04:00
Mike Blumenkrantz daa98e867d fix lots of edje emits on non-edje objects 2014-03-27 16:47:18 -04:00
Mike Blumenkrantz f2f45428ff +e_icon_edje_get() 2014-03-27 16:47:18 -04:00
Carsten Haitzler 1e50cb1dc6 don't delete client objects when _e_client_hook_call returns false.
_e_client_hook_call() returns false when object refcount hit 0... ie..
it's been deleted. it's simply invalid memory access to then del the
object thats already gone to 0 refcount and been deleted/freed.
2014-03-26 15:32:53 +09:00
Mike Blumenkrantz 24296fa005 use eo to shut up harmless eo menu errors 2014-03-24 12:34:07 -04:00
Mike Blumenkrantz 3d8f5d3b05 add eo headers, aka Captain #define 2014-03-24 12:34:07 -04:00
Sebastian Dransfeld a08c40df7b ilist: Remove unused assignment
CID 1039758
2014-03-24 13:26:20 +01:00
Sebastian Dransfeld 68719520e6 fm: Check return of strrchr
strrchr can return NULL, so we need to check the return value.

CID 1039861
2014-03-24 13:23:39 +01:00
Sebastian Dransfeld 2d9f5764a3 fm: Fix weird test
ic is always true for this function, else dereference would fail. So the
only valid thing to check is whether we already have a drop_icon.

CID 1039829
2014-03-24 13:20:25 +01:00
Sebastian Dransfeld 81c384de9f dialog: allow setting of NULL icon
If NULL is passed as icon, icon should be disabled.

CID 1039951
2014-03-24 13:13:53 +01:00
Sebastian Dransfeld 168dc8ef38 comp: no need to assign pointer before return
As we return after the list free, no need to set the pointer.

CID 1087717
2014-03-24 13:02:56 +01:00
Mike Blumenkrantz 83475dad7e set wayland display socket based on e_ipc_socket name 2014-03-20 14:06:41 -04:00
Mike Blumenkrantz 2bbab7e525 export e_ipc_socket filename as extern variable 2014-03-20 14:06:41 -04:00
Mike Blumenkrantz c47bf94cdf hook sticky smart callbacks properly inside comp object 2014-03-20 11:38:58 -04:00
Mike Blumenkrantz b5a04496b7 add stick/unstick client smart callbacks 2014-03-20 11:31:32 -04:00
Stefan Schmidt 04a5a11a8f e_pointer: Fix missing if for else if condition
Fixing devilhorns commit and run commit. If we have a condition we want
to check we need an else if not a simple else. Always compile before push.
Especially the small and simple changes. :)
2014-03-20 15:50:51 +01:00
Chris Michael d0b61e4b88 bugfix: Properly hide/show pointer_image & pointer_object based on if
the pointer is located on an existing canvas

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-20 14:16:42 +00:00
Chris Michael 5ce5d2d90b bugfix: Set pass_events and layer of the pointer image if we are
creating a new one.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-20 14:16:42 +00:00
Cedric BAIL ffe4bf794e e: let's just completely blacklist NVidia driver for Wayland. 2014-03-20 20:46:54 +09:00
Chris Michael db40e4b67e bugfix: Fix crash on eglTerminate with buggy Nvidia blob driver
NB: Thanks for the report cedric ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-20 10:18:44 +00:00
Chris Michael 52532f9a32 Don't leak the allocated client object if we are returning null from
e_client_new

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-20 10:18:44 +00:00
Chris Michael 5b77c566e6 Use ecore_wl functions to return the pointer location if we are
running as wayland-only

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-20 10:18:44 +00:00
Sebastian Dransfeld 30846ee4ea randr: Update lid status when outputs change
If we only have lid, it will be active even though lid is closed. If we
connect a monitor we want the lid to deactivate.
2014-03-19 13:37:34 +01:00
Mike Blumenkrantz c81e649992 fix more wayland crashes 2014-03-18 18:15:24 -04:00
Mike Blumenkrantz c04d754ac5 enabling drm output module should NOT require X-less build.
these defines all need to be changed from HAVE_WAYLAND_ONLY to something like WITH_X or we're going to have lots of problems with xwayland later on
2014-03-18 16:14:04 -04:00
Chris Michael 3d28a91c6b @bugfix: Create window pointer for wayland clients
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:05 +00:00
Chris Michael 9e68b402a4 @bugfix: Initialize the module idler even If we are wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:05 +00:00
Chris Michael 4bb1d8f390 @bugfix: Only load external compositing modules if we are wayland-only
@bugfix: Initialize e_comp_wl if we are wayland-only OR supporting
wayland clients.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:05 +00:00
Chris Michael f3da557586 @bugfix: Fix e_win elm window trapping for wayland-only
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:05 +00:00
Chris Michael 160412dcf2 Simplify e_canvas_new code slightly for wayland-only and
wayland-client support.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Chris Michael 3d10a3d34e @bugfix: Fix pointer to work in drm and also fix some formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Chris Michael 915f8f0613 @bugfix: Fix building for WAYLAND_ONLY by using the proper define
sed -i 's/WAYLAND_ONLY/HAVE_WAYLAND_ONLY/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-03-18 07:43:04 +00:00
Mike Blumenkrantz a2025ddaad ignore size change configurerequests during maximize if not also changing position
correcty fixes gtk window (un)maximize
2014-03-17 12:56:21 -04:00
Mike Blumenkrantz d8375aaf9d Revert "apply client resize limit for all possible size values during maximize calcs"
This reverts commit 08acb0c6aa.

fix T1102
2014-03-17 12:49:44 -04:00
Mike Blumenkrantz 9859daee07 bugfix: get entry width based on viewport size, not entry size
things like icon properties dialog now fit on a 4k monitor
2014-03-17 12:24:03 -04:00
Mike Blumenkrantz 791ed12f7b fix elm win usage 2014-03-14 12:38:01 -04:00
Mike Blumenkrantz 9f310291a7 don't change backlight on zone shutdown 2014-03-14 12:00:23 -04:00
Carsten Haitzler ad6aa3db71 part of previous commit - also set delete_requested to 0 2014-03-15 00:00:27 +09:00
Mike Blumenkrantz a6148e5e56 fix client resistance visibility check typo
fix T1087
2014-03-14 09:51:57 -04:00
Carsten Haitzler b1373fe63f fix hiding of windows when delete is requested
this is applicable to e19 only (you can't backport this patch as-is -
e19 is too different). this fixes T1063.
2014-03-14 16:25:14 +09:00
Mike Blumenkrantz 19f8126847 prevent fallthrough in determining gcc visibility
CID 1040127
2014-03-13 13:10:55 -04:00
Mike Blumenkrantz b9cdeb17f5 add note about switch statement fallthrough
CID 1040128
2014-03-13 13:09:43 -04:00
Mike Blumenkrantz 4b58fa9a4e replace ev->keyname with ev->key
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz d391e5c130 validate params for e_dnd_util_text_uri_list_convert()
CID 1040144
2014-03-13 12:52:36 -04:00
Mike Blumenkrantz e0a5cd6e7d bugfix: correctly calculate minimum flowlayout rows
CID 1132740
2014-03-13 12:44:47 -04:00
Mike Blumenkrantz 01abad3f64 bugfix: efm_op no longer tries to close invalid fds during delete ops
CID 1132741
2014-03-13 12:41:53 -04:00
Mike Blumenkrantz b373b561e4 check X comp_data existence in pixmap PRESENT usage during refresh
CID 1155279
2014-03-13 12:22:04 -04:00
Mike Blumenkrantz 450d6cf321 add comments to suppress false positives in intentional switch fallthroughs
CIDs 1155283, 1155282, 1155281
2014-03-13 12:20:38 -04:00
Mike Blumenkrantz c545deb81c fix gadman resistance checking for fake/desk shelves 2014-03-13 12:15:11 -04:00
Mike Blumenkrantz 26cbbe6723 improve client positioning resistance accuracy for hidden clients and fake shelves 2014-03-13 12:12:28 -04:00
Mike Blumenkrantz fe5f8df001 use E_CLIENT_FOREACH macro for resist calcs
CID 1155285
2014-03-13 12:07:49 -04:00
Mike Blumenkrantz 3f3322cb9c null check auth current user get
CID 1155286
2014-03-13 12:06:04 -04:00
Mike Blumenkrantz 865dc17221 null check client on X stack request
CID 1155287
2014-03-13 12:05:13 -04:00
Mike Blumenkrantz ddcc678d78 ensure va_end is called when creating new pixmaps
CID 1155292
2014-03-13 12:02:11 -04:00
Mike Blumenkrantz de03331469 fix indent for iconic hint setting
seriously?

CID 1156985
2014-03-13 12:00:17 -04:00
Mike Blumenkrantz 537b4054d3 simplify/optimize e_win show trap
CID 1163853
2014-03-13 11:58:16 -04:00
Mike Blumenkrantz 6dd98df0d6 remove all remaining efl version check defines 2014-03-13 11:55:29 -04:00
Mike Blumenkrantz d0589662c5 bugfix: check for unicode string end in client menu
CID 1186203
2014-03-13 11:51:21 -04:00
Mike Blumenkrantz 2b3906d8da bugfix: don't crash when passing NULL desk to e_client_under_pointer_get
CID 1186204
2014-03-13 11:47:44 -04:00
Mike Blumenkrantz dacb821f05 trivial dead code--
CID 1187922
2014-03-13 11:43:53 -04:00
Mike Blumenkrantz 3583d76839 trivial dead code--
CID 1187923
2014-03-13 11:42:49 -04:00
Mike Blumenkrantz b8a3e1ed4f fix probably-impossible divide-by-zero in menu item layout
CID 1187924
2014-03-13 11:41:17 -04:00
Mike Blumenkrantz b25706727b bugfix: don't iterate with or access freed pointer in comp match dialog
CID 1039740
2014-03-13 11:18:14 -04:00
Mike Blumenkrantz 9f3f5e29d1 bugfix: ensure use of non-garbage values for menu item icon placeholders
CID 1039769, 1039768
2014-03-13 11:11:14 -04:00
Mike Blumenkrantz 5f68ea5c8d bugfix: prevent out of bounds write in e_intl_locale_parts_get()
CIDs 1039848, 1039847
2014-03-13 10:46:28 -04:00
Mike Blumenkrantz 8b227c33b7 Revert "e_exec - after an instance has its exe deleted - set exe to NULL"
This reverts commit 89fdebb9bf.

CID 1132151
2014-03-13 10:40:11 -04:00
Mike Blumenkrantz 2425ec363c always init container coords when beginning gadcon drag
CIDs 1135457, 1135456
2014-03-13 10:37:01 -04:00
Mike Blumenkrantz bf66547c15 fix null termination of client desktop string matching
CID 1155274
2014-03-13 10:28:33 -04:00
Mike Blumenkrantz 1abc612569 ensure valid client layers in client stack iterating functions
CIDs 1155288, 1155280
2014-03-13 10:27:35 -04:00
Seunghun Lee 08acb0c6aa apply client resize limit for all possible size values during maximize calcs
Summary:
there was a problem that the app like gnome-terminal had not been restored to origin size after maximization.
I think that's because E overwrite the data of saved.x/y to maximized size in ConfigureRequest handler.
The reason why ConfigureReuqest happen is that the window tried to resize itself properly, since E resize window without regard of size hints.

Reviewers: zmike, seoz

CC: cedric

Differential Revision: https://phab.enlightenment.org/D633
2014-03-13 10:15:13 -04:00
Seunghun Lee b137b7e741 fix use of same variable in e_desk double-loop
Reviewers: zmike, seoz

CC: cedric

Differential Revision: https://phab.enlightenment.org/D632
2014-03-13 09:38:11 -04:00
Mike Blumenkrantz 3f5ac7d9ab use static array of inlists for client hooks to reduce overhead 2014-03-13 09:35:06 -04:00
Mike Blumenkrantz ce3e7056ae remove unused vars 2014-03-13 09:34:10 -04:00
Seunghun Lee 48c28213c9 fix use of same temporary variable in for loop.
Summary: it caused crash when user edited desk's name after adding desk.

Reviewers: zmike, seoz

CC: cedric

Differential Revision: https://phab.enlightenment.org/D631
2014-03-13 08:46:39 -04:00
Mike Blumenkrantz 1a2f4087db defer netwm maximize hint apply to reduce canvas ops
improves maximize performance on apps like chromium which incrementally apply maximize states
2014-03-10 00:27:16 -04:00
Mike Blumenkrantz f9f6ddb971 bugfix: dim/undim actions don't require acpi triggers
fix T1067
2014-03-09 23:30:47 -04:00
Mike Blumenkrantz ae81d76a3c ignore ignored clients for X mouse events
fix T1058
2014-03-06 09:35:00 -05:00
Sebastian Dransfeld 8c3b7800c9 randr: TODO++ 2014-03-06 15:18:15 +01:00
Sebastian Dransfeld c0d0afad32 randr: function to apply current config 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld f6a0ec2753 randr: only activate outputs we want to connect 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 52751092f5 randr: store connection status in output 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 2e7964794b randr: make current setup extern 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 9bd18c6272 randr: same param name in prototype and function 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld d6cec482d4 randr: don't let crtc changes change our config 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld ff750b2bb9 randr: add match for refresh rate
Store output config with refresh rate, so we don't just get correct
geometry for outputs.
2014-03-06 15:18:14 +01:00
Sebastian Dransfeld f32426878c randr: common function for fetching output name
Add a common function to get output name, and also check edid if no name
is set by randr.
2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 82e7d1184c randr: remember crtc in output struct 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 2b4a70b283 randr: remove wrong typedef
There is no struct for crtc config
2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 5c6eed2307 randr: allocate hot-plugged outputs 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 11e21fd1ff randr: allocate hot-plugged crtcs 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 8b5153130a randr: Use already fetched root window 2014-03-06 15:18:14 +01:00
Mike Blumenkrantz 63b01101ee fix comp util object initial visibility 2014-03-05 10:53:05 -05:00
Mike Blumenkrantz 851ef43c41 force comp render on dirty for hidden objects with visible mirrors 2014-03-05 10:08:09 -05:00
Mike Blumenkrantz 8b4162d681 fix maximization geometry on desks with shelves
in some cases during startup a client can get post-maximize geometry before the sizing algorithm is applied

fix T1052
2014-03-05 10:08:09 -05:00
Mike Blumenkrantz ee6b8e8c38 simplify maximize shelf fill visibility check 2014-03-05 10:08:09 -05:00
Mike Blumenkrantz 267966834f fix deskmirror visibility for re_manage previously-iconic clients 2014-03-05 10:08:09 -05:00
Mike Blumenkrantz f82351d3e2 reset client urgency on focus-out and iconify 2014-03-05 10:08:09 -05:00
Mike Blumenkrantz 9ad04eb877 redo client urgency again with separate flag for actual urgent state
preserve icccm flag for accurate detection
2014-03-05 10:08:09 -05:00
Stefan Schmidt 58286beed4 e_comp_wl: Remove unused variable.
Later on we use state_w directly.
2014-03-05 13:41:35 +01:00
Mike Blumenkrantz 8568a76313 always set iconic client comp state as visible
pass: init_states
2014-03-04 15:20:24 -05:00
Mike Blumenkrantz 5241140dd2 don't run client visibility idler updates for iconic clients 2014-03-04 15:20:24 -05:00
Mike Blumenkrantz 7b44add514 redo iconic setting for new clients 2014-03-04 15:20:24 -05:00
Mike Blumenkrantz 043a3c17e0 fix some enum decls 2014-03-04 15:20:24 -05:00
Carsten Haitzler 5c8710ded3 fix screen blanking while fullscreen window is up - work again
@fix - this fixes T1019 - when a window is fullscreen the display just
NVER can blank no mater what. it's hrdcoded, and wrong to enforce. if
an app wants to display screensaver - there is the xscreensaver extn -
or maybe supporting an explicit property on a window would work
better, but just equating fullscreen == never blank is wrong. it's an
option now. off by default.
2014-03-01 08:04:09 +09:00
Mike Blumenkrantz e77d536466 remove comp override immediately on screensaver disable 2014-02-28 15:27:35 -05:00
Mike Blumenkrantz 41c4cded01 send unmaximize signal when unfullscreening
fix T1044
2014-02-28 14:55:27 -05:00
Mike Blumenkrantz 54999472de force full rerender on present pixmap size change
a new X extension should make this unnecessary in the future for pixmap resizes, but for now it seems to be a necessary evil

fix T993
2014-02-28 10:48:54 -05:00
Mike Blumenkrantz c720451933 force client urgency unsetting on focus
fix T1016
2014-02-27 21:05:33 -05:00
Mike Blumenkrantz 6555daf56d correctly set keygrab flag on renaming efm icon to not permanently break input 2014-02-27 20:51:02 -05:00
Mike Blumenkrantz 78403e2f54 don't reshadow on client redirect
fix T1019
2014-02-27 20:31:18 -05:00
Mike Blumenkrantz 6abcb5f946 save efm rename focus hook pointer 2014-02-27 20:26:16 -05:00
Mike Blumenkrantz c01a1fcc6c manage comp overrides for comp objects
fix T1019
2014-02-26 11:46:32 -05:00
Mike Blumenkrantz def17d763b +e_comp_util_object_is_above_nocomp() 2014-02-26 11:46:32 -05:00
Mike Blumenkrantz 6a90f66cc4 use comp overrides when grabbing comp input 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz 7604e7a6f7 use one comp override per comp, not per zone, when toggling screensaver fading 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz a331627e09 reduce comp override pop timer, successive pops trigger instapop 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz a52ede0c66 track current nocomp client 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz a22181c0da allow nocomp on some overrides 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz ef26b0fb1e set client-redirected on overrides 2014-02-26 11:46:31 -05:00
Daniel Kolesa 79f3313931 e_comp_x: reverted 7c20b54 (was fixed in the meantime and i didn't notice) 2014-02-25 20:30:45 +00:00
Daniel Kolesa 7c20b5407a e_comp_x: check for zone before actually using it 2014-02-25 20:16:15 +00:00
Mike Blumenkrantz b7f4686d00 e_object zone warning-- 2014-02-25 14:44:05 -05:00
Daniel Kolesa 6085d79df8 e_client: build fix 2014-02-25 19:40:37 +00:00
Mike Blumenkrantz eca0549238 only set atoms for zone geometry for non-ignored clients
another T787 crash
2014-02-25 14:38:08 -05:00
Carsten Haitzler 0313a54da4 e-object-check - this has been turned off since 2007 - back on
this is crazy. all the E_OBJECT_CHECK macros have been off since 2007.
this is just nuts. either remove them, or have them on by default, but
not off. so this turns them back on and fixes code to actually compile
again with them on, as this broke over the years. a lot of code
expects/assumes thatthese willcheck types and null ptrs, but they
don't because they are off by default.
2014-02-26 04:28:12 +09:00
Mike Blumenkrantz 9395553039 don't reset ignored clients on canvas update
part of T787
2014-02-25 09:46:41 -05:00
Sebastian Dransfeld 43aed04241 randr: check NULL before dereference
Fixes CID 1181926
2014-02-24 09:17:25 +01:00
Mike Blumenkrantz c4a9adebc8 bugfix: don't use raise stack for iterating clients
T914
2014-02-21 17:53:14 -05:00
Mike Blumenkrantz b92fb1af3e fix visibility checks for shelves in client smart placement 2014-02-21 17:44:02 -05:00
Mike Blumenkrantz d6c037ff30 fix maximize size calculation on non-current desks with shelves 2014-02-21 17:19:02 -05:00
Mike Blumenkrantz 21d9b84c53 force resizing when changing desk on same screen
this normally happens in zone_set
2014-02-21 17:19:01 -05:00
Mike Blumenkrantz 5857bd32e5 fix e_maximize_client_shelf_fill() to account for all shelves 2014-02-21 17:19:01 -05:00
Mike Blumenkrantz 33370022af deskmirror now handles border theme changes 2014-02-21 17:19:01 -05:00
Mike Blumenkrantz 4cb130e25b break out deskmirror frame setup into helper function 2014-02-21 17:19:01 -05:00
Mike Blumenkrantz e86dc53ddc feature: per-screen desklock logo visibility config
T613
2014-02-21 17:18:57 -05:00
Mike Blumenkrantz 0e66cdda82 only move/resize non-override internal clients during eval
T1007
2014-02-21 16:44:12 -05:00
Mike Blumenkrantz bf47dcdb79 cancel efm rename operation on focus change
T987
2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 25907a9f60 use comp grab functions consistently for efm grabs 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 96092f5f04 efm shouldn't accept file renames when selecting another file 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz f75a923ab0 break out client focus reset into separate function 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 4bf4fb69ed check focus reset after comp input ungrab 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 63d6153d86 reject comp autoclose refocus during comp input grabs 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 88831252c8 use current desk when unsetting client sticky property
T989
2014-02-21 16:44:12 -05:00
Mike Blumenkrantz aec20f1420 force full render on present events during startup 2014-02-21 16:44:12 -05:00
Mike Blumenkrantz 71bfe06bb3 fix debug format string 2014-02-21 16:44:11 -05:00
Mike Blumenkrantz 1a3e86c3c9 fix race condition when repeatedly resizing clients too fast
T993
2014-02-21 16:44:11 -05:00
Carsten Haitzler 22369ffc7b ensure that the bg object exists before emitting signals in e_desk_show() 2014-02-21 09:34:25 +09:00
Mike Blumenkrantz 0bd9052c7e better fix for exec client removal: don't remove if exec is deleted 2014-02-18 06:56:54 -05:00
Mike Blumenkrantz fba7100590 fix client menu layer checks
T984
2014-02-18 06:45:20 -05:00
Mike Blumenkrantz 37c1345aa1 fix crash when repeatedly opening multiple client menus 2014-02-17 17:30:15 -05:00
Mike Blumenkrantz ef360e1684 resize damage tiler on resize
this fixes render races which occur when damages and resizes happen in quick succession
2014-02-17 19:11:33 -03:00
Mike Blumenkrantz 14c7e58a29 improve infos for e_comp_util_wins_print() 2014-02-17 19:11:33 -03:00
Mike Blumenkrantz b317bedf5a remove comp object dirty flag
this logic was useful for another issue which has since been fixed. it currently only serves the purpose of triggering a race condition crash which I do not enjoy.
2014-02-17 16:21:02 -03:00
Mike Blumenkrantz 4c2db4342a bugfix: unref client when removing from exec if exec is deleted
fixes a race condition where client would never be freed when closing lots of windows simultaneously
2014-02-17 16:21:02 -03:00
Sebastian Dransfeld 60483a11a0 randr: split config and current setup
This is so the current config does get changed unless the user requests
it, and makes it possible to have several configs.
2014-02-17 08:44:56 +01:00
Mike Blumenkrantz 7423b5cac1 really fix deskmirror sticky+hidden client handling
quickaccess...
2014-02-15 01:32:07 -05:00
Mike Blumenkrantz 025e0b7565 show hidden clients in deskmirror when in pager or taskbar mode 2014-02-15 01:25:21 -05:00
Mike Blumenkrantz 9419f687aa make e_win delete callback less recursive-prone 2014-02-14 15:49:49 -05:00
Mike Blumenkrantz e6fa8f3176 don't unfullscreen clients if:
* iconic

* hidden (desk flipped)

* not on current zone

T920
2014-02-14 15:08:23 -05:00
Mike Blumenkrantz bbf29c6a2a only set want_focus for non-hidden clients when deferring focus setting
T950
2014-02-14 14:56:16 -05:00
Mike Blumenkrantz 46a715db35 hidden clients should be hidden in deskmirror 2014-02-14 14:46:07 -05:00
Mike Blumenkrantz 8df52a1f22 don't create remembers for ignored clients 2014-02-14 14:40:16 -05:00
Mike Blumenkrantz 96316e2969 bugfix: no more crashing when deleting entry widgets 2014-02-14 14:12:12 -05:00
Mike Blumenkrantz 494e6bc5ee another revision for client geometry resets: take new geometry instead of ignoring it 2014-02-14 13:43:15 -05:00
Mike Blumenkrantz 1c82215eaa force client changes when calling e_win geometry functions 2014-02-14 13:42:49 -05:00
Mike Blumenkrantz 208e7e17bc bugfix: adding/changing comp match window types is now possible 2014-02-14 13:05:17 -05:00
Mike Blumenkrantz 92c7ec1dad DOCKs should actually be "none" so they don't get shadows 2014-02-14 13:05:00 -05:00
Mike Blumenkrantz 9d9ee6c33b add default comp match for DOCK window types 2014-02-14 12:46:53 -05:00
Mike Blumenkrantz c7cf99ba45 bugfix: comp match adding once again functional 2014-02-14 12:41:34 -05:00
Mike Blumenkrantz 09cb41f1dc only reset move/resize attempts if the pending move/resize is different than the current one 2014-02-13 22:46:48 -05:00
Mike Blumenkrantz d80dbc1a35 add maximize_override client flag
sometimes you just want to do stuff on a client without any maximize logic applying!
2014-02-12 20:37:52 -05:00
Mike Blumenkrantz aa37188e02 add maximize_pre and unmaximize_pre smart callbacks 2014-02-12 20:37:39 -05:00
Mike Blumenkrantz 7571ccb2d8 reapply geometry and unset post flags when a client intercept gets the current geometry 2014-02-12 19:50:50 -05:00
Mike Blumenkrantz 0b2e3ea2e3 add unmaximize_done client smart callback 2014-02-12 19:50:17 -05:00
Mike Blumenkrantz 82faa72a45 move maximize_done client smart callback to the end of maximize 2014-02-12 19:49:58 -05:00
Mike Blumenkrantz 0d2945149a client signal actions are not mouse actions
mouse actions have a different end path which causes pointer popping to not occur

T913
2014-02-12 12:06:13 -05:00
Mike Blumenkrantz 1f534c3b32 set client move/resize vars in time for client hooks 2014-02-12 11:50:00 -05:00
Carsten Haitzler 3e17092db8 fix segv with comp post_updates
if we keep a list of e clients... either make sure any client deleted
is removed from the list on deletion... OR use ref/unref to ensure it
stays alive as long as it's in the list.
2014-02-12 12:34:28 +09:00
Mike Blumenkrantz 6802ae750d send smart object to comp effect end cb 2014-02-11 22:29:34 -05:00
Mike Blumenkrantz 449ec43d1f size comp zoomap child to pixmap, not client
this affects nothing
2014-02-11 21:45:04 -05:00
Mike Blumenkrantz 57f0bf6429 fix zoomap alpha setting
doesn't affect anything right now, but someday...
2014-02-11 21:43:54 -05:00
Mike Blumenkrantz 5a14f9f00e unset client.saved after unmaximize callback 2014-02-11 19:28:25 -05:00
Mike Blumenkrantz 3f5b5b03b2 call unmaximize smart callback for all unmaximizes, fix client sizing on directional unmax 2014-02-11 19:01:36 -05:00
Mike Blumenkrantz ffe5670b39 add "maximize_done" smart callback for clients 2014-02-11 18:48:56 -05:00
Mike Blumenkrantz e564187759 hook shadow_change smart callback to fix deskmirror shadows without crashing constantly 2014-02-11 18:48:14 -05:00
Mike Blumenkrantz adb398b6be Revert "fix pager16 shadow inconssistency"
This reverts commit c91840ea54.
2014-02-11 18:42:17 -05:00
Mike Blumenkrantz 2fd21db5e0 Revert "fix deskmirror crash from c91840ea54a398f56a513a9d02608f323d7e8f65"
This reverts commit 6221fb7c90.
2014-02-11 18:42:06 -05:00
Mike Blumenkrantz c3ce56c1dc it's possible that a comp effect has no post-effect callback 2014-02-11 18:40:22 -05:00
Mike Blumenkrantz bf48616a47 remove shadow check from shape apply 2014-02-11 18:40:02 -05:00
Mike Blumenkrantz d9be56ad41 add smart callback on comp object for shadow change 2014-02-11 18:39:51 -05:00
Mike Blumenkrantz 6221fb7c90 fix deskmirror crash from c91840ea54
T941
2014-02-11 18:31:06 -05:00
Carsten Haitzler ed5f83ab0b fix probably NULL ic segv cause in efm
this SHOULD fix T933 if i could ever reproduce it...
2014-02-11 14:49:23 +09:00
Mike Blumenkrantz 0291edd719 hook STICKY client property change in deskmirror
T936
2014-02-10 20:14:59 -05:00
Mike Blumenkrantz 29cd45142a remove E_EVENT_CLIENT_(UN)STICK, use E_EVENT_CLIENT_PROPERTY & E_CLIENT_PROPERTY_STICKY 2014-02-10 20:10:38 -05:00
Mike Blumenkrantz e895d86839 set comp mirror alpha the same way as objects
T928
2014-02-10 09:54:01 -05:00
Mike Blumenkrantz 722b18de9a set precise_is_inside based on shaped || shaped_input 2014-02-10 09:48:13 -05:00
Mike Blumenkrantz e7127a93ff don't set input shape differently on shaped_input clients
T931
2014-02-10 09:45:53 -05:00
Mike Blumenkrantz a78d98700a apply shadow states during theme setup
T885
2014-02-10 09:12:43 -05:00
Mike Blumenkrantz e105c10d80 client shadow check with argb windows now returns based on frame state
T929
2014-02-10 09:12:28 -05:00
Carsten Haitzler c91840ea54 fix pager16 shadow inconssistency
fixes T930
2014-02-10 12:21:27 +09:00
Mike Blumenkrantz c47a7e9b8f improve _e_client_move_begin():
* set ec->moving before MOVE_BEGIN hook

* remove comp grab on failure

* only raise if move succeeds
2014-02-07 14:29:07 -05:00
Mike Blumenkrantz 86d92adba6 set ecresize in e_client_resize_begin() 2014-02-07 14:24:37 -05:00
Mike Blumenkrantz 2817bf025b more e_client_resize_begin() improvements: remove comp grab on failure 2014-02-07 14:23:55 -05:00
Mike Blumenkrantz dab9f9eb3c don't double unset resize_mode on e_client_resize_begin() failure 2014-02-07 12:04:06 -05:00
Mike Blumenkrantz e68837c1d6 e_client_resize_begin() fixes
* make return value accurate

* unset resize_mode on failure
2014-02-07 12:01:12 -05:00
Mike Blumenkrantz 059870b970 layer setting on overrides during client_new wasn't a placeholder, just using the wrong value
T908
2014-02-07 09:23:50 -05:00
Mike Blumenkrantz b97d043b25 assume that if we can't find a requested stacking client (X) it's going to be at the top of the stack
T908
2014-02-06 21:46:12 -05:00
Mike Blumenkrantz 9356644acc set shelves to lowest object on layer 2014-02-06 21:43:40 -05:00
Mike Blumenkrantz 6524711e68 set comp theme object shadow state to off during setup
T907
2014-02-06 20:52:31 -05:00
Mike Blumenkrantz 446eb19653 use regular edje signal emit on regular edje objects 2014-02-06 20:51:58 -05:00
Mike Blumenkrantz f71c85b509 feature: check udisks1 DevicePresentationHide flag
from D505
2014-02-06 13:15:41 -05:00
Mike Blumenkrantz 78334b615e more stringshare improvements for window profile, apply window profile if no desk set (impossible?) 2014-02-06 12:59:28 -05:00
Mike Blumenkrantz 442f3904ed remove unused var 2014-02-06 12:55:49 -05:00
Mike Blumenkrantz ea7c0c3dcd improve stringshare use in e_client_desk_set 2014-02-06 12:52:48 -05:00
Mike Blumenkrantz 7b5257530a specify that E_Desk string members are stringshared 2014-02-06 12:39:09 -05:00
Mike Blumenkrantz 793b6ff319 improve stringshare use for e_desk window profile and name 2014-02-06 12:38:59 -05:00
Mike Blumenkrantz c8ba69e3bf gadgets now delete the right menu when menu is deactivated
T906
2014-02-06 12:33:39 -05:00
Mike Blumenkrantz 1b7b765ee4 bugfix: race condition when deleting clients and their e_exec
this occurred occasionally when a client was the last one on a phony exe
2014-02-05 20:52:55 -05:00
Mike Blumenkrantz 3499f454bd fix signal callback deletion in comp effect start 2014-02-05 20:52:20 -05:00
Mike Blumenkrantz a3fbcc339b Revert "Revert "Revert "e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses"""
This reverts commit 91b3f2e0e1.

revert wars part 4: the blizzard blitz!

the main point of freezing idlers here was not, in fact, to optimize, but to block an infinite loop which pegged the cpu until screensaver ended. this solution should be less issue-prone for the one person who had issues with the previous fix.
2014-02-05 13:22:42 -05:00
Mike Blumenkrantz a16f820f95 only ignore protocol stacking if comp object is on a different layer 2014-02-05 13:05:05 -05:00
Mike Blumenkrantz 66325b2207 Revert "stop crash on accessing ec->desk if its null"
This reverts commit c3791d6b43.

this is a workaround which prevents the underlying bug from being fixed.
2014-02-05 12:47:03 -05:00
Carsten Haitzler 7a3a81b144 bgpreview - fix sizing to not overrun bounds - fixes wallpaper in pager16 2014-02-06 01:18:16 +09:00
Carsten Haitzler c3791d6b43 stop crash on accessing ec->desk if its null
unknown if this was a bug before - never saw it before, so for now
shal assume it's new.
2014-02-06 01:18:16 +09:00
Carsten Haitzler 91b3f2e0e1 Revert "Revert "e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses""
This reverts commit 3067f600ee.

revert wars! - i keep hitting problems - the one i still see is that i
come back to a machine that has blanked for a while - i launch some
app (terminology, sylpheed, chromium - doesn't matter) and no window
appears. psorcess is running. no matter how many times i launch it ...
no new process appears. this is a major bug. stopping the idler is an
optimization not a necessity.
2014-02-06 01:18:15 +09:00
Carsten Haitzler 4e8b14a245 formatting fix. 2014-02-06 01:18:15 +09:00
Mike Blumenkrantz 569c90e87f e_client_util_is_stacking() -> e_client_is_stacking()
regrettably, this can't be in e_client.x because it needs E_Comp struct members and header order does not allow for this :(
2014-02-05 10:58:57 -05:00
Mike Blumenkrantz 8d71213839 e_client_name_get() -> e_client_util_name_get()
this should be inlined
2014-02-05 10:55:50 -05:00
Mike Blumenkrantz eba912cf6a e_client_resizing_get() -> e_client_util_resizing_get()
functions in e_client.x should be namespaced with e_client_util to indicate that they are inline (and in e_client.x)
2014-02-05 10:51:36 -05:00
Mike Blumenkrantz 4eae850861 e_util_client_shadow_state_get() -> e_client_util_shadow_state_get()
removals: e_util_client_shadow_state_get
2014-02-05 10:48:31 -05:00
Mike Blumenkrantz 27768fcb03 guarantee comp shadow is off when frame exists 2014-02-05 10:48:01 -05:00
Mike Blumenkrantz cd37f23632 allow shadows on borderless, non-argb, non-shaped clients
T885
2014-02-04 22:27:23 -05:00
Mike Blumenkrantz ca760bb103 check client ignores before dereferencing desk
D519
2014-02-04 21:29:29 -05:00
Mike Blumenkrantz f3587f67f2 remove conf2 the rest of the way... 2014-02-04 09:41:07 -05:00
Mike Blumenkrantz 3067f600ee Revert "e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses"
This reverts commit 231b780996.

despite appearances, this functionality isn't solely for efficiency, and as such I have no plans for it to be removed.
2014-02-03 19:16:11 -05:00
Carsten Haitzler 231b780996 e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses
so since this e main idler freeze/thaw i've noticed several times, i
come back to my machine after screen-off time period, i wke it up with
a mouse wiggle or keyboard press and try run terminology - no windwo
appears. i can run it all i want - it never shows up but the processes
are there. i've seen it happen to sylpheed where its fetch window
doesn't appear. i've had myserious menu edje objects on the top-left
with only a single item with no bg. i've had e even unable to restart
on ctrl+alt+end.

so i disabled the idler freeze/thaw as i suspected this is what the
root cause is, and sinc ethen the above problems stopped manifesting.
i can only conclude it's a deep and nasty bi-product of stopping the e
main idler, so don't do it. :) better be a bit less efficient than
buggy. either way setting manual rendering and dropping the animator
framerate should do almost all the things needed anyway.
2014-02-04 08:08:20 +09:00
Mike Blumenkrantz de9dde6daf remember comp object dirty state and update when necessary
normal clients rely upon the guarantee that they will receive another resize on next render when size updates occur before visibility happens, but overrides will never receive another resize since they always size accurately. by remembering that the state was previously considered dirty, render updates which occur before visibility are no longer lost until the next damage/resize occurs

tl;dr: your menus show up again
2014-02-03 14:00:12 -05:00
Mike Blumenkrantz 20c09a3891 don't check client zone during idler
this happens on every move and resize, no need to check it a third time
2014-02-03 13:58:57 -05:00
Mike Blumenkrantz f4de16df08 don't change zone after moving client
this happens automatically, and with more accuracy, later on
2014-02-03 13:57:45 -05:00
Mike Blumenkrantz 7efa7b3f27 don't overwrite existing coords on creation of override client
overrides come with their own placement for zones
2014-02-03 13:55:38 -05:00
Mike Blumenkrantz 3c436b5c09 bugfix: initial client positioning with multiple monitors improved
this was added a while ago to fix positioning of windows that wanted to start centered but couldn't accurately calculate xinerama screen sizes, resulting in windows getting centered across the screen split. it ended up being a bit too aggressive, however.
2014-02-03 13:03:01 -05:00
Mike Blumenkrantz d293b368b8 bugfix: screen limits policy no longer breaks X client positioning
this has been broken since it was added, and I strongly regret allowing it to be added.
2014-02-03 12:52:35 -05:00
Mike Blumenkrantz ad8b4e6d4d track main loop edje freeze state 2014-02-03 11:58:02 -05:00
Mike Blumenkrantz ebeffa1a91 bugfix: hide drag icons after dnd operation ends
T797
2014-02-03 11:14:04 -05:00
Mike Blumenkrantz 21019e952f Revert "add default comp match for geany autocompete window"
This reverts commit 5c5a89bfec.
2014-01-30 19:15:47 -05:00
Carsten Haitzler 2de63a2f0b comp matches - add menu and dnd types in list 2014-01-31 08:50:37 +09:00
Mike Blumenkrantz 9409f435a3 e_util_glob functions now automatch when pointers are the same 2014-01-30 13:11:00 -05:00
Mike Blumenkrantz d3468dd920 feature: ACTIVATE_EXCLUDE window active hint policy
this option causes window activation requests to only activate a window if it is on a currently visible virtual desktop, otherwise it will be set as urgent. I recall that things may have worked this way long ago...
2014-01-30 12:45:49 -05:00
Mike Blumenkrantz 3125c3a674 fix more misuses of comp animating flag
this should even things out permanently here and ensure things get deleted when they should

related: T879
2014-01-30 12:12:01 -05:00
Mike Blumenkrantz 4bae09712d internal windows are NOT re_manage
setting re_manage breaks visibility animations on first show
2014-01-30 12:12:01 -05:00
Mike Blumenkrantz 752c220482 redo X first_damage logic
the main idea here is to not DRAW at the time of the first damage to avoid overdraw, but ignoring the fact that the region is ready to be drawn can be problematic when the drawing eventually occurs. best choice here is to keep the region but not the render update
2014-01-30 12:12:01 -05:00
Mike Blumenkrantz 340e02efb5 ignore non-internal override clients when stacking
this fixes the case where clients will briefly escape normal/expected stacking on startup if an override is visible
2014-01-30 12:12:01 -05:00
Mike Blumenkrantz 53e477a7d0 simplify layer marker stacking setup 2014-01-30 12:12:01 -05:00
Mike Blumenkrantz b6cbacc77e ignore re_manage clients for X object creation events 2014-01-30 12:12:01 -05:00
Mike Blumenkrantz 5c5a89bfec add default comp match for geany autocompete window
given that we're compositing-only now, we should be adding more of these for common apps to improve the user experience on a base configuration
2014-01-30 12:12:01 -05:00
Mike Blumenkrantz d1fb844db0 bugfix: comp matching correctly edits in place and doesn't crash 2014-01-30 12:12:01 -05:00
Mike Blumenkrantz cd6fcead3e add object configuration to comp matches 2014-01-30 12:12:01 -05:00
Mike Blumenkrantz 1d22c527a3 force comp reshadow after pixmap fetch succeeds, not during setup
reshadowing earlier than this makes it very likely that client attributes have not been fetched, meaning that the match will fall through to a default type match instead of using the correct one
2014-01-30 12:12:00 -05:00
Mike Blumenkrantz 49cfe28719 use object list for comp matching internal objects 2014-01-30 12:12:00 -05:00
Mike Blumenkrantz 2ef7f0f760 rename tabs in comp match dialog to be more descriptive 2014-01-30 12:12:00 -05:00
Mike Blumenkrantz 628696f2af use E_Window_Type for comp match dialog instead of Ecore_X_Window_Type 2014-01-30 12:12:00 -05:00
Mike Blumenkrantz 4bcc43282e use E_Window_Type for comp matches instead of Ecore_X_Window_Type 2014-01-30 12:12:00 -05:00
Mike Blumenkrantz f14aa06c7c remove default comp match for Background_Window
this no longer exists
2014-01-30 12:12:00 -05:00
Mike Blumenkrantz 37fd470632 remove default comp match for Init_Window
this no longer exists
2014-01-30 12:12:00 -05:00
Daniel Kolesa 811c57cfaf enlightenment: fix menu placement 2014-01-30 12:17:54 +00:00
Mike Blumenkrantz 8e6cd13766 fix some misuses of comp animating flag
T879
2014-01-30 06:59:11 -05:00
Mike Blumenkrantz 5a2aab8457 reject stopping comp object effect if wrong end_cb is passed 2014-01-30 06:55:14 -05:00
Mike Blumenkrantz 9d3f47f4f6 ignore deleted clients on comp object add event 2014-01-29 21:12:07 -05:00
Mike Blumenkrantz db01319aee ref client itself during comp object add event 2014-01-29 21:12:07 -05:00
Mike Blumenkrantz 7ef4340c3f revert 83397e1bde 2014-01-29 21:12:07 -05:00
Mike Blumenkrantz 10ef8170d4 remove iconify files 2014-01-29 21:12:07 -05:00