Derek Foreman
e4da5ba56a
Auto generate wayland protocol
...
Replaces any checked-in wayland protocol files with auto-generation.
In some cases this means renaming include files that didn't use "standard"
names, or adding missing xml files. Any source edits are simple search and
replace, there should be no functional changes.
2016-09-26 15:23:50 -05:00
Mike Blumenkrantz
edba13322a
disable bindings during wayland screenshot operations
...
recursive action activation is very bad.
2016-01-22 16:31:07 -05:00
Mike Blumenkrantz
446f9c4b68
defer screenshot action execution using a job
...
the drm screenshot action forcefully iterates the main loop, causing
the current loop (which triggered the action) to return after the screenshot
action has ended. during this time, it's possible for other actions to also
trigger, including triggering subsequent screenshot actions, so it's necessary
to defer the execution of the action until after the initial loop which triggered
the action has returned
#Recursion
2016-01-22 16:25:32 -05:00
Mike Blumenkrantz
f005ac9bff
create wl client connection during compositor init, use in shot module
...
fixes shot module
ref T2919
2015-12-09 13:16:48 -05:00
Chris Michael
74cd89636b
Don't leak eina_iterator in shot module
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-09 13:16:48 -05:00
Chris Michael
9e8d0cc426
Port shot module to use ecore_wl2 library
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-12-09 13:16:48 -05:00
Mike Blumenkrantz
81ea29a715
fix shot module compile without x11 support
2015-09-22 13:54:28 -04:00
Mike Blumenkrantz
3f13b6889d
replace existing usage of x/wl_comp_data with corresponding globals
2015-08-13 16:05:57 -04:00
Mike Blumenkrantz
83f49bf44c
redo wayland shot init to account for async+slow global loading
...
previously it was possible for the shot module to init in a wayland
compositor and fail to grab the necessary globals, resulting in black
rects for all shots
2015-08-12 20:19:18 -04:00
Derek Foreman
aae280bfcd
shot: Skip the wayland setup bits when running under X
...
fix T2592
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2851
2015-07-21 12:23:55 -04:00
Mike Blumenkrantz
62792ce662
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
2015-07-17 15:30:30 -04:00
Derek Foreman
41cb2fa161
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
2015-07-15 18:09:15 -04:00
Chris Michael
cc5aa9153d
shot: Enable feature of taking just window shots in wayland
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-09 12:37:42 -04:00
Mike Blumenkrantz
54c6d7094e
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
2015-07-08 17:12:42 -04:00
Chris Michael
921b882e9d
shot: Disable window shots in wayland for now
...
NB: Feature still being developed
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-08 15:41:23 -04:00
Chris Michael
3d90de80b7
shot: Update with proper compositor checking tests
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-08 15:22:08 -04:00
Chris Michael
f2e49b686e
shot: Update shot module to now be able to take Wayland screenshots
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-08 15:14:56 -04:00
Chris Michael
0160c99103
shot: Add screenshooter client protocol files
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-08 15:08:35 -04:00
Mike Blumenkrantz
27f87a6ac8
fix wayland-only build
2015-07-08 14:53:55 -04:00
Chris Michael
72eacf7e6e
shot: Fix formatting for 80 columns
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-07 08:56:46 -04:00
Chris Michael
0a94e8ba71
enlightenment: Make E build again with EFL from git
...
sed -i 's/EAPI/E_API/g'
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz
5ae00e6525
redo drop handlers to take an E_Object and Evas_Object
...
temp change to fix crashing when closing fwins with ctrl+w
2015-04-27 15:39:43 -04:00
Carsten Haitzler
23b5392dbe
shot - only access e client if not null
2015-04-15 10:02:12 +09:00
Mike Blumenkrantz
ab9d2723a5
only set shot window layer if taking window shot
...
fix T2282
2015-04-13 15:47:23 -04:00
Bertrand Jacquin
d1714ab45a
MEDIUM: modules/shot: switch to https://
...
This is needed since www.enlightenment.org is now using https:// only due to
login forms
2015-04-11 23:56:20 +01:00
Mike Blumenkrantz
276706ab9d
match client dialogs to client's layer
...
a small annoyance for literally over a decade has been that window
dialogs would sometimes start behind their owners. now they don't.
2015-04-09 14:40:41 -04:00
Mike Blumenkrantz
58447e9508
completely remove E_Manager
...
the final step in flattening all the canvas/screen apis
2015-03-19 16:53:32 -04:00
Mike Blumenkrantz
471dcb24cb
__UNUSED__ -> EINA_UNUSED
...
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz
ef7f313de6
remove E_Comp usage from shot
2015-03-18 17:34:31 -04:00
Mike Blumenkrantz
09ec213a31
remove e_util_zone_current_get() usage
2015-03-13 17:58:45 -04:00
Mike Blumenkrantz
ba7c1ac49c
remove E_Zone->comp member
2015-03-13 17:44:24 -04:00
Mike Blumenkrantz
34d906fa42
e_zone functions no longer require E_Comp param
2015-03-13 17:28:49 -04:00
Mike Blumenkrantz
ed897a231e
de-e_comp_get()ify e
...
mrw I remember how to regex http://i.giphy.com/dC9dujPVeAfIY.gif
2015-03-13 15:12:20 -04:00
Carsten Haitzler
2d9cc918ff
shot module - dont allow another instance and keep the current one
...
this avoids a segv
2015-01-15 19:44:52 +09:00
Mike Blumenkrantz
2543821886
convert shot dialog to elm_layout
2015-01-15 03:05:20 -05:00
Mike Blumenkrantz
c978a045e6
e_entry -> elm_entry conversion
...
another dice roll in the board game of enlightenment development. next, I will attempt to roll doubles to get out of jail.
#teamborker
fix T1906
2015-01-11 12:20:46 -05:00
Carsten Haitzler
6510e8bd0e
Revert "all dialogs are now resizable"
...
This reverts commit 9157ca8ca7
.
this also makes all dialogs that have content in a toolbar that goes
off window at min size resizable - this is actually what you wanted ..
bgut this previous "all dialogs are resizable" thing was uber-lazy.
Conflicts:
src/modules/bluez4/e_mod_main.c
src/modules/conf_bindings/e_int_config_signalbindings.c
src/modules/conf_theme/e_int_config_theme.c
src/modules/mixer/conf_gadget.c
src/modules/shot/e_mod_main.c
2014-12-22 23:02:05 +09:00
Carsten Haitzler
87baecb098
Revert "windows - allow close button to work again in internal wins"
...
This reverts commit 285951c8cb
.
2014-11-23 13:54:14 +09:00
Carsten Haitzler
285951c8cb
windows - allow close button to work again in internal wins
...
since the move to elm_win ... windows don't close with close button in
the titlebar. this fixes that in the simplest way - enabling autodel
on the window.
2014-11-22 18:46:10 +09:00
Mike Blumenkrantz
99589eb5af
remove E_Win+e_canvas, convert all internal wins to use elm_win
...
known issues:
* keybindings for efm windows (eg. ctrl+w) are broken until the rest of the conversion is completed
2014-11-20 15:26:21 -05:00
maxerba
fac4e89dfa
Updating desktop files, eo.po and fr.po
2014-09-11 21:14:58 +02:00
Carsten Haitzler
784813ad4d
whitespace/formatting cleanups in shot module
2014-07-01 19:51:04 +09:00
Cedric BAIL
3f9af38da2
edje: remove use of deprecated functions.
2014-06-07 21:10:55 +02:00
Gwanglim Lee
af14a444c1
fix warnings
...
Summary: fix compilation warnings
Test Plan: N/A
Reviewers: zmike
CC: cedric
Differential Revision: https://phab.enlightenment.org/D922
2014-06-02 07:25:10 -04:00
maxerba
9f19d5a676
Updating translations
2014-05-19 22:04:38 +02:00
Mike Blumenkrantz
9157ca8ca7
all dialogs are now resizable
...
any bug reports regarding issues resulting this will be ignored.
2014-05-14 13:00:35 -04:00
Daniel Kolesa
130d099c87
FreeBSD support for helpful error message in screenshot
2014-05-09 16:58:03 +01:00
Mike Blumenkrantz
1ac25835db
screenshot now displays a helpful error message when it fails
...
now that larger xinerama setups are getting more common, it's also the case that shm creation is more likely to fail due to SHMMAX defaults only working on displays smaller than than 8,388,609 total pixels. in this case, we print a helpful error message so the user can (optionally) increase SHMMAX
2014-05-09 10:46:30 -04:00
Mike Blumenkrantz
4b58fa9a4e
replace ev->keyname with ev->key
...
see efl 5ae4cfd1923e502731f4d8fc2bf67b1f536a9216
2014-03-13 13:03:34 -04:00
Mike Blumenkrantz
457a385fa7
clamp screen sizes to 1 to avoid impossible division-by-zero for window shots
...
CID 1040148
2014-03-13 12:50:56 -04:00