platform/upstream/enlightenment.git
9 years agoallow x11 mouse wheel events to check ev->event_window for possible client match
Mike Blumenkrantz [Mon, 27 Jul 2015 17:23:13 +0000 (13:23 -0400)]
allow x11 mouse wheel events to check ev->event_window for possible client match

in the event that these windows are different, event_window is the parent of window
which may or may not be explicitly tracked by an E_Client, so the wheel events here
should be sent to the parent as is done in mouse button events

fix T2604

9 years agoapply csd sizing transform for wayland configure events
Mike Blumenkrantz [Fri, 24 Jul 2015 20:35:21 +0000 (16:35 -0400)]
apply csd sizing transform for wayland configure events

when not resizing, the sizes passed to configure should be based on the
window size and not the surface size. in order to calculate this, it's
necessary to keep track of the last-known window geometry for non-maximized
states and create offsets with which to calculate new sizes

this fixes directional maximizes as well as unmaximizing

9 years agoalways send geometry to configure method for wayland clients when not resizing
Mike Blumenkrantz [Fri, 24 Jul 2015 20:34:18 +0000 (16:34 -0400)]
always send geometry to configure method for wayland clients when not resizing

failure to set this would lead to clients changing geometry when maximized while
focus state was removed

9 years agodo not send duplicate configures for wayland clients during maximize
Mike Blumenkrantz [Fri, 24 Jul 2015 20:33:06 +0000 (16:33 -0400)]
do not send duplicate configures for wayland clients during maximize

this seems to not have caused any real issues, but it made debugging
more of a pain and is unnecessary connection noise

9 years agofix client smart callbacks on (un)maximize
Mike Blumenkrantz [Fri, 24 Jul 2015 18:33:08 +0000 (14:33 -0400)]
fix client smart callbacks on (un)maximize

these should match the callbacks triggered for whatever the current
maximize state is

9 years agoadd an actual module no-save blacklist
Mike Blumenkrantz [Fri, 24 Jul 2015 18:31:29 +0000 (14:31 -0400)]
add an actual module no-save blacklist

this should make it easier to keep track of modules that should be
blocked from having their load states saved

9 years agoenlightenment: Remove static function prototype for unused function
Chris Michael [Fri, 24 Jul 2015 17:16:04 +0000 (13:16 -0400)]
enlightenment: Remove static function prototype for unused function

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoenlightenment: Allocate space for terminating NULL
Chris Michael [Fri, 24 Jul 2015 17:12:20 +0000 (13:12 -0400)]
enlightenment: Allocate space for terminating NULL

Fixes CID1261289

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoenlightenment: Remove listener for XDnD status
Chris Michael [Fri, 24 Jul 2015 17:09:05 +0000 (13:09 -0400)]
enlightenment: Remove listener for XDnD status

As we don't do anything within this handler, having it is just
pointless. Remove it. Fixes Coverity CID1267214

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoUpdating catalan translation
maxerba [Fri, 24 Jul 2015 10:59:46 +0000 (12:59 +0200)]
Updating catalan translation

9 years agoUpdating italian translation
maxerba [Thu, 23 Jul 2015 21:09:17 +0000 (23:09 +0200)]
Updating italian translation

9 years agowayland: fix key repeat
Derek Foreman [Thu, 23 Jul 2015 15:01:31 +0000 (11:01 -0400)]
wayland: fix key repeat

Summary:
wl_keyboard_send_repeat_info takes ints, not floats.  We were rounding to
0 and weston-terminal didn't key repeat.

fixes T2597

Reviewers: devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T2597

Differential Revision: https://phab.enlightenment.org/D2859

9 years agoadd a timer for wl client focus to delay held key input
Mike Blumenkrantz [Wed, 22 Jul 2015 21:55:30 +0000 (17:55 -0400)]
add a timer for wl client focus to delay held key input

this prevents keys from immediately being sent to newly-focused clients
and avoids the case of reverting focus from one app to another on keybind
close, only to have the second app also close immediately using the same keybind

9 years agosend wl kbd modifiers only when changes occur
Mike Blumenkrantz [Wed, 22 Jul 2015 21:46:39 +0000 (17:46 -0400)]
send wl kbd modifiers only when changes occur

