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
e1394afdff
wl drm output module must set comp gl state more pedantically
2015-03-12 13:44:34 -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
Mike Blumenkrantz
3f5d25a535
don't identify all wl shell clients as internal...you crackhead
2015-03-12 13:13:55 -04:00
Mike Blumenkrantz
868ebe4e31
fix ibar drop calc to not unexpectedly trigger epileptic seizures in users
...
when attempting to drop on an icon, the drop area geometry was never included
in the calc, resulting in the drop changing between positions on every frame
2015-03-11 16:02:57 -04:00
Mike Blumenkrantz
18c821adc3
slight ibar dnd optimization when checking taskbar apps for drop site
2015-03-11 16:02:57 -04:00
maxerba
7722b42ba8
Updating italian translation
2015-03-11 19:04:42 +01: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
3e4d5ddfc3
always create new client for wl shell surfaces
...
this should be a more correct way of handling (shell) surfaces since
there's never a time when we won't want to create a new client
2015-03-10 18:27:08 -04:00
Mike Blumenkrantz
bb436e6750
don't reuse wl surface pixmaps without adding a ref
2015-03-10 16:37:57 -04:00
Mike Blumenkrantz
4140fb728a
don't attempt to find wl shell E_Client when one cannot exist
2015-03-10 16:37:30 -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
Derek Foreman
9ef66f7fae
Wayland: Don't consume serials when not sending events
...
Reviewers: zmike, devilhorns
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2134
2015-03-10 15:52:31 -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
45cb2e6cf1
redo ibar icon label position signalling to emit left/center/right
...
also calc based on icon position, not icon orientation
2015-03-06 18:54:31 -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
bf90bc32db
use current zone for shelf cfd setup
...
fix T2168
2015-03-06 17:06:43 -05:00
Mike Blumenkrantz
107ab84a19
Revert "disable fileman popups in wl-only mode"
...
This reverts commit e6c47e8d90
.
these no longer crash so reenable them
2015-03-06 16:06:17 -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
c3d1eede87
enlightenment: Bump required Wayland version to 1.7.0
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-03 11:59:02 -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
Mike Blumenkrantz
e703b40073
improve wl grab resize calcs
2015-02-28 16:48:07 -05:00
Mike Blumenkrantz
f62ab0a819
update+clamp wl surface client size to buffer size during commit
...
this is the same as the X render loop behavior, just in a different place
2015-02-28 15:46:16 -05:00