Mike Blumenkrantz [Wed, 3 Jul 2013 09:02:34 +0000 (10:02 +0100)]
aaand fix border mouse actions for non modal dialog parents
Mike Blumenkrantz [Wed, 3 Jul 2013 08:54:55 +0000 (09:54 +0100)]
fix border mouse actions on modal dialog parents
Mike Blumenkrantz [Wed, 3 Jul 2013 08:54:12 +0000 (09:54 +0100)]
add modal lock window to border hash and enable finding by lock window
Mike Blumenkrantz [Wed, 3 Jul 2013 08:45:46 +0000 (09:45 +0100)]
bugfix: focus setting on modal dialogs which are not ECORE_X_WINDOW_TYPE_DIALOG
Chris Michael [Wed, 3 Jul 2013 07:55:47 +0000 (08:55 +0100)]
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>
Chris Michael [Wed, 3 Jul 2013 07:53:26 +0000 (08:53 +0100)]
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>
Chris Michael [Wed, 3 Jul 2013 07:53:04 +0000 (08:53 +0100)]
Add a reference to the shell for shell_surface
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 3 Jul 2013 06:06:48 +0000 (07:06 +0100)]
More conversions to wl_resource_get_user_data
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Carsten Haitzler (Rasterman) [Wed, 3 Jul 2013 06:38:42 +0000 (15:38 +0900)]
fix button focus glow to not be a few pixels off and look screwed.
Carsten Haitzler (Rasterman) [Wed, 3 Jul 2013 06:27:12 +0000 (15:27 +0900)]
use button_text class so font is correct in navbar for efm.
Carsten Haitzler (Rasterman) [Wed, 3 Jul 2013 06:23:52 +0000 (15:23 +0900)]
make e17 ibar separator an inset bevel so it fits in more
maxerba [Tue, 2 Jul 2013 17:31:06 +0000 (19:31 +0200)]
updating various translations
maxerba [Tue, 2 Jul 2013 15:39:36 +0000 (17:39 +0200)]
updating desktop files translations
Chris Michael [Tue, 2 Jul 2013 12:55:57 +0000 (13:55 +0100)]
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>
Chris Michael [Tue, 2 Jul 2013 12:55:26 +0000 (13:55 +0100)]
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>
Mike Blumenkrantz [Tue, 2 Jul 2013 09:20:57 +0000 (10:20 +0100)]
add simple test app for modal window race conditions
Mike Blumenkrantz [Tue, 2 Jul 2013 09:08:06 +0000 (10:08 +0100)]
fix comp border initial stacking
Mike Blumenkrantz [Tue, 2 Jul 2013 09:03:06 +0000 (10:03 +0100)]
fix comp win layout stacking and remove unnecessary inlist ops
Mike Blumenkrantz [Tue, 2 Jul 2013 09:02:27 +0000 (10:02 +0100)]
fix guaranteed crash from typo in e_border_lower_below
Mike Blumenkrantz [Tue, 2 Jul 2013 08:11:27 +0000 (09:11 +0100)]
don't raise a border during layer set if it has a modal on the same or lower layer
Mike Blumenkrantz [Tue, 2 Jul 2013 08:03:02 +0000 (09:03 +0100)]
if the warping border gets a modal window during the warp, do nothing after the warp
Chris Michael [Tue, 2 Jul 2013 08:32:36 +0000 (09:32 +0100)]
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>
Chris Michael [Tue, 2 Jul 2013 08:12:36 +0000 (09:12 +0100)]
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>
Mike Blumenkrantz [Tue, 2 Jul 2013 07:34:44 +0000 (08:34 +0100)]
hide ibar menu when last instance window is closed
Mike Blumenkrantz [Tue, 2 Jul 2013 07:34:25 +0000 (08:34 +0100)]
apply screen limit policy to border configure requests
Mike Blumenkrantz [Tue, 2 Jul 2013 07:22:38 +0000 (08:22 +0100)]
fix modality of edge binding grab window
Mike Blumenkrantz [Tue, 2 Jul 2013 06:59:00 +0000 (07:59 +0100)]
fix pager window visibility during drag
Carsten Haitzler (Rasterman) [Tue, 2 Jul 2013 05:01:49 +0000 (14:01 +0900)]
font previews in efm - in thumbnails and in efm preview
Mike Blumenkrantz [Mon, 1 Jul 2013 06:58:47 +0000 (07:58 +0100)]
fix teamwork build without emotion
Chris Michael [Fri, 28 Jun 2013 13:44:25 +0000 (14:44 +0100)]
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>
Igor Murzov [Fri, 28 Jun 2013 10:55:43 +0000 (14:55 +0400)]
Unignore some .desktop files
Carsten Haitzler (Rasterman) [Fri, 28 Jun 2013 10:19:37 +0000 (19:19 +0900)]
update po's
Igor Murzov [Sun, 23 Jun 2013 09:36:07 +0000 (13:36 +0400)]
Add serbian translation of desktop files.
Found these uncommited files while cleaning up my temporary files :/
Chris Michael [Fri, 28 Jun 2013 10:03:26 +0000 (11:03 +0100)]
Fix issue of incorrect x/y position being displayed on a monitor after
snapping.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 28 Jun 2013 06:57:34 +0000 (07:57 +0100)]
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>
Chris Michael [Fri, 28 Jun 2013 05:50:26 +0000 (06:50 +0100)]
Update unbind of the data device to use wl_resource_get_link.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Fri, 28 Jun 2013 05:49:09 +0000 (06:49 +0100)]
Revert "leak--: Store xkb_rule_names into Input structure so we can free the strings"
This reverts commit
87c179828117414897d99a2c5308114679420935.
NB: This actually causes a nasty crash on E shutdown, so I need to
come up with another solution.
Mike Blumenkrantz [Thu, 27 Jun 2013 13:39:40 +0000 (14:39 +0100)]
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
Chris Michael [Thu, 27 Jun 2013 10:37:51 +0000 (11:37 +0100)]
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>
Chris Michael [Thu, 27 Jun 2013 09:57:36 +0000 (10:57 +0100)]
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>
Chris Michael [Thu, 27 Jun 2013 09:57:22 +0000 (10:57 +0100)]
When we free outputs, set the variable to NULL.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Thu, 27 Jun 2013 06:39:23 +0000 (07:39 +0100)]
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>
Chris Michael [Wed, 26 Jun 2013 08:22:38 +0000 (09:22 +0100)]
Update wl_desktop_shell module for recent Wayland changes.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Chris Michael [Wed, 26 Jun 2013 08:21:29 +0000 (09:21 +0100)]
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>
Mike Blumenkrantz [Tue, 25 Jun 2013 08:18:29 +0000 (09:18 +0100)]
check ignore flags on effect_obj when cutting comp shapes
Mike Blumenkrantz [Tue, 25 Jun 2013 08:12:32 +0000 (09:12 +0100)]
call _e_border_action_finish when hiding/deleting the action_border
Mike Blumenkrantz [Tue, 25 Jun 2013 08:12:15 +0000 (09:12 +0100)]
move static variable decls to top of e_border
Mike Blumenkrantz [Tue, 25 Jun 2013 08:11:59 +0000 (09:11 +0100)]
add proto for _e_border_action_finish
Mike Blumenkrantz [Tue, 25 Jun 2013 08:08:03 +0000 (09:08 +0100)]
set ignore events on move/resize info popups
Mike Blumenkrantz [Tue, 25 Jun 2013 07:59:44 +0000 (08:59 +0100)]
improve BD_CHANGED macro to abort in debug mode
Mike Blumenkrantz [Mon, 24 Jun 2013 12:11:00 +0000 (13:11 +0100)]
fix border show/hide events for new clients to not occur before border add event
Mike Blumenkrantz [Mon, 24 Jun 2013 09:56:21 +0000 (10:56 +0100)]
ensure randr dialog clears its pointer stack
Mike Blumenkrantz [Mon, 24 Jun 2013 09:52:51 +0000 (10:52 +0100)]
correctly pop pointer stack when deleting entry widgets
Mike Blumenkrantz [Mon, 24 Jun 2013 09:08:05 +0000 (10:08 +0100)]
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
Mike Blumenkrantz [Mon, 24 Jun 2013 09:07:30 +0000 (10:07 +0100)]
block comp show events for comp wins with borders -- these get handled by the border show event
Mike Blumenkrantz [Mon, 24 Jun 2013 09:07:12 +0000 (10:07 +0100)]
always show ecore-x windows for new clients after reparent
Mike Blumenkrantz [Mon, 24 Jun 2013 08:35:34 +0000 (09:35 +0100)]
block border comp geometry updates when pixmap has not been fetched
Mike Blumenkrantz [Mon, 24 Jun 2013 07:56:17 +0000 (08:56 +0100)]
pop all pointers when deleting a border
Mike Blumenkrantz [Mon, 24 Jun 2013 07:55:35 +0000 (08:55 +0100)]
use current border's action->func.end() if it exists when border is deleted to correctly terminate moves/resizes
Mike Blumenkrantz [Mon, 24 Jun 2013 07:54:51 +0000 (08:54 +0100)]
don't unset resize pointer value before cancelling border resize
Mike Blumenkrantz [Mon, 24 Jun 2013 07:54:22 +0000 (08:54 +0100)]
move all pointer resets for borders to the move/resize end functions
Mike Blumenkrantz [Mon, 24 Jun 2013 07:50:48 +0000 (08:50 +0100)]
avoid setting changed on deleted borders when trying to refresh comp pixmap
Mike Blumenkrantz [Mon, 24 Jun 2013 04:59:59 +0000 (05:59 +0100)]
fix path setting when opening fileman windows from "No listable items"
Mike Blumenkrantz [Mon, 24 Jun 2013 04:39:39 +0000 (05:39 +0100)]
fix ibar task appearance when dragging off the bar
Mike Blumenkrantz [Mon, 24 Jun 2013 04:26:18 +0000 (05:26 +0100)]
activating ibar tasks always pops the window menu
maxerba [Sun, 23 Jun 2013 20:15:18 +0000 (22:15 +0200)]
updating italian translation
Chris [Sun, 23 Jun 2013 12:09:55 +0000 (13:09 +0100)]
Define HAVE_MUSIC_CONTROL to false by default.
NB: Fixes an error that HAVE_MUSIC_CONTROL was never defined if you
pass --disable-music-control to configure
Signed-off-by: Chris <devilhorns@comcast.net>
Carsten Haitzler (Rasterman) [Sat, 22 Jun 2013 04:47:34 +0000 (13:47 +0900)]
save backlight level as normal backlight when adjusting it with backlight gadget and bindings.
Carsten Haitzler (Rasterman) [Sat, 22 Jun 2013 04:34:16 +0000 (13:34 +0900)]
warning--
Doug Newgard [Sat, 22 Jun 2013 04:21:35 +0000 (13:21 +0900)]
fix png's with icc profile oddness
I'm sure some of you have seen the warnings generated by libpng 1.6:
"known incorrect sRGB profile". Now, this is no big deal, it's just a
warning, but I still wanted to look into it further. By my count,
there are 800 png files in Enlightenment, of which only 6 have
embedded iCC profiles, all from HP. The rest are sRGB colorspace, but
do not include a profile. There are some good arguments for this
(http://imageoptim.com/color-profiles.html http://www.gballard.net/psd/save_for_web_embed_ICC_profile.html)
and since this seems to be the default, I've attached the 6 files with
the profiles stripped out. As you can see, it doesn't change the image
or the colorspace, it just leaves the calibration up to the end user's
system.
I haven't been able to find just what's wrong with the HP iCC profile
being used that the authors of libpng don't like, but it makes sense
to standardize the way profiles are handled anyway. And it has the
nice side effect of silencing warnings, even if the Debian/Ubuntu
users aren't likely to see them for a couple of years.
I can just change the iCC profile instead if you would prefer. I've
seen multiple people recommend the Argyll sRGB profile, which is still
"sRGB IEC61966-2.1" and is public domain.
Mike Blumenkrantz [Fri, 21 Jun 2013 14:01:14 +0000 (15:01 +0100)]
fix teamwork coord calcs to account for client border inset
Mike Blumenkrantz [Fri, 21 Jun 2013 13:35:37 +0000 (14:35 +0100)]
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
Mike Blumenkrantz [Fri, 21 Jun 2013 13:35:17 +0000 (14:35 +0100)]
if an e_exec instance gets an exit event, but is a phony exec, block the event
Mike Blumenkrantz [Fri, 21 Jun 2013 11:06:42 +0000 (12:06 +0100)]
set startup_id in phony e_execs
Sebastian Dransfeld [Fri, 21 Jun 2013 10:48:10 +0000 (12:48 +0200)]
e: No need to check MINOR twice
Mike Blumenkrantz [Fri, 21 Jun 2013 09:28:22 +0000 (10:28 +0100)]
outdent small block in menu idler
Mike Blumenkrantz [Fri, 21 Jun 2013 09:27:18 +0000 (10:27 +0100)]
fix menu crash when trying to show a menu that isn't ready to be shown
Mike Blumenkrantz [Fri, 21 Jun 2013 08:54:05 +0000 (09:54 +0100)]
app menu parsing is now async with efreet 1.8
Mike Blumenkrantz [Fri, 21 Jun 2013 08:02:37 +0000 (09:02 +0100)]
only call eldbus_shutdown() for udisks efm backends if there's an existing eldbus connection
Sebastian Dransfeld [Fri, 21 Jun 2013 07:29:37 +0000 (09:29 +0200)]
e: Remove unneeded variable
maxerba [Thu, 20 Jun 2013 19:12:49 +0000 (21:12 +0200)]
updating esperanto translation
Mike Blumenkrantz [Thu, 20 Jun 2013 15:36:33 +0000 (16:36 +0100)]
udisks2 support
Sebastian Dransfeld [Thu, 20 Jun 2013 11:29:37 +0000 (13:29 +0200)]
e: Create a temp XDG_RUNTIME_DIR if not set
Using /tmp as XDG_RUNTIME_DIR is pointless if we want it to be mode 0700
Mike Blumenkrantz [Wed, 19 Jun 2013 11:07:03 +0000 (12:07 +0100)]
I guess maybe this was the unused variable that was supposed to be removed
Mike Blumenkrantz [Wed, 19 Jun 2013 09:43:03 +0000 (10:43 +0100)]
revert
a9ab914845c50db80242f599388b3e50dfbba040
I have no fucking clue what this does, but I'm not reading through a rewrite of the whole file when the commit message is so obviously wrong
Mike Blumenkrantz [Wed, 19 Jun 2013 09:38:57 +0000 (10:38 +0100)]
clarify ibar add/remove icon menu item text
Chris Michael [Wed, 19 Jun 2013 09:32:58 +0000 (10:32 +0100)]
Fix formatting
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Chris Michael [Wed, 19 Jun 2013 09:32:31 +0000 (10:32 +0100)]
Remove unused variable
Signed-off-by: Chris Michael <devilhorns@comcast.net>
Mike Blumenkrantz [Wed, 19 Jun 2013 08:33:29 +0000 (09:33 +0100)]
yet another gadman rewrite
* handle zone changes without forcing a redraw (no more flickering, hooray)
* correctly handle overlay gadcons
* also correctly handle creation of overlay
Mike Blumenkrantz [Wed, 19 Jun 2013 07:52:19 +0000 (08:52 +0100)]
fix gadman overlay visibility after a gadman reset
Mike Blumenkrantz [Wed, 19 Jun 2013 07:27:00 +0000 (08:27 +0100)]
things that grind my gears: when my shelf config dialogs don't have check changed
Mike Blumenkrantz [Wed, 19 Jun 2013 07:14:23 +0000 (08:14 +0100)]
redo teamwork api to use client id + client positioning for easier wayland support
Mike Blumenkrantz [Wed, 19 Jun 2013 06:10:53 +0000 (07:10 +0100)]
remove teamwork video size debugging
Mike Blumenkrantz [Wed, 19 Jun 2013 06:09:43 +0000 (07:09 +0100)]
add some safety checks for borders without execs
Mike Blumenkrantz [Wed, 19 Jun 2013 05:42:39 +0000 (06:42 +0100)]
ibar tasks are now restricted by NETWM skip taskbar state
Mike Blumenkrantz [Tue, 18 Jun 2013 14:42:25 +0000 (15:42 +0100)]
BY THE POWER OF GRAYSKULL, IBAR IS NOW ALSO A TASKBAR
...optionally
Mike Blumenkrantz [Tue, 18 Jun 2013 14:39:53 +0000 (15:39 +0100)]
s/E17/E18/
Mike Blumenkrantz [Tue, 18 Jun 2013 14:31:09 +0000 (15:31 +0100)]
make e_exec work for desktops when orig_path is not present but name is
Mike Blumenkrantz [Tue, 18 Jun 2013 11:26:57 +0000 (12:26 +0100)]
add e_exec_instances_get
Mike Blumenkrantz [Tue, 18 Jun 2013 10:55:24 +0000 (11:55 +0100)]
move ibar icon appending into ibar icon new function