9 years agocreate/manage list of focused wl keyboard resources for reuse in kbd operations
Mike Blumenkrantz [Wed, 22 Jul 2015 21:38:40 +0000 (17:38 -0400)]
create/manage list of focused wl keyboard resources for reuse in kbd operations

this simplifies kbd code all over

9 years agoset new_client flag on xwl clients during swap
Mike Blumenkrantz [Wed, 22 Jul 2015 21:10:49 +0000 (17:10 -0400)]
set new_client flag on xwl clients during swap

this forces another run of client placement so that xwl clients do
not always appear at 0,0

9 years agoremove unnecessary geometry setting during xwl client swap
Mike Blumenkrantz [Wed, 22 Jul 2015 21:10:11 +0000 (17:10 -0400)]
remove unnecessary geometry setting during xwl client swap

this geometry will be applied during show

9 years agoset shell-less wl surface mapped state regardless of visibility during commit
Mike Blumenkrantz [Wed, 22 Jul 2015 21:09:14 +0000 (17:09 -0400)]
set shell-less wl surface mapped state regardless of visibility during commit

new_client flag here will defer show operations, but the operations will complete

9 years agoupdate wl keyboard resource key presses on focus in/out of surfaces
Mike Blumenkrantz [Wed, 22 Jul 2015 20:59:23 +0000 (16:59 -0400)]
update wl keyboard resource key presses on focus in/out of surfaces

9 years agoallow wl client focus-out callback to execute on deleted E_Clients
Mike Blumenkrantz [Wed, 22 Jul 2015 20:28:48 +0000 (16:28 -0400)]
allow wl client focus-out callback to execute on deleted E_Clients

9 years agodon't update wl keyboard state on client focus events
Mike Blumenkrantz [Wed, 22 Jul 2015 20:28:08 +0000 (16:28 -0400)]
don't update wl keyboard state on client focus events

this is always up-to-date

9 years agofix backlight init value
Mike Blumenkrantz [Wed, 22 Jul 2015 17:56:19 +0000 (13:56 -0400)]
fix backlight init value

in the case where xrandr is not used, setting backlight to very dim on init
will result in the backlight remaining at a very dim level when the backlight
normal level is 1.0 since backlight values will not successfully update until
at least 0.05s after the main loop starts

ref T1333

9 years agofix compositing error when client is ec->hidden during show animation
Mike Blumenkrantz [Wed, 22 Jul 2015 17:30:02 +0000 (13:30 -0400)]
fix compositing error when client is ec->hidden during show animation

this prevented clients from being deleted and resulted in artifacts and
memory leaks

9 years agosimplify deskmirror client desk checking
Mike Blumenkrantz [Wed, 22 Jul 2015 16:54:20 +0000 (12:54 -0400)]
simplify deskmirror client desk checking

9 years agofix wl build
Mike Blumenkrantz [Wed, 22 Jul 2015 16:24:35 +0000 (12:24 -0400)]
fix wl build

9 years agosimulate modal windows for badly behaved x11 clients
Mike Blumenkrantz [Tue, 21 Jul 2015 22:24:39 +0000 (18:24 -0400)]
simulate modal windows for badly behaved x11 clients

it seems that some clients, eg. libreoffice, don't set the modal window
property on child dialogs. instead of fighting for focus, set up the child
as a modal on the parent and then avoid the whole issue

fix T2594

9 years agodon't block keybind activation while grabs are active
Mike Blumenkrantz [Tue, 21 Jul 2015 19:33:50 +0000 (15:33 -0400)]
don't block keybind activation while grabs are active

9 years agoensure clients possess comp_data before dereferencing it during x11 stacking
Mike Blumenkrantz [Tue, 21 Jul 2015 18:34:11 +0000 (14:34 -0400)]
ensure clients possess comp_data before dereferencing it during x11 stacking

ref T2566

9 years agoredo wl compositor key eventing
Mike Blumenkrantz [Tue, 21 Jul 2015 18:27:29 +0000 (14:27 -0400)]
redo wl compositor key eventing

* break out key callbacks into EINTERNs
* remove extraneous/unused mouse event handlers
* enforce wl modifier updating in all cases
* ensure keybinds are activated before wl clients receive input
  - block wl client input during grabs

fixes T2565

