Chris Michael
337979599c
Remove dead wl_shell module. Was replaced by wl_desktop_shell.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-25 08:19:59 +01:00
Mike Blumenkrantz
6a7e9e7d8c
placeholder commit because I screwed up a rebase somehow: previous two commits were to revert 09b4dfb940
and f55e5e86cf
which were reported to have broken some things for users
2013-07-24 07:09:12 +01:00
Mike Blumenkrantz
1cff963a02
asdf
2013-07-24 07:05:41 +01:00
Mike Blumenkrantz
4c97969056
asdf
2013-07-24 07:05:24 +01:00
Chris Michael
c242478bfa
Update Makefile.am for wl_screenshot module
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:30:49 +01:00
Chris Michael
7d65a7edcc
Update wayland screenshot module code and make it functional again.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:30:09 +01:00
Chris Michael
9e64360c2c
Update screenshot protocol files for addition of done event
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:29:16 +01:00
Chris Michael
81cd2eedf1
Add wl_screenshot module makefile
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:28:02 +01:00
Chris Michael
99d3fbd17a
Add wl_screenshot module desktop file
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 14:27:52 +01:00
Chris Michael
c2ff135803
Update screenshot protocol for done event.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-23 13:01:45 +01:00
Carsten Haitzler
d60279b977
zoomap always on popups - i enabled this before.
...
shelves are almost always around. that means that unless you magically
can do partial rendering, comp updates re-render shelf AND all
contents. for systems this means much mofre gl overhead thatn with
e17. to do a mid-way house, force zoomaps on for shelves, until evas
can auto stuff smart objects into buffers on its own based on behavior.
2013-07-19 09:31:55 +09:00
Chris Michael
2b6a8ecf24
Update wayland-client support for recent Wayland api changes (replace
...
wl_display_add_global with wl_global_create, and fix wl_client calls
to create resources with wl_resource).
NB: This brings client support up to par with version 1.2 of Wayland
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-15 13:42:46 +01:00
Chris Michael
8e72f22d5d
struct wl_buffer is deprecated now so just use a void pointer.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-15 13:42:46 +01:00
Carsten Haitzler
3dc555a7cf
fix warnings in build so new ones turn up and get fixed.
2013-07-15 11:45:19 +09:00
Carsten Haitzler
02a71ca145
store startup id in exehist as e restart was not self-exec as of e17
2013-07-15 11:25:14 +09:00
Carsten Haitzler
ba7bc6dba2
fix mounted fs used/free/reserved display to work again...
2013-07-14 18:04:27 +09:00
Iván Briano
39ea5b4e3d
Look for edje_cc in the right place when importing wallpapers
...
Some of us do funky things like not having a proper PATH set when E
starts, so let's not rely on such black magics when we have better methods.
2013-07-12 15:14:48 -03:00
Mike Blumenkrantz
09b4dfb940
revert last, useless commit; what I really meant was to remove the unnecessary evas image calls
2013-07-12 13:59:24 +01:00
Mike Blumenkrantz
f55e5e86cf
minor comp optimization: reduce frequency of ecore-x calls when updating pixmaps for non-gl surfaces
2013-07-12 12:52:40 +01:00
Mike Blumenkrantz
fc9e67d137
return correct layer value when getting comp layer for border objects
2013-07-10 16:04:01 +01:00
Mike Blumenkrantz
31c3d13d57
get window geometry for overrides during shape update, not pixmap geometry
2013-07-09 11:50:48 +01:00
Chris Michael
607f5914ff
Remove duplicate call to layer_set.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-09 11:43:29 +01:00
Chris Michael
8833073b41
Update e_comp_wl with recent wayland changes
...
- wl_client functions have been deprecated. replaced with wl_resource
functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-09 10:28:30 +01:00
Chris Michael
ce0b069b51
Update wl_desktop_shell for recent wayland changes
...
- wl_client functions have been deprecated. replaced with wl_resource
functions
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-09 10:28:30 +01:00
Mike Blumenkrantz
a67d211e09
don't resize manager when manager has same size as set size
2013-07-09 09:34:13 +01:00
Mike Blumenkrantz
e0b38fdce5
move and resize container when moving and resizing container
2013-07-09 09:34:13 +01:00
maxerba
b7ba1dea64
Adding serbian localization in desktop files
2013-07-08 13:33:29 +02:00
Carsten Haitzler
cacfb9c397
make grab during draw default in e18 comp.
2013-07-06 15:10:18 +09:00
maxerba
26303bbe1f
Fixed sorting in desktop files
2013-07-05 19:02:53 +02:00
Mike Blumenkrantz
3b8aaabb9b
comp-ignore modal lock windows, set icccm name/class on them
2013-07-04 08:13:31 +01:00
Mike Blumenkrantz
41448890cc
aaand fix border mouse actions for non modal dialog parents
2013-07-03 10:02:34 +01:00
Mike Blumenkrantz
a36fde91f6
fix border mouse actions on modal dialog parents
2013-07-03 09:55:37 +01:00
Mike Blumenkrantz
f412b88216
add modal lock window to border hash and enable finding by lock window
2013-07-03 09:55:37 +01:00
Mike Blumenkrantz
3a89244cd8
bugfix: focus setting on modal dialogs which are not ECORE_X_WINDOW_TYPE_DIALOG
2013-07-03 09:55:37 +01:00
Chris Michael
237e5f6f51
Do not need desktop_shell_cb_bind anymore.
...
Assign the shell to the shell_surface on creation (for future
dereference)
Make grab/move/resize work again for wayland-clients
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-03 08:57:12 +01:00
Chris Michael
96d778323d
Remove _find_resource_for_client function and use
...
wl_resource_find_for_client.
More fixups for wl_resource functions (_get_client, set_destructor, etc)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-03 08:57:12 +01:00
Chris Michael
e708097c85
Add a reference to the shell for shell_surface
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-03 08:57:12 +01:00
Chris Michael
71924eb5d1
More conversions to wl_resource_get_user_data
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-03 08:57:12 +01:00
maxerba
968d4d2206
updating desktop files translations
2013-07-02 17:39:54 +02:00
Chris Michael
7eb58780f3
Use wl_resource_get_user_data to get the currently focused surface.
...
Destroy surface ping_timer when surface is destroyed.
Use wl_resource_get_client for client comparison
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 13:57:07 +01:00
Chris Michael
74a7a4ef91
Check for valid pointer focus resource.
...
Use wl_resource_get_user_data to get the focused surface.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 13:57:07 +01:00
Mike Blumenkrantz
736a4ebf57
add simple test app for modal window race conditions
2013-07-02 10:20:57 +01:00
Mike Blumenkrantz
39678e3136
fix comp border initial stacking
2013-07-02 10:08:24 +01:00
Mike Blumenkrantz
a463688c5e
fix comp win layout stacking and remove unnecessary inlist ops
2013-07-02 10:08:24 +01:00
Mike Blumenkrantz
dbc1a2c92a
fix guaranteed crash from typo in e_border_lower_below
2013-07-02 10:08:24 +01:00
Mike Blumenkrantz
ca7b5169ff
don't raise a border during layer set if it has a modal on the same or lower layer
2013-07-02 10:08:23 +01:00
Mike Blumenkrantz
8e0fd0bf4b
if the warping border gets a modal window during the warp, do nothing after the warp
2013-07-02 10:08:23 +01:00
Chris Michael
91301b4d23
Don't try to bind desktop_shell inside of shell_bind (separate bind
...
for desktop_shell).
Use wl_resource_set_destructor.
When shell gets unbound, don't "free" the resource (handled internally
via wayland).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:32:36 +01:00
Chris Michael
31696533eb
Fix pointer_focus of wayland-clients to not crash.
...
Use wl_resource_get_user_data where needed.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-02 09:13:08 +01:00
Mike Blumenkrantz
46babfef1a
hide ibar menu when last instance window is closed
2013-07-02 08:34:44 +01:00
Mike Blumenkrantz
c8c21fcc0f
apply screen limit policy to border configure requests
2013-07-02 08:34:25 +01:00
Mike Blumenkrantz
ee8a628ff5
fix modality of edge binding grab window
2013-07-02 08:22:51 +01:00
Mike Blumenkrantz
2f998593e1
fix pager window visibility during drag
2013-07-02 07:59:00 +01:00
Carsten Haitzler
934e02b320
font previews in efm - in thumbnails and in efm preview
2013-07-02 14:24:16 +09:00
Mike Blumenkrantz
0782545137
fix teamwork build without emotion
2013-07-01 07:59:04 +01:00
Chris Michael
2047bac4b0
Fix klockwork issue: NULL pointer may be dereferenced:
...
Don't call e_comp_win_effect_set unless we have a valid pager window
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 14:45:36 +01:00
Chris Michael
0537494ba7
Fix issue of incorrect x/y position being displayed on a monitor after
...
snapping.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 11:03:26 +01:00
Chris Michael
de80a48fc3
When we unbind the data device or input device, we do not need to call
...
free().
Free the allocated strings after creating the keymap (leak--).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 07:57:34 +01:00
Chris Michael
77e6d1c8e1
Update unbind of the data device to use wl_resource_get_link.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-28 06:50:26 +01:00
Chris Michael
bd3281c248
Revert "leak--: Store xkb_rule_names into Input structure so we can free the strings"
...
This reverts commit 87c1798281
.
NB: This actually causes a nasty crash on E shutdown, so I need to
come up with another solution.
2013-06-28 06:49:09 +01:00
Mike Blumenkrantz
181f11a03a
fix override window shape input cutting
...
this is currently GUARANTEED to break with override shaped windows, which means that if such a window is ever opened, it will NEVER receive input unless it is placed over another client window. this is due to a limitation in evas where it is impossible to (de)select input regions which forced me to choose between either having shaped override windows (such as desktop recorders) block all mouse input to the screen OR have normal override windows (gtk menus and popups...) not able to generate their own input shape at all
2013-06-27 14:39:40 +01:00
Chris Michael
87c1798281
leak--: Store xkb_rule_names into Input structure so we can free the strings
...
on shutdown or keymap change.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 11:37:51 +01:00
Chris Michael
fa9104b305
bugfix T86: If an output does not have a crtc, find a possible one. If
...
it has no mode set yet, then we try to get the preferred mode. If that
fails we will try the crtc size, if That fails we will fallback to a
safe 640x480. When getting preferred size, if the output does not
specifiy a preferred mode (but does list availabe modes), then we will
assume the largest size.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 10:57:36 +01:00
Chris Michael
b4f277a4a6
When we free outputs, set the variable to NULL.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 10:57:22 +01:00
Chris Michael
bba201a892
If a monitor is disabled by the user, then we need to set number of
...
outputs to zero, and free any allocated outputs before trying to apply
settings.
Also, check for valid mode (not 0) before trying to fetch mode_info.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-27 07:39:23 +01:00
Chris Michael
9080e82ec4
Update wl_desktop_shell module for recent Wayland changes.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 09:23:13 +01:00
Chris Michael
ee05616f33
Update wayland client support in the E compositor to work with recent
...
Wayland changes.
NB: Although the code does compile and clients do run, I RECOMMEND
that you do not use this feature right now. There is a current bug in
Wayland that is causing crashes when you close clients.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-26 09:23:13 +01:00
Mike Blumenkrantz
a6245c5c4a
check ignore flags on effect_obj when cutting comp shapes
2013-06-25 09:19:04 +01:00
Mike Blumenkrantz
ff3b3c7309
call _e_border_action_finish when hiding/deleting the action_border
2013-06-25 09:19:04 +01:00
Mike Blumenkrantz
2841e44f48
move static variable decls to top of e_border
2013-06-25 09:19:04 +01:00
Mike Blumenkrantz
2b3a8d884a
add proto for _e_border_action_finish
2013-06-25 09:19:04 +01:00
Mike Blumenkrantz
37ff81ef2b
set ignore events on move/resize info popups
2013-06-25 09:19:00 +01:00
Mike Blumenkrantz
3a7a769edc
improve BD_CHANGED macro to abort in debug mode
2013-06-25 09:00:27 +01:00
Mike Blumenkrantz
18a585df48
fix border show/hide events for new clients to not occur before border add event
2013-06-24 13:13:09 +01:00
Mike Blumenkrantz
0dd2efa30f
ensure randr dialog clears its pointer stack
2013-06-24 10:56:21 +01:00
Mike Blumenkrantz
9cb17f6c8f
correctly pop pointer stack when deleting entry widgets
2013-06-24 10:52:51 +01:00
Mike Blumenkrantz
219b7c62fe
don't set real_hid when creating comp wins for borders
...
initial border pixmaps are now available for windows on other desktops immediately after startup, which should:
* improve initial redraw on first desk flip
* make comp mirrors available immediately for non-current desk windows
** fixes ibar menu instances
** fixes deskmirror redraws
2013-06-24 10:08:05 +01:00
Mike Blumenkrantz
32999cfe08
block comp show events for comp wins with borders -- these get handled by the border show event
2013-06-24 10:07:30 +01:00
Mike Blumenkrantz
30b83c7820
always show ecore-x windows for new clients after reparent
2013-06-24 10:07:12 +01:00
Mike Blumenkrantz
26f61cb50a
block border comp geometry updates when pixmap has not been fetched
2013-06-24 09:35:34 +01:00
Mike Blumenkrantz
06e4663e7c
pop all pointers when deleting a border
2013-06-24 08:56:17 +01:00
Mike Blumenkrantz
0f432b0600
use current border's action->func.end() if it exists when border is deleted to correctly terminate moves/resizes
2013-06-24 08:55:35 +01:00
Mike Blumenkrantz
a720865946
don't unset resize pointer value before cancelling border resize
2013-06-24 08:54:51 +01:00
Mike Blumenkrantz
a58ae572a4
move all pointer resets for borders to the move/resize end functions
2013-06-24 08:54:22 +01:00
Mike Blumenkrantz
c22393189b
avoid setting changed on deleted borders when trying to refresh comp pixmap
2013-06-24 08:50:48 +01:00
Mike Blumenkrantz
f92b638061
fix path setting when opening fileman windows from "No listable items"
2013-06-24 05:59:59 +01:00
Mike Blumenkrantz
445ae27fad
fix ibar task appearance when dragging off the bar
2013-06-24 05:40:03 +01:00
Mike Blumenkrantz
57549acc75
activating ibar tasks always pops the window menu
2013-06-24 05:40:03 +01:00
Carsten Haitzler
d134b93aff
save backlight level as normal backlight when adjusting it with backlight gadget and bindings.
2013-06-22 13:47:34 +09:00
Carsten Haitzler
34e56d3aac
warning--
2013-06-22 13:34:16 +09:00
Mike Blumenkrantz
216b8932da
fix teamwork coord calcs to account for client border inset
2013-06-21 15:01:14 +01:00
Mike Blumenkrantz
e251e4a8a6
prevent deletion of E_Exec instances from launchers
...
if a border appears which has a pid that does not match the pid of the e_exec instance which is found for it, prevent the exec deletion until the border is deleted so that we can track it
this fixes ibar tracking of efm windows
2013-06-21 14:37:46 +01:00
Mike Blumenkrantz
9721885ce4
if an e_exec instance gets an exit event, but is a phony exec, block the event
2013-06-21 14:37:46 +01:00
Mike Blumenkrantz
998835bca0
set startup_id in phony e_execs
2013-06-21 14:37:46 +01:00
Sebastian Dransfeld
97dd1d7486
e: No need to check MINOR twice
2013-06-21 12:48:10 +02:00
Mike Blumenkrantz
c507b36abf
outdent small block in menu idler
2013-06-21 10:28:22 +01:00
Mike Blumenkrantz
bc338ab390
fix menu crash when trying to show a menu that isn't ready to be shown
2013-06-21 10:27:18 +01:00
Mike Blumenkrantz
3989e54e21
app menu parsing is now async with efreet 1.8
2013-06-21 10:02:25 +01:00
Mike Blumenkrantz
48e7d59eac
only call eldbus_shutdown() for udisks efm backends if there's an existing eldbus connection
2013-06-21 09:02:37 +01:00
Sebastian Dransfeld
7971c68634
e: Remove unneeded variable
2013-06-21 09:30:08 +02:00