Mike Blumenkrantz
2461c6b50d
remove unnecessary E_Comp references in comp object callbacks
2015-03-13 15:49:04 -04:00
Mike Blumenkrantz
91edd1ce2f
E_CLIENT_*FOREACH() macros no longer take a E_Comp param
2015-03-13 15:45:07 -04:00
Mike Blumenkrantz
091142b032
remove E_Client->comp
2015-03-13 15:41:21 -04:00
Mike Blumenkrantz
96b13f2620
remove E_Comp_Object->comp member
2015-03-13 15:28:42 -04:00
Mike Blumenkrantz
00440e740a
remove e_comp_util_evas_object_comp_get()
2015-03-13 15:24:33 -04:00
Mike Blumenkrantz
dd5cf53542
remove e_comp_util_evas_object_comp_get() usage
2015-03-13 15:24:13 -04:00
Mike Blumenkrantz
c8fcff8109
remove e_util_comp_zone_id_get() and e_util_comp_zone_number_get()
2015-03-13 15:20:41 -04:00
Mike Blumenkrantz
b8d4072a13
e_util_comp_zone_number_get() -> e_comp_zone_number_get()
2015-03-13 15:18:16 -04:00
Mike Blumenkrantz
a8f9c44b46
remove e_comp_get() function
2015-03-13 15:13:01 -04:00
Yomi
b5ed3c9fea
change DESKTOP env setting on startup
...
Summary:
From Enlightenment 17 to Enlightenment.
Seems e17 keeps popping up...
rEdb6aeef2b1a9c831fa0901e499dd8f73ff733836
rEec1cd25cfe666665b9e5641c91d3ad1fd2f9f11c
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2147
2015-03-12 18:55:47 -04:00
Mike Blumenkrantz
289c6f0d1f
send client sizes for wl configure events when fullscreening/maximizing
2015-03-12 15:19:52 -04:00
Mike Blumenkrantz
b533ad67f3
remove unused wl variables
2015-03-12 15:15:40 -04:00
Mike Blumenkrantz
662d9fea2d
don't reset placement of internal wl clients on first commit
...
fixes placement of evry et al
2015-03-12 15:14:27 -04:00
Mike Blumenkrantz
08328f0c19
conditionally compile elm win trap wayland functionality
2015-03-12 14:28:18 -04:00
Mike Blumenkrantz
a7dae25236
Revert "e - fix build when wayland not enabled"
...
This reverts commit 413ca8046e
.
broke wayland runtime: wrong define names, wrong usage
2015-03-12 14:23:22 -04:00
Mike Blumenkrantz
3f8d2d0596
disable wl client hide animations even with gl
...
broken until we start making textures for rendering clients
2015-03-12 13:24:42 -04:00
Carsten Haitzler
03f05d16e5
e clients - make sure we handle client with a NULL zone
2015-03-11 18:34:38 +09:00
Mike Blumenkrantz
d93bb6c899
don't modify pixmap hash when changing pixmap parent window
...
moderately certain I originally wrote this to work in the other direction
and then failed to remove it when I switched to setting parents instead of
children. regardless, pixmap hash should not be changed here
2015-03-10 18:29:09 -04:00
Mike Blumenkrantz
4c96e40f55
CRI on attempting to change a pixmap's client when pixmap already has client
...
this should never occur, so do something if it does since it means there's a big problem
2015-03-10 18:28:18 -04:00
Mike Blumenkrantz
bb436e6750
don't reuse wl surface pixmaps without adding a ref
2015-03-10 16:37:57 -04:00
Derek Foreman
281f283d7d
Wayland: more checks to avoid consuming serials needlessly
...
Reviewers: devilhorns, zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2135
2015-03-10 16:24:46 -04:00
Mike Blumenkrantz
808ab60181
fix invalid eina list usage when merging wl surface frame list
2015-03-10 16:11:57 -04:00
Bryce Harrington
13f4582c76
wayland: Check for potential OOM from wl_array_add()
...
Summary:
wl_array_add() returns NULL if it can't malloc/realloc. This
is probably unlikely but check for it and issue a meaningful error if it
occurs.
Reviewers: cedric, devilhorns, zmike, raster
Reviewed By: raster
Subscribers: raster, cedric
Differential Revision: https://phab.enlightenment.org/D2054
2015-03-10 15:07:38 +09:00
Derek Foreman
b7f3a81f59
Send modifiers to wayland clients on focus in
...
Summary:
If we don't update the modifiers on focus in we can end up with stuck
modifiers if a modifier is held when starting a client.
Reviewers: zmike, devilhorns
Reviewed By: devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2124
2015-03-09 16:37:02 -04:00
Derek Foreman
5c345bf37f
Break e_comp_wl_input_keyboard_modifiers_update into two functions
...
Summary:
Separate the state serialization from the send so we can use the
serialization function elsewhere.
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2123
2015-03-09 15:49:08 -04:00
Derek Foreman
8c7364b682
Don't update xkbstate when no app has focus
...
Summary:
We still update the keyboard array. focus_in adds everything in the
array to xkbstate anyway, so adding it when there's no focus results
in a double update of state and potentially stuck modifiers.
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2111
2015-03-06 18:55:39 -05:00
Mike Blumenkrantz
567802f251
fix crash when using e_comp_object_util_center_pos_get() with non comp_objects
2015-03-06 17:59:43 -05:00
Mike Blumenkrantz
143c0a9292
fix horizontal/vertical smart maximize
...
fix T2170
2015-03-06 17:16:24 -05:00
Mike Blumenkrantz
7147b7d54b
remove unnecessary wl client pixmap checks
...
these are direct object callbacks so they will only be triggered on wl clients
2015-03-06 16:02:49 -05:00
Mike Blumenkrantz
961a56ea10
use stderr messages when failing to init X compositor
...
can't show error dialogs when we're about to exit, may as well print something useful
fix T2182
2015-03-06 15:00:52 -05:00
Mike Blumenkrantz
691c5187c2
exit immediately if any unrecognized arg is passed on startup
...
ref T2182
2015-03-06 14:57:58 -05:00
Mike Blumenkrantz
e8d408650f
disable wl clients in X
...
this is untested and undeveloped, no point in leaving it around to crash randomly
2015-03-06 14:52:12 -05:00
Derek Foreman
6e4214c8ad
Fix stuck modifiers on client exit
...
Summary:
We still need to remove the active keys when focus_out happens, even
if the pixmap is already gone. If we don't and a modifier was held
down during exit then the xkb state will have that modifier stuck
forever.
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2110
2015-03-06 13:08:24 -05:00
Mike Blumenkrantz
08b9194c12
don't require client mirror object existence to hide dead comp object mirrors
2015-03-05 14:57:49 -05:00
Mike Blumenkrantz
02134369c0
only hide comp object images for dead clients on smart hide
2015-03-05 12:44:27 -05:00
Mike Blumenkrantz
b9f797a277
flag non-internal wl shm clients as dead and delete mirrors on hide
...
no more crashing?
2015-03-05 12:18:27 -05:00
Mike Blumenkrantz
6696c99a26
trivial move comp object function
2015-03-05 12:18:06 -05:00
Mike Blumenkrantz
38e12a0370
add E_Client->dead to mark clients that should immediately be removed from the compositor
...
theme_shadow was unused
2015-03-05 12:16:53 -05:00
Mike Blumenkrantz
7e8d442ac3
force non-internal wl clients to hide when gl is not available
2015-03-05 11:59:29 -05:00
Mike Blumenkrantz
caddd0f1d5
hide comp object image on smart hide
...
ensure that this is not being rendered anywhere at the time of hide
2015-03-05 11:56:26 -05:00
Mike Blumenkrantz
230033aa67
Revert "when we get a request to close client app, defer resource deletion"
...
This reverts commit 1cf7c1f151
.
didn't fix the issue and obfuscated the code unnecessarily
2015-03-05 11:41:43 -05:00
Mike Blumenkrantz
c9ef6e5c77
re-setting same cursor object updates hotspot as expected
2015-03-05 11:27:23 -05:00
Mike Blumenkrantz
ac7a94261a
never resize client clip object
2015-03-04 17:07:39 -05:00
Mike Blumenkrantz
a38a34d599
set ec->fullscreen before applying fullscreen geometry
2015-03-04 15:52:16 -05:00
Mike Blumenkrantz
de17793fe3
reapply wl surface focus during commit when necessary
2015-03-04 15:36:23 -05:00
Mike Blumenkrantz
b069009a16
grab wl shell surface geom and use for adjusting resize operations
...
I think this still may not be 100% perfect,
but it's more like 95% perfect now instead of 50%
2015-03-03 16:48:25 -05:00
Chris Michael
bc160488d8
enlightenment: Implement support for wl_data_device_interface "release" event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-03 11:59:52 -05:00
Chris Michael
6e34bc32a0
don't install SIGBUS handler if we are running wayland-only
...
Wayland shm sets up a sigbus handler for catching invalid shm region
access. If we setup our sigbus handler here, then the wl-shm sigbus
handler will not function properly
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-03 09:54:23 -05:00
Chris Michael
1cf7c1f151
when we get a request to close client app, defer resource deletion
...
until After close animation has been run
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-02 15:42:26 -05:00
Mike Blumenkrantz
c6f0597774
remove ec->awaiting_hide_event
...
no longer used
2015-03-02 14:27:29 -05:00