9 years agodo not add x11 compositor desklock hooks in non-x11 compositor
Mike Blumenkrantz [Tue, 21 Jul 2015 18:25:41 +0000 (14:25 -0400)]
do not add x11 compositor desklock hooks in non-x11 compositor

9 years agoadd wl compositor desklock hooks to add grabs during lock
Mike Blumenkrantz [Tue, 21 Jul 2015 18:25:16 +0000 (14:25 -0400)]
add wl compositor desklock hooks to add grabs during lock

9 years agoadd clients to focus stack as necessary in e_client_unignore()
Mike Blumenkrantz [Tue, 21 Jul 2015 18:21:36 +0000 (14:21 -0400)]
add clients to focus stack as necessary in e_client_unignore()

9 years agoalways stop passing key events on once they reach the lokker callback
Mike Blumenkrantz [Tue, 21 Jul 2015 18:21:07 +0000 (14:21 -0400)]
always stop passing key events on once they reach the lokker callback

9 years agodo not attempt to remove wl xdg popup clients from focus stack
Mike Blumenkrantz [Tue, 21 Jul 2015 18:15:08 +0000 (14:15 -0400)]
do not attempt to remove wl xdg popup clients from focus stack

these have never been added to the focus stack, so removing them is useless

9 years agodo not block winlist activity based on event window in non-x11 compositors
Mike Blumenkrantz [Tue, 21 Jul 2015 18:13:55 +0000 (14:13 -0400)]
do not block winlist activity based on event window in non-x11 compositors

fixes winlist interaction in wayland

9 years agoshot: Skip the wayland setup bits when running under X
Derek Foreman [Tue, 21 Jul 2015 16:23:08 +0000 (12:23 -0400)]
shot: Skip the wayland setup bits when running under X

fix T2592

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2851

9 years agodesklock: Fix T2589: Screen Lock crashes in E
Chris Michael [Tue, 21 Jul 2015 13:03:59 +0000 (09:03 -0400)]
desklock: Fix T2589: Screen Lock crashes in E

Don't call ecore_x functions unless we are using an X11 compositor.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agofix typo in comp object opaque region render
Mike Blumenkrantz [Mon, 20 Jul 2015 21:26:13 +0000 (17:26 -0400)]
fix typo in comp object opaque region render

 #DerekWasRight

9 years agomove opaque region (image border) apply to render fn
Mike Blumenkrantz [Mon, 20 Jul 2015 18:38:44 +0000 (14:38 -0400)]
move opaque region (image border) apply to render fn

this seems to provide a more accurate region for rendering in my tests,
as various weston-apps no longer show black rects during resize

9 years agodon't mangle wl client opaque region tiler during commit clip
Mike Blumenkrantz [Mon, 20 Jul 2015 18:38:31 +0000 (14:38 -0400)]
don't mangle wl client opaque region tiler during commit clip

9 years agoimprove wl compositor tiler usage
Mike Blumenkrantz [Mon, 20 Jul 2015 18:10:55 +0000 (14:10 -0400)]
improve wl compositor tiler usage

pixman <-> tiler api naming seems similar but functionality is totally
different

9 years agoonly perform keybind grabs on root window for x11 compositors
Mike Blumenkrantz [Mon, 20 Jul 2015 17:32:06 +0000 (13:32 -0400)]
only perform keybind grabs on root window for x11 compositors

9 years agoblock compositor keybinds using more accurate x11 detection
Mike Blumenkrantz [Mon, 20 Jul 2015 17:26:09 +0000 (13:26 -0400)]
block compositor keybinds using more accurate x11 detection

blocking based on event window here is only valid for true x11 compositors
and not just compositors with root windows

fixes keybind activation when running xwayland clients

9 years agowayland: Also link with libwayland-client.so
Derek Foreman [Mon, 20 Jul 2015 15:17:40 +0000 (11:17 -0400)]
wayland: Also link with libwayland-client.so

Summary:
E is both a client and a server, so it should be linking
both libraries.

 #Kansas

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2843

9 years agoe - randr allow you to turn off screens and keep them off if config says so
Carsten Haitzler (Rasterman) [Sun, 19 Jul 2015 13:41:48 +0000 (22:41 +0900)]
e - randr allow you to turn off screens and keep them off if config says so

