Mike Blumenkrantz
784af9c097
do not create wayland screensaver timer when screensaver is disabled
...
ref T2609
2015-07-28 12:41:05 -04:00
Mike Blumenkrantz
6faa894a59
block xsettings config update if xsettings has not been initialized
...
fix T2610
2015-07-28 12:34:05 -04:00
Mike Blumenkrantz
db41479414
fix x11 detection for wayland compositor setup
...
ref T2609
2015-07-28 12:32:50 -04:00
Mike Blumenkrantz
9138b484d1
fix desklock-related screensaver modification
...
ref T2609
2015-07-28 12:31:22 -04:00
Mike Blumenkrantz
c4024acfd2
ensure expected screensaver blanking in x11 compositors with HAVE_WAYLAND
2015-07-27 18:24:34 -04:00
Mike Blumenkrantz
812ceafec6
fix wl screensaver activation when deactivating during fade
2015-07-27 17:32:11 -04:00
Mike Blumenkrantz
376945dcd8
add dpms handling for wayland compositors
2015-07-27 16:54:31 -04:00
Mike Blumenkrantz
9efb05a865
add E_EVENT_SCREENSAVER_OFF_PRE
...
for hooking dpms changes which occur before animations play
2015-07-27 16:54:01 -04:00
Mike Blumenkrantz
780bba76d2
add wl_drm dpms setting
2015-07-27 16:48:19 -04:00
Mike Blumenkrantz
56a73e3c67
add dpms method for E_Comp_Screen_Iface
2015-07-27 16:47:55 -04:00
Mike Blumenkrantz
4543e26ca6
remove e_screensaver_force_update()
...
this was just used to set up x11 screensaver stuff, which has now been
relocated to the related comp_init function
2015-07-27 15:54:15 -04:00
Mike Blumenkrantz
7f638d98bf
add functioning wayland screensaver support
...
block xscreensaver events, manage input<->activation eventing
fix T2525
2015-07-27 15:46:57 -04:00
Mike Blumenkrantz
c2ecadae14
reject x11 NotifyVirtual and NotifyInferior mouse in events
...
these are triggered "in passing" when mouse in events occur and do
not necessarily indicate that the mouse has entered this specific window
failing to reject such events can cause mouse-based focus policies to
attempt to set focus onto windows which are not visible, resulting in
an infinite loop where no window is actually focused
2015-07-27 13:25:01 -04:00
Mike Blumenkrantz
0a8ee7b5ad
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
2015-07-27 13:23:13 -04:00
Mike Blumenkrantz
0d19a5914b
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
2015-07-24 16:35:21 -04:00
Mike Blumenkrantz
9e4fe82fbc
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
2015-07-24 16:34:18 -04:00
Mike Blumenkrantz
0321fd690e
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
2015-07-24 16:33:33 -04:00
Mike Blumenkrantz
dd1577a169
fix client smart callbacks on (un)maximize
...
these should match the callbacks triggered for whatever the current
maximize state is
2015-07-24 14:34:03 -04:00
Mike Blumenkrantz
187fd44936
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
2015-07-24 14:34:03 -04:00
Chris Michael
33414c0a0d
enlightenment: Remove static function prototype for unused function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-24 13:16:04 -04:00
Chris Michael
b98a58f632
enlightenment: Allocate space for terminating NULL
...
Fixes CID1261289
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-24 13:12:20 -04:00
Chris Michael
f25f074be5
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>
2015-07-24 13:09:36 -04:00
maxerba
125de03bbe
Updating catalan translation
2015-07-24 12:59:46 +02:00
maxerba
1f46bc678b
Updating italian translation
2015-07-23 23:09:59 +02:00
Derek Foreman
457f3c013c
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
2015-07-23 11:01:31 -04:00
Mike Blumenkrantz
5cbbe261d7
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
2015-07-22 17:55:30 -04:00
Mike Blumenkrantz
738622b068
send wl kbd modifiers only when changes occur
2015-07-22 17:46:39 -04:00
Mike Blumenkrantz
d38b2eb6b3
create/manage list of focused wl keyboard resources for reuse in kbd operations
...
this simplifies kbd code all over
2015-07-22 17:40:28 -04:00
Mike Blumenkrantz
0b66c2d841
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
2015-07-22 17:10:49 -04:00
Mike Blumenkrantz
ae1fc10d06
remove unnecessary geometry setting during xwl client swap
...
this geometry will be applied during show
2015-07-22 17:10:11 -04:00
Mike Blumenkrantz
43ed8dbdb5
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
2015-07-22 17:09:14 -04:00
Mike Blumenkrantz
6dfc6da02c
update wl keyboard resource key presses on focus in/out of surfaces
2015-07-22 16:59:23 -04:00
Mike Blumenkrantz
5c5fb11187
allow wl client focus-out callback to execute on deleted E_Clients
2015-07-22 16:28:48 -04:00
Mike Blumenkrantz
435bd8794a
don't update wl keyboard state on client focus events
...
this is always up-to-date
2015-07-22 16:28:08 -04:00
Mike Blumenkrantz
75fb072dc3
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
2015-07-22 13:56:19 -04:00
Mike Blumenkrantz
818fcb01f4
fix compositing error when client is ec->hidden during show animation
...
this prevented clients from being deleted and resulted in artifacts and
memory leaks
2015-07-22 13:30:02 -04:00
Mike Blumenkrantz
a3d5762bf2
simplify deskmirror client desk checking
2015-07-22 13:23:53 -04:00
Mike Blumenkrantz
9c1fca5a16
fix wl build
2015-07-22 12:24:35 -04:00
Mike Blumenkrantz
a9db84f94e
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
2015-07-21 18:24:39 -04:00
Mike Blumenkrantz
a951b88305
don't block keybind activation while grabs are active
2015-07-21 15:33:50 -04:00
Mike Blumenkrantz
b51e5fa0b2
ensure clients possess comp_data before dereferencing it during x11 stacking
...
ref T2566
2015-07-21 14:34:11 -04:00
Mike Blumenkrantz
5c00c1009b
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
2015-07-21 14:27:29 -04:00
Mike Blumenkrantz
d2fce4ce27
do not add x11 compositor desklock hooks in non-x11 compositor
2015-07-21 14:25:41 -04:00
Mike Blumenkrantz
2ce5dfa33f
add wl compositor desklock hooks to add grabs during lock
2015-07-21 14:25:16 -04:00
Mike Blumenkrantz
21b8016c5b
add clients to focus stack as necessary in e_client_unignore()
2015-07-21 14:21:36 -04:00
Mike Blumenkrantz
2eabf1142f
always stop passing key events on once they reach the lokker callback
2015-07-21 14:21:07 -04:00
Mike Blumenkrantz
7aea28a86b
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
2015-07-21 14:19:39 -04:00
Mike Blumenkrantz
269d589cd1
do not block winlist activity based on event window in non-x11 compositors
...
fixes winlist interaction in wayland
2015-07-21 14:13:55 -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
Chris Michael
e78abc23c1
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>
2015-07-21 09:03:59 -04:00