Carsten Haitzler
a242745ee6
hmmm i see a rememebrs bug oh so waiting to happen.. delete a
...
rememeber but the idler stil has it in its list.
2013-05-11 11:11:13 +09:00
Mike Blumenkrantz
ad89c33535
remove unused "modal_windows" option which was breaking dialog focus in some cases
2013-05-10 13:08:52 +01:00
Mike Blumenkrantz
b797b4bb1b
always unlock focus after pointer warp, even if warp border has previously been unset
2013-05-10 13:08:31 +01:00
Mike Blumenkrantz
4a7832a61b
fix autoraise when mousing into already-focused windows
2013-05-10 13:08:01 +01:00
Mike Blumenkrantz
4da2c68fec
fix floating border icons when changing border themes
2013-05-10 12:29:58 +01:00
Mike Blumenkrantz
103298eee3
remove some completed compositor todos
2013-05-10 12:23:07 +01:00
Mike Blumenkrantz
727cd45b5c
force window resize when pixmap comes back with a size that doesn't match the client window
...
this causes comp to refetch the pixmap again with the correct size and allows windows which were shaded across a restart to be unshaded
2013-05-10 11:11:35 +01:00
Mike Blumenkrantz
053a14197e
correctly send border move events for shading where applicable
2013-05-10 10:43:09 +01:00
Mike Blumenkrantz
0bcb83b2b6
more accurately init window position for re-managed windows
2013-05-10 10:40:54 +01:00
Mike Blumenkrantz
c533d03e59
block border resize action for shading/shaded windows
2013-05-10 10:40:20 +01:00
Mike Blumenkrantz
11388ab67e
block window shade animation for new clients
2013-05-10 10:39:56 +01:00
Mike Blumenkrantz
f5a573abf4
typedef E_Event_Border_Simple
2013-05-10 10:39:36 +01:00
Mike Blumenkrantz
95b9313e64
don't fetch window pixmap for shaded window
2013-05-10 10:38:37 +01:00
Mike Blumenkrantz
1b684e8191
correctly calculate border frame shape when cutting a window
2013-05-09 14:14:52 +01:00
Mike Blumenkrantz
84b071df66
set shape input rects for shaped windows
2013-05-09 14:07:53 +01:00
Mike Blumenkrantz
2723bde28c
fix dbusmenu crash
2013-05-09 13:14:42 +01:00
Mike Blumenkrantz
6f29188963
ignore comp shape rects outside the screen, print overrides in comp win print function
2013-05-09 13:06:04 +01:00
Mike Blumenkrantz
646f90439f
increase systray min width, define systray gadget min sizes, also apply min sizes when resizing dynamically
2013-05-09 07:57:06 +01:00
Mike Blumenkrantz
43c540a4f1
block mouse focus events if desk animation is running
2013-05-08 13:43:19 +01:00
Mike Blumenkrantz
506cb8046d
force mouse up feed on menu ungrab to ensure it gets received
...
issue described in T89
2013-05-08 13:26:25 +01:00
Mike Blumenkrantz
b5e79146a3
update container shapes and apply comp hidden when (un)shading windows
2013-05-08 12:42:59 +01:00
Mike Blumenkrantz
2c420cde8b
leave britney^Wgravity alone (during shading)! #2
2013-05-08 12:33:07 +01:00
Mike Blumenkrantz
9c91d45f5d
remove redundant setting of bd->changed
2013-05-08 12:32:55 +01:00
Mike Blumenkrantz
219b40545b
add toggle for borderless window state to top-level of border menu
2013-05-08 08:55:54 +01:00
Mike Blumenkrantz
ddaa6013c6
e_border borderless flag is now used at highest priority when determining which border to set
2013-05-08 08:47:17 +01:00
Mike Blumenkrantz
d8c603ae87
filemanager windows no longer resize to 0x0 when double clicked with no icons present
...
T78
2013-05-08 08:28:53 +01:00
Mike Blumenkrantz
529d58a410
e_fm2_optimal_size_calc now returns a bool to indicate whether the returned size can be used
2013-05-08 08:27:54 +01:00
Mike Blumenkrantz
2d55999aad
reuse comp canvas for ibar grab win
2013-05-07 13:11:05 +01:00
Mike Blumenkrantz
9b8c586202
fix input shapes for input windows: desk flipping once again functional
2013-05-07 11:42:02 +01:00
Ian Lee
02149c903c
patches to remove eukit and add device icon from D99
2013-05-07 11:17:03 +01:00
Mike Blumenkrantz
7cfd355f7f
unbreak window resizing
2013-05-07 10:32:38 +01:00
Mike Blumenkrantz
2a8316de75
leave britney^Wgravity alone (during shading)!
2013-05-07 10:14:25 +01:00
Mike Blumenkrantz
8966fa40d9
window shading no longer changes xwin geometry and looks nicer
2013-05-07 08:50:35 +01:00
Mike Blumenkrantz
c7e64b4e38
block damage and pixmap fetches on windows in geometry updates if window is shading
2013-05-07 08:50:08 +01:00
Mike Blumenkrantz
6018f8c356
ensure comp geometry update happens even if update gets deferred
2013-05-07 08:49:44 +01:00
Mike Blumenkrantz
26b7ff074a
don't use pixmap size for comp geom updates if border is shading
2013-05-07 08:49:21 +01:00
Igor Murzov
60c687415a
Comment out outdated translations in .desktop file of conf_comp module.
...
Translations in .desktop file of conf_comp module are copied from
one of now removed comp module. And as there is no tag 'fuzzy' for
desktop files, translations that need to be updated are commented out.
2013-05-05 00:49:18 +04:00
Igor Murzov
599ff00c26
Partially revert commit 8d7c40c622
2013-05-05 00:33:45 +04:00
maxerba
8d7c40c622
updating serbian translation
2013-05-04 20:40:16 +02:00
maxerba
99b361871e
updating italian translation
2013-05-04 19:54:52 +02:00
Chris Michael
ca1b15918d
Test for valid Wayland compositor before trying to shutdown.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-04 14:35:01 +01:00
Chris Michael
61ef289fe4
Check for valid wayland compositor before trying to init desktop shell.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-04 12:30:02 +01:00
Chris Michael
f80097f0cb
Check for valid wayland compositor and display before dispatching.
...
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-05-04 12:26:25 +01:00
Mike Blumenkrantz
046aecdf06
fix invalid read of notification popup after delete
2013-05-03 13:39:38 +01:00
Chris Michael
b82cb14698
e_xkb_layout_get can return NULL so trap for that and only set the
...
names.layout below if needed.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-05-03 06:39:00 +01:00
Igor Murzov
971ca768eb
Update russian translation
2013-05-02 16:05:26 +04:00
Igor Murzov
c449a14ce5
Fix thinkos
2013-05-02 15:49:25 +04:00
Igor Murzov
d5b019b078
Fix incorrect format usage in E_CONFIGURE_OPTION_MINMAX_STEP_FMT
2013-05-02 15:49:25 +04:00
Igor Murzov
d81819e5cd
Add some more messages to the pot
2013-05-02 15:49:25 +04:00
Igor Murzov
2b86e82d6c
Gettextize bluez4 module
2013-05-02 15:49:24 +04:00
Mike Blumenkrantz
a6c1042e39
add free callback to size debugging
2013-05-02 08:04:53 +01:00
Carsten Haitzler
4df2ff56f5
let us... force zoomap always for popups and menus. let's eee if this
...
speeds things up?
2013-04-30 12:37:59 +09:00
Mike Blumenkrantz
5a90516141
move dnd init again so it doesn't break during comp init
2013-04-29 09:46:14 +01:00
Mike Blumenkrantz
85d192238e
remove unnecessary comp checks for init win
2013-04-29 09:46:10 +01:00
Mike Blumenkrantz
85022b2e40
fix dnd text-url/list handler to add trailing null before parsing into list
2013-04-29 09:36:06 +01:00
Chris Michael
6f0a4a63bc
Start on code to allow Wayland Clients to render using EGL
...
Currently, all Wayland Clients render inside E using software
(regardless of E's compositor setting).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael
7c37664ed6
Add egl extension header
...
Add bind and unbind proc address
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael
a07d830ce2
Add support for Dynamic Keymap changes in Wayland Clients.
...
Now, if you change E's keyboard layout, then Wayland Clients will also
dynamically change to the new keymap.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael
c2bde038fc
Add keyboard_resource to compositor struct.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Chris Michael
27fa756808
Add Event handler (for keymap events) to compositor structure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-26 13:48:46 +01:00
Mike Blumenkrantz
f45e418158
default notification urgency to normal to ensure that notifications are displayed when they do not explicitly set the urgency hint
2013-04-26 08:53:16 +01:00
Carsten Haitzler
8cf7e61744
protect against failure to find a container layer win in comp
...
it may happen that a container layer window cannot be found (someone
deleted it other than e - which is possible), and e hasn't expected
this. comp will have removed the comp win entry but containers will
not know. this is either some client being stupid, or malicious, but
protect against it, complain with an ERR and march on so we don't crash.
2013-04-26 16:31:29 +09:00
Carsten Haitzler
59c4e0f81b
fix race condtion in comp caused by delayed job doing the populate.
...
by making a job to delay population we play a race condition game with
initting of other bits of e. this means the comp may or may not have
been filled by the container layer winds before other internal events
and actions start making comp wins and setting layers. this means that
things like e_comp_win_find() for a con->layers[n].win may fail... as
this has yet to be added... and thus.. we crash in startup. it's a
race condition.
so this removed the delay job and makes population of the comp
explicit. it puts the population into the hnds of the e_main init
after a manager has been created and after a container is created, and
thus laer wins created, so it can walk the x window stack correctly,
but before anything else is done. this means that we will be properly
inited at this point without a race condition.
2013-04-26 16:31:29 +09:00
maxerba
4f4ab0f432
updating italian translation
2013-04-25 15:21:24 +02:00
Mike Blumenkrantz
5bacb5dfc3
restack event rect for efm...always
2013-04-25 12:02:36 +01:00
Mike Blumenkrantz
2353c5f2ac
add another check for vmware windows, ticket #1057
2013-04-25 11:50:48 +01:00
Mike Blumenkrantz
db72a84e58
improve efm mouse move detection (no more tooltips when cursor is in separate window)
2013-04-25 11:45:53 +01:00
Mike Blumenkrantz
47283e5518
add deskmirror, a new widget which breaks evas in a number of terrifying ways
...
to experience the terror, uncomment the define in e_deskmirror.h
2013-04-25 11:21:22 +01:00
Mike Blumenkrantz
7777b5d738
fix stacking list order of comp objects under the layout
2013-04-25 11:21:18 +01:00
Mike Blumenkrantz
0b844d36eb
block efm key actions while menu is active
...
https://phab.enlightenment.org/T12
2013-04-25 09:23:33 +01:00
Mike Blumenkrantz
f2fe52a074
menus are no longer enrolled in the same school as mexican jumping beans
2013-04-25 09:20:22 +01:00
Mike Blumenkrantz
53d8c89791
unbreak notification callbacks, fix notification crashes
...
this should not have been committed as-is, and I'm very disappointed at the lack of testing here.
2013-04-25 09:12:43 +01:00
Mike Blumenkrantz
1efc663a18
unset data ptr for notification handler in notification module
2013-04-25 08:50:37 +01:00
Mike Blumenkrantz
275000dcbf
only apply solid zoomap for menus
2013-04-23 17:10:20 +01:00
Mike Blumenkrantz
3a983e8d59
move border shadow checks to e_util
2013-04-23 17:10:20 +01:00
Lucas De Marchi
f8a2dd4d95
Rename edbus->eldbus
2013-04-23 12:37:43 -03:00
Mike Blumenkrantz
646943d897
ignore window focus in events on iconic borders; these are guaranteed to be wrong
2013-04-23 16:26:19 +01:00
Mike Blumenkrantz
de99185efa
block refocus of currently focused window when applying desk focus
2013-04-23 16:25:56 +01:00
Mike Blumenkrantz
2ae8713130
fix comp pixmap fetching to refetch when X is slow
2013-04-23 15:53:54 +01:00
Jérémy Zurcher
21be5a7e61
mixer: factorize popup&gadget balance&volume code
2013-04-23 15:03:21 +02:00
Chris Michael
2344c1efdf
Add list of outputs to compositor (needed for drm compositor).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-23 09:54:56 +01:00
Jérémy Zurcher
c24bdf66df
mixer: prevent mem leak and let default card setup on empty module
...
config
2013-04-23 10:57:28 +02:00
Mike Blumenkrantz
fb4d8b9f35
set force flag when hiding comp wins on desk switch
2013-04-23 09:07:58 +01:00
Mike Blumenkrantz
6d27a48f58
add comp win zoomaps back with an #ifdef for debugging
2013-04-23 08:58:56 +01:00
Mike Blumenkrantz
9d6e2ecc97
update comp win geometry on border events
2013-04-23 08:58:56 +01:00
Mike Blumenkrantz
5c49e7c981
remove border checking for comp win add...this is bad I guess
2013-04-23 08:58:56 +01:00
Carsten Haitzler
e28be382a2
stop adding max: to bg edj's being generated on import.
2013-04-23 15:50:49 +09:00
Mike Blumenkrantz
486944af0a
use e_comp_win_effect_unclip after desk show
2013-04-22 13:58:01 +01:00
Mike Blumenkrantz
b04d2dfc4b
add e_comp_win_effect_unclip() to unclip an effect object after a transition
2013-04-22 13:58:01 +01:00
Mike Blumenkrantz
1ff1b21563
check for border when adding comp wins without border object; temporary until e19
2013-04-22 13:58:01 +01:00
Mike Blumenkrantz
b366590cb3
use 2 for desk hide manage to prevent comp source from being hidden
2013-04-22 13:58:01 +01:00
Carsten Haitzler
1bd06b4a8d
oops - didnt fix pa RIGHT... now its fixed - detects pa native socket
...
properly if its an XDG_RUNTIME dir.
2013-04-22 00:31:22 +09:00
Boris Faure
de187284fc
tiling: fix segv when adding a stack without config
2013-04-20 18:27:06 +02:00
Carsten Haitzler
2a7a3a557f
e17 mixer - use XDG_RUNTIME_DIR for finding pulse... and have more
...
generous fallbacks.
2013-04-21 00:42:34 +09:00
Carsten Haitzler
0985de0051
if inst->channel is null... dont segv at least in mixer.
2013-04-21 00:17:12 +09:00
Mike Blumenkrantz
17e7ea400c
improve comp mirror safety check again
2013-04-19 16:47:06 +01:00
Mike Blumenkrantz
bd0ca79320
unset comp effect clip after effect ends
2013-04-19 16:23:56 +01:00
Mike Blumenkrantz
26a3a75e8c
e_comp_get() supports e_desk
2013-04-19 15:18:28 +01:00
Mike Blumenkrantz
f5965d533c
add new event for comp win stacking
2013-04-19 13:49:34 +01:00
Mike Blumenkrantz
f9f81ee6e1
send right comp source events
2013-04-19 13:44:52 +01:00
Mike Blumenkrantz
f0f998f7f6
creating individual bgpreview objects no longer requires sizes
2013-04-19 12:49:53 +01:00
Mike Blumenkrantz
d5911a5126
still using edje group called deskpreview for bgpreviews
2013-04-19 12:49:53 +01:00
Mike Blumenkrantz
eeb3b1908a
e_widget_bgpreview_desk_add now takes an evas instead of an evas object
2013-04-19 11:02:29 +01:00
Mike Blumenkrantz
e673e85f98
rename deskpreview -> bgpreview
2013-04-19 10:07:15 +01:00
Mike Blumenkrantz
cfe46c2c40
make comp mirror safety check useful
2013-04-19 10:03:42 +01:00
Mike Blumenkrantz
5654d4ea4b
simplify comp mirror creation, update related fixme
2013-04-19 10:00:54 +01:00
Mike Blumenkrantz
711f91f1f6
add name to notification content objects+mirrors
2013-04-19 09:41:21 +01:00
Cedric Bail
a7ba24df70
e_comp: don't rely on undefined callback call order.
2013-04-19 11:23:13 +09:00
Mike Blumenkrantz
6371da9a61
add new modes for notification display when using multiple monitors, shows a TODO bug for comp zoomap mirrors
2013-04-18 15:50:49 +01:00
Mike Blumenkrantz
ded0db707f
use zoomap as image source for object mirrors, for all the good it will do
2013-04-18 13:42:23 +01:00
Mike Blumenkrantz
e922fcd32e
ensure we use edje util zoomap function only on known edje objects
2013-04-18 13:42:00 +01:00
Mike Blumenkrantz
2795e52b9b
set current config version on load
2013-04-18 13:04:23 +01:00
Mike Blumenkrantz
b4b8e69bfe
try actually updating on border resize event for slightly more accurate resizes when doing shade animations rapidly
2013-04-18 12:57:37 +01:00
Mike Blumenkrantz
f9a45e14ec
comp win geometry updates with updates pending now queue another render job
2013-04-18 12:56:46 +01:00
Mike Blumenkrantz
9aa32ad327
render queue and flag geometry update on border resize event to catch shading animations
2013-04-18 12:53:13 +01:00
Mike Blumenkrantz
1071bd9020
fix comp win geometry updates for shaded windows
2013-04-18 12:44:19 +01:00
Mike Blumenkrantz
53330cc2e1
clean up pager desk drag objects
2013-04-18 12:38:39 +01:00
Mike Blumenkrantz
6c25df272a
set border icon change flag when going from borderless->not-borderless frame
2013-04-18 12:31:52 +01:00
Mike Blumenkrantz
a94060e402
fix move/resize check on borders during deletion to fix crash and pop pointer
2013-04-18 10:53:54 +01:00
Mike Blumenkrantz
6aad12eda8
don't apply xsettings if no settings exist
...
* fixes buffer overflow
2013-04-18 10:39:58 +01:00
Mike Blumenkrantz
06dd5703a3
fix comp win geometry updates to always use pixmap size when available
2013-04-18 10:21:31 +01:00
Mike Blumenkrantz
c883ec1c25
simplify comp win geom update check to only look at flag
2013-04-18 10:21:12 +01:00
Mike Blumenkrantz
c32fbb3ab4
comp win reshadow now sets geom update flag instead of updating geom
2013-04-18 10:20:21 +01:00
Mike Blumenkrantz
22b95a70b1
set comp win geometry update flag for pixmap update during initial show
2013-04-18 10:08:07 +01:00
Mike Blumenkrantz
d10c5b0cf7
giant comp rejiggering commit #LAST:
...
* merge init splash to comp canvas
* remove enlightenment_init exe
2013-04-18 08:30:07 +01:00
Carsten Haitzler
3740656a66
fix multiple shelf config diaslog bug.
2013-04-18 13:08:20 +09:00
Carsten Haitzler
6cd17aec69
fix: removing list node from list WHILE walking list without using the
...
foreach_safe.. fix.. use foreach_safe.
2013-04-18 12:50:06 +09:00
Mike Blumenkrantz
dd3f309b32
remove zoomap usage for window/surface objects until a related bug is fixed
2013-04-17 13:34:59 +01:00
Mike Blumenkrantz
c84797ec9a
set comp win zoomap smooth based on comp smooth scale setting
2013-04-17 13:34:59 +01:00
Chris Michael
243c9409c9
Add some additional error trapping for keyboard info initialization.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 13:29:26 +01:00
Chris Michael
326a53f9b3
Fix typo in definition of Output_Mode structure.
...
Add a "Terminal" structure to represent tty's for drm compositing.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 11:13:34 +01:00
Mike Blumenkrantz
0315c91008
set the magic "always" zoomap flag to fix window input and disable shadows...for now
2013-04-17 09:43:40 +01:00
Mike Blumenkrantz
1751571993
add bg_object name for border
2013-04-17 09:43:40 +01:00
Mike Blumenkrantz
cdca19a0fe
rename zoomap smart functions to have zoomap in the name for easier debugging
2013-04-17 09:43:40 +01:00
Chris Michael
6afda6d9bd
Add a structure for hardware plane (used in drm compositor).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-17 09:28:13 +01:00
Mike Blumenkrantz
256d1386c1
update comp win geometry correctly for override (non-pixmap) windows
2013-04-17 08:46:36 +01:00
Mike Blumenkrantz
5d11130dad
size debugging now also prints object names when available
2013-04-17 08:36:54 +01:00
Mike Blumenkrantz
b702eddfd1
use new zoomap function to set solidness on comp win reshadow
2013-04-17 08:07:11 +01:00
Mike Blumenkrantz
bff0e74507
add zoomap util function for setting solidness based on edje data items of child
2013-04-17 08:06:20 +01:00
Mike Blumenkrantz
a4d13328e9
put zoomap shaped/solid edc stuff back for menus, let comp wins use it more generally
2013-04-17 06:32:49 +01:00
Mike Blumenkrantz
efa7f67893
fix input shapes for frames of shaped windows
2013-04-17 06:12:37 +01:00
Mike Blumenkrantz
62d405c48a
apply border shape rects in a better spot; window resizing now functional again
2013-04-17 05:57:25 +01:00
Carsten Haitzler
f2b31aa7a3
if comp init fails - dont use dialogs to show it now its in core.. and
...
on failure.. exit instead of segving. :)
2013-04-17 09:12:03 +09:00
Mike Blumenkrantz
dde99c089a
flag comp win geometry updates and call only as necessary
2013-04-16 15:05:11 +01:00
Chris Michael
86ea7cf6ef
Bring drm header file up-to-date with structure name changes, etc.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 14:39:26 +01:00
Chris Michael
761545a885
Fix duplicate structure field.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 14:23:43 +01:00
Chris Michael
8c5e0c702d
Add a Drm_Fb structure to represent the frame buffer.
...
NB: Start of getting drm to function again.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 13:52:18 +01:00
Mike Blumenkrantz
3165012074
fix an e_border crash which I discovered by clicking in exactly the right frame with bd_change debugging enabled
2013-04-16 13:51:50 +01:00
Mike Blumenkrantz
ed7b29d50f
all comp wins now have zoomaps, zooming effect lovers rejoice
2013-04-16 13:51:50 +01:00
Mike Blumenkrantz
b0260e98cb
revert zoomap stuff from menus
2013-04-16 13:51:50 +01:00
Chris Michael
83151516e8
Add output and output_mode structures.
...
These are needed in the drm backend.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 13:47:02 +01:00
Chris Michael
3300bcc31b
Remove noisy printf.
...
Remove useless object_move call.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
f3571b98f2
Reset surfaces to be borderless.
...
NB: Uncomment this line to help debug things.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
3ef01a7ee6
Remove printf
...
Remove nasty "fullscreen" hack.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
531407985e
Add support for popup, fullscreen, move, resize of a wayland client.
...
Fix several bugs with regard to moving, resizing a wayland client.
Implement popup menu functionality.
Implement (but disable right now) fullscreen functionality
- NB: Disabled currently as I am hunting a potential e_border bug.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
2683c74166
Remove unnecessary calls to evas_object_image functions.
...
Set image scale and content hints.
Record the "mouse_down" time so we can ignore spurious mouse_up events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
7d6f31fa85
Add a reference to the Evas of the surface.
...
Use Eina_List for border hooks (as we need more than one anyway).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
20c6fb53e1
Call surface configure with proper geometry.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
a72b6d3034
Add support for transient surfaces.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
494bcf7298
Add transient fields to the shell surface structure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
94d093fe32
Add code to support popups and fullscreen :)
...
Fix some unused variables.
Be sure to destroy any ping timers on surface destroy.
End any existing popup grabs when we start a new grab.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
a719bdc39c
Add popup fields to the shell surface structure.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
d22f3f53a5
Add support to resize wayland clients.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
58df59aaf4
Add width & height to the grab structure.
...
Add edges (for resize) to the grab structure.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
98f813f176
Add support for moving surfaces.
...
Add support for fullscreen/unfullscreen.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
89782f0f4c
Add code to unset the pointer cursor image when the mouse leaves the
...
input area.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
98bc3ae1b5
Add code to update the pointer cursor image for wayland clients.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
a5e9fc6730
Set the border input object using the EAPI function.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
3ba4da16b2
Set the e_border to borderless by default for wayland clients.
...
Add function to listen for the ecore_evas resize and adjust the size
of the surface smart object.
Add support for Maximize/Unmaximize of wayland clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
57ca050f7c
Add e_border_input_object_set function.
...
Add missing function prototype declarations for mouse events.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:56:12 +01:00
Chris Michael
cdc1ce9452
Add API function for setting a border input object
...
Needed for wayland client support.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
a14d7dbe2a
Remove dead comments.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
3b2072d43d
Remove dead comment.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
b1a7691b9f
Add missing EINTERN for init and shutdown functions.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
757e477275
Add support for key up/down events from the surface and pass them
...
along to the wayland client.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:55:00 +01:00
Chris Michael
cdd71b50a2
Add key up/down events for surface and raise the callbacks when they
...
happen.
Be sure to set focus on the input object else we do not get any key
events from Evas.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
c74a796e02
Initialize keyboard before initializing comp module.
...
This is needed so that setxkbmap runs before we initialize the wayland
compositor So that wayland clients can use the proper keymap.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
ebb35638f5
Actually export comp_wl_time_get and comp_wl_input_modifiers update
...
functions as they may be needed in various shell modules.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
0fc304eae5
Handle mouse up and down events from the surface.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
58d2d77977
Add support for mouse up and down events.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
a4d26ee3a8
Add support for the e_surface smart object.
...
Add code to listen for the callbacks from e_surface and pass events
along to the wayland client.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
47b6628927
Add function to support setting e_border input area
...
Add code to handle null input areas (wrt pass_events on the image).
Add mouse movement callbacks (in, out, move).
Place the input rectangle below the image object.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
9842c268c3
Add an input object to e_border structure.
...
Only setup input object callbacks once.
Use input object for mouse_in/out detection.
NB: This is needed for wayland clients to properly function with
regard to E's border pointer focus.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:54:59 +01:00
Chris Michael
5624cee73f
Add surface smart object support to the desktop shell.
...
Add code to handle shell surface requests.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:56 +01:00
Chris Michael
1fac56a7e4
Add code to load/unload the desktop shell module.
...
Add code to handle surface attach requests.
Add code to handle surface commit requests:
- Use the surface smart object to handle input and image updates.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
8745eadb3d
Add surface smart object to E_Wayland_Surface struture.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
ab729ae557
Add surface smart object to build
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
50f4aeb942
Add code for start of surface smart object.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
9e420a288e
Add start of desktop shell code.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
4ab6cf4611
Fix desktop shell Makefile to include the wayland client cflags
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
3560f40237
Fix module_idler variable name (damn I cannot type today) :(
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
40b5b05c05
Fix up modules directory Makefile to include desktop shell.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
38c725519b
Actually declare the idler variable so things build (Oopsie).
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
6653eccd17
Add start of desktop shell code.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
550dd3c17f
Add start of wl_desktop_shell module code.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
45b13b243f
Add Makefile for wl_desktop_shell module.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:47:55 +01:00
Chris Michael
e5202dc89f
Add an idler to defer shell module loading.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
65fb88c773
Add code to create, destroy, and otherwise handle the wayland region
...
interface and wayland surface interface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
31f6268fd4
Add function prototypes for surface_destroy and region_destroy.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00
Chris Michael
deec13f2ce
Add code to support initialize, setup and destruction of wayland
...
inputs (pointer, keyboard, touch).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-04-16 12:46:25 +01:00