9 years agoe - unbreak client pixmaps when native surf is used
Carsten Haitzler (Rasterman) [Sat, 18 Jul 2015 14:39:46 +0000 (23:39 +0900)]
e - unbreak client pixmaps when native surf is used

this unbreaks disappearing client content introduced by
5a001b1759445c1461341c7d1e069ac74e411f04.

9 years agodo not set opaque regions on comp object mirrors
Mike Blumenkrantz [Fri, 17 Jul 2015 20:08:37 +0000 (16:08 -0400)]
do not set opaque regions on comp object mirrors

based on testing, this breaks all rendering of related objects. I
suspect that the image border needs to be manually scaled based on
image::mirror proportions in order for this to work as expected, but
adding the required code seems like too much complexity for nearly zero
gain

9 years agorender surface opaque regions as opaque when image border is set
Mike Blumenkrantz [Fri, 17 Jul 2015 20:07:01 +0000 (16:07 -0400)]
render surface opaque regions as opaque when image border is set

it seems that just setting the opaque region is not enough for evas;
we must also inform it that the opaque region is opaque and should not
be blended

9 years agozero out wl surface opaque region on commit in all cases
Mike Blumenkrantz [Fri, 17 Jul 2015 19:58:14 +0000 (15:58 -0400)]
zero out wl surface opaque region on commit in all cases

it's possible that the opaque ptr may exist but have no regions,
which will result in the previous frame's opaque region being used

9 years agoadd e_client_unignore() for triggering events when unignoring a client
Mike Blumenkrantz [Fri, 17 Jul 2015 19:29:13 +0000 (15:29 -0400)]
add e_client_unignore() for triggering events when unignoring a client

mainly for use in wayland compositing since all surfaces are ignored
until they get a shell surface or a commit

9 years agofix wl_fb define name in comp init
Mike Blumenkrantz [Fri, 17 Jul 2015 19:28:23 +0000 (15:28 -0400)]
fix wl_fb define name in comp init

9 years agoenforce image border/size/pixels_dirty setting on comp mirrors during create
Mike Blumenkrantz [Fri, 17 Jul 2015 19:23:34 +0000 (15:23 -0400)]
enforce image border/size/pixels_dirty setting on comp mirrors during create

this should provide a more accurate first-render for mirrors as they are added

9 years agoensure wayland parts of shot module use the correct wayland display objects
Mike Blumenkrantz [Fri, 17 Jul 2015 18:55:44 +0000 (14:55 -0400)]
ensure wayland parts of shot module use the correct wayland display objects

the ecore-wl global objects used here will be wrong for the case of nested
compositors

9 years agodo not update client list hint when creating a new wayland client
Mike Blumenkrantz [Fri, 17 Jul 2015 18:55:18 +0000 (14:55 -0400)]
do not update client list hint when creating a new wayland client

9 years agoalways set new wayland E_Clients to be ignored during client hook
Mike Blumenkrantz [Fri, 17 Jul 2015 18:54:56 +0000 (14:54 -0400)]
always set new wayland E_Clients to be ignored during client hook

9 years agoadd wl_wl wl output module
Mike Blumenkrantz [Thu, 16 Jul 2015 20:51:54 +0000 (16:51 -0400)]
add wl_wl wl output module

it is now possible to create a xephyr window in a drm-enlightenment session,
launch wl-x11 enlightenment in xephyr, and then launch wl-wl enlightenment
inside that enlightenment

the primary limitation on this output module is that all internal windows will
appear in the outer compositor due to the current restriction of ecore-wayland
with regard to only having a single global display server connection

 #Inception

9 years agoremove a kind of typo in E_ZONE_GEOMETRY atom string.
Seunghun Lee [Fri, 17 Jul 2015 19:04:39 +0000 (15:04 -0400)]
remove a kind of typo in E_ZONE_GEOMETRY atom string.

Test Plan: N/A

Reviewers: devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2833

9 years agoe-comp-wl: Fix region_add and region_subtract functions to make sure we have accurate...
Chris Michael [Fri, 17 Jul 2015 18:58:34 +0000 (14:58 -0400)]
e-comp-wl: Fix region_add and region_subtract functions to make sure we have accurate opaque regions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years ago...and also ungrab the compositor when internal drags end
Mike Blumenkrantz [Thu, 16 Jul 2015 16:59:04 +0000 (12:59 -0400)]
...and also ungrab the compositor when internal drags end

9 years agoonly use input xwindows for internal drags in x11 compositor
Mike Blumenkrantz [Thu, 16 Jul 2015 16:50:54 +0000 (12:50 -0400)]
only use input xwindows for internal drags in x11 compositor

this fixes input region detection for dnd operations

fix T1831

9 years agoscreenshooting: Avoid void pointer arithmetic
Derek Foreman [Wed, 15 Jul 2015 22:09:15 +0000 (18:09 -0400)]
screenshooting: Avoid void pointer arithmetic

Summary:
If we use unsigned char pointers instead of void pointers we actually
conform to the C standard.

This patch removes a reliance on a gcc extension and, as an added bonus,
also quiets a warning in the default build.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2820

9 years agowl clients should not use edges during keyboard resize
Mike Blumenkrantz [Wed, 15 Jul 2015 22:08:32 +0000 (18:08 -0400)]
wl clients should not use edges during keyboard resize

ref T2452

9 years agoadd E_Client->keyboard_resizing flag
Mike Blumenkrantz [Wed, 15 Jul 2015 22:07:12 +0000 (18:07 -0400)]
add E_Client->keyboard_resizing flag

there is no other indication of whether a client is resizing using the
keyboard, so this should serve as an adequate hint

9 years agonever use new clients for stacking part 2: the secret of the stacking
Mike Blumenkrantz [Wed, 15 Jul 2015 20:22:02 +0000 (16:22 -0400)]
never use new clients for stacking part 2: the secret of the stacking

a client with this flag set here is unreliable to use as a stacking
reference since it has yet to be stacked and can be located anywhere
in the window stack.

fixes internal window stacking on startup

9 years agoensure that focus is set and focus stack is managed on winlist hide
Mike Blumenkrantz [Wed, 15 Jul 2015 18:47:35 +0000 (14:47 -0400)]
ensure that focus is set and focus stack is managed on winlist hide

if pointer warping is disabled, attempting to pointer warp with mouse-based
focus policies will fail here, preventing focus from being applied as expected

ref T2566

9 years agoonly trigger client mouse-in from x11 mouse move event if client+desk are visible
Mike Blumenkrantz [Wed, 15 Jul 2015 18:27:19 +0000 (14:27 -0400)]
only trigger client mouse-in from x11 mouse move event if client+desk are visible

ref T2566

9 years agosimulate netwm sync for xwl clients
Mike Blumenkrantz [Wed, 15 Jul 2015 17:55:35 +0000 (13:55 -0400)]
simulate netwm sync for xwl clients

blocks execution of resizes until the surface commit arrives. reduces
the race condition between resize and render and eliminates frame drops
during slow resizes

9 years agomove xwayland socket connection to its own thread
Mike Blumenkrantz [Wed, 15 Jul 2015 17:40:32 +0000 (13:40 -0400)]
move xwayland socket connection to its own thread

this operation performs a synchronous socket connection inside xlib which can
block for an infinite amount of time. in order to avoid having a potentially
unlimited amount of time where the ui is frozen and polling on the socket connection,
move it to a thread where it can hang for as long as it wants and then use the
resulting display object for the ecore-x connection

9 years agoe-comp-wl: Remove unused variable
Chris Michael [Wed, 15 Jul 2015 17:46:51 +0000 (13:46 -0400)]
e-comp-wl: Remove unused variable

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoe-comp-wl: Fix T2570: stuck key when closing efm windows
Chris Michael [Tue, 14 Jul 2015 19:26:38 +0000 (15:26 -0400)]
e-comp-wl: Fix T2570: stuck key when closing efm windows

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoe-comp-wl: Fix getting end key during key down/up events
Chris Michael [Tue, 14 Jul 2015 19:10:38 +0000 (15:10 -0400)]
e-comp-wl: Fix getting end key during key down/up events

NB: This is actually an Oopsie from a previous commit that should not
have gotten in.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoe-comp-wl: don't send keyboard modifiers twice.
Chris Michael [Tue, 14 Jul 2015 18:46:13 +0000 (14:46 -0400)]
e-comp-wl: don't send keyboard modifiers twice.

NB: e_comp_wl_input_keyboard_modifiers_update already sends keyboard
modifiers to all keyboard resources, so no need to call this twice.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoe-comp-wl: Update keyboard and modifier state AFTER we send them to clients
Chris Michael [Tue, 14 Jul 2015 18:18:21 +0000 (14:18 -0400)]
e-comp-wl: Update keyboard and modifier state AFTER we send them to clients

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoe-comp-wl: Add support for wl_keyboard_send_repeat_info to allow for configurable...
Chris Michael [Tue, 14 Jul 2015 15:58:24 +0000 (11:58 -0400)]
e-comp-wl: Add support for wl_keyboard_send_repeat_info to allow for configurable keyboard repeat rates

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoe-comp-wl: Update keyboard key state regardless of client focus or not
Chris Michael [Tue, 14 Jul 2015 14:18:19 +0000 (10:18 -0400)]
e-comp-wl: Update keyboard key state regardless of client focus or not

Key state updates need to be consistent. As we update the key state on
key up regardless of client focus, then we should be doing the same in
the key_down event handler so that key state remains consistent.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoe-comp-wl: Don't call keyboard_modifiers_update twice
Chris Michael [Tue, 14 Jul 2015 14:17:23 +0000 (10:17 -0400)]
e-comp-wl: Don't call keyboard_modifiers_update twice

e_comp_wl_input_keyboard_state_update already makes a call to
e_comp_wl_input_keyboard_modifeirs_update so there is no need to call
it twice on key up/down events.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoRevert "delete render updates for xwayland clients upon triggering a client resize"
Mike Blumenkrantz [Tue, 14 Jul 2015 17:12:06 +0000 (13:12 -0400)]
Revert "delete render updates for xwayland clients upon triggering a client resize"

This reverts commit f3f29a0cf83412ae4f09fb1fbed065daca7c4047.

upon further review, this was not at all helpful and breaks resizing eventually

9 years agoenlightenment_remote: restore compatibility with older versions with bg-add / bg-del
Simon Lees [Tue, 14 Jul 2015 17:07:18 +0000 (13:07 -0400)]
enlightenment_remote: restore compatibility with older versions with bg-add / bg-del

Summary:
older versions of enlightenment_remote had a additional first param that did nothing
this change detects if that paramater is still passed in and ignores it. There are
a couple of applications including variety that rely on this behavior as well as some
user scripts

Reviewers: zmike, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2813

9 years agoremove unnecessary call to e_bg_del
Simon Lees [Tue, 14 Jul 2015 16:31:20 +0000 (12:31 -0400)]
remove unnecessary call to e_bg_del

I noticed e_bg_add calls e_bg_del so the additional call is not
required, it should also be noted the msgbus module doesn't call
this and works fine.

Reviewers: raster, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2811

9 years agoe_bg_del should only delete the bg on the zone specified
Simon Lees [Tue, 14 Jul 2015 16:30:33 +0000 (12:30 -0400)]
e_bg_del should only delete the bg on the zone specified

Summary:
previously e_bg_del didn't take the zone paramater into
account

fixes T2572

Reviewers: raster, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2810

9 years agoe randr2 - auto clone and use common res when doing so - make it work
Carsten Haitzler (Rasterman) [Sun, 12 Jul 2015 09:12:00 +0000 (18:12 +0900)]
e randr2 - auto clone and use common res when doing so - make it work

tested this and made it work. should fix T2100

9 years agodisable size debug on drags
Mike Blumenkrantz [Sat, 11 Jul 2015 12:37:56 +0000 (08:37 -0400)]
disable size debug on drags

9 years agodelete render updates for xwayland clients upon triggering a client resize
Mike Blumenkrantz [Fri, 10 Jul 2015 20:59:47 +0000 (16:59 -0400)]
delete render updates for xwayland clients upon triggering a client resize

fixes frame dropping during resize

9 years agoonly register dnd xwindow with compositor canvas in x11 compositor mode
Mike Blumenkrantz [Fri, 10 Jul 2015 20:03:45 +0000 (16:03 -0400)]
only register dnd xwindow with compositor canvas in x11 compositor mode

registering it under wayland creates spurious mouse events

9 years agofix xdnd in (x)wayland
Mike Blumenkrantz [Fri, 10 Jul 2015 20:02:39 +0000 (16:02 -0400)]
fix xdnd in (x)wayland

this is a real thing, so don't abort immediately if it happens

9 years agoadjust layering of pointer and init splash
Mike Blumenkrantz [Fri, 10 Jul 2015 18:21:50 +0000 (14:21 -0400)]
adjust layering of pointer and init splash

prevents cursor from getting stuck above screensaver fade

9 years agoadd wayland client post-render references in the render loop
Mike Blumenkrantz [Fri, 10 Jul 2015 17:22:15 +0000 (13:22 -0400)]
add wayland client post-render references in the render loop

9 years agoadd function to fill in x11 cursor image on creation
Mike Blumenkrantz [Fri, 10 Jul 2015 17:04:12 +0000 (13:04 -0400)]
add function to fill in x11 cursor image on creation

xwayland compositing requires that we set up a root window cursor image
immediately since we'll be getting that cursor surface to display as soon
as the pointer goes out of an x11 client's window

9 years agobreak up some pointer setting code into helper functions
Mike Blumenkrantz [Fri, 10 Jul 2015 17:03:05 +0000 (13:03 -0400)]
break up some pointer setting code into helper functions

9 years agoalways set x11 override client geometry on startup
Mike Blumenkrantz [Fri, 10 Jul 2015 16:07:29 +0000 (12:07 -0400)]
always set x11 override client geometry on startup

this geometry isn't something we can change later, so apply it now.
also fixes an ACK when trying to show input_only clients early

9 years agodisable netwm sync on x11 clients in wayland compositors
Mike Blumenkrantz [Thu, 9 Jul 2015 23:32:51 +0000 (19:32 -0400)]
disable netwm sync on x11 clients in wayland compositors

this has no effect

9 years agowhen e crashes in wayland, just crash instead of possibly freezing
Mike Blumenkrantz [Thu, 9 Jul 2015 19:11:13 +0000 (15:11 -0400)]
when e crashes in wayland, just crash instead of possibly freezing

9 years agounify crash handler functions
Mike Blumenkrantz [Thu, 9 Jul 2015 19:01:50 +0000 (15:01 -0400)]
unify crash handler functions

9 years agoredo e_pointer to support xwayland cursors
Mike Blumenkrantz [Thu, 9 Jul 2015 18:42:55 +0000 (14:42 -0400)]
redo e_pointer to support xwayland cursors

this requires that both canvas cursors and window cursors be present for the same
E_Pointer object, even though only the canvas cursor is actually visible

 #kansas

9 years agoshot: Enable feature of taking just window shots in wayland
Chris Michael [Thu, 9 Jul 2015 16:37:42 +0000 (12:37 -0400)]
shot: Enable feature of taking just window shots in wayland

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoreturn to using standard client util fns for getting client wins in x11
Mike Blumenkrantz [Wed, 8 Jul 2015 21:16:25 +0000 (17:16 -0400)]
return to using standard client util fns for getting client wins in x11

9 years agoremove unnecessary E_COMP_WL #defines
Mike Blumenkrantz [Wed, 8 Jul 2015 21:12:42 +0000 (17:12 -0400)]
remove unnecessary E_COMP_WL #defines

this is only required for aliasing E_Client->comp_data as wayland compositor data.
if comp_data is never dereferenced, it is not necessary to declare the compositor
type

9 years agomake wayland-specific shot protocol files conditional on wayland build
Mike Blumenkrantz [Wed, 8 Jul 2015 21:11:16 +0000 (17:11 -0400)]
make wayland-specific shot protocol files conditional on wayland build

9 years agoremove NEED_WL define from some makefiles
Mike Blumenkrantz [Wed, 8 Jul 2015 21:06:14 +0000 (17:06 -0400)]
remove NEED_WL define from some makefiles

this isn't a thing and I don't know why it's here

9 years agoshot: Disable window shots in wayland for now
Chris Michael [Wed, 8 Jul 2015 19:41:23 +0000 (15:41 -0400)]
shot: Disable window shots in wayland for now

NB: Feature still being developed

Signed-off-by: Chris Michael <cp.michael@samsung.com>