Commit Graph

20842 Commits

Author SHA1 Message Date
Mike Blumenkrantz 631d671ce5 20.1 release 2015-12-14 13:33:38 -05:00
maxerba 729030bff0 Updating italian translation 2015-12-14 13:32:18 -05:00
Mike Blumenkrantz d066020bea use current box geometry for calculating desktop ibar/ibox sizing
desktop gadgets don't have minimum size set from parent objects, so
it's necessary to use the current object geometry in order to correctly
size these gadgets since the top-most widget is from elm

fix T2907
2015-12-11 16:49:22 -05:00
Mike Blumenkrantz 7c98372656 never set withdrawn state on x11 clients
icccm 4.1.4:
Only the client can effect a transition into or out of the Withdrawn state.

fix T2901
2015-12-11 16:49:22 -05:00
Mike Blumenkrantz 4cd32def25 do not reapply x11 icccm state during fetch
this is the value which has just been obtained, so don't create potential
race conditions by sending it back to the client
2015-12-11 16:49:22 -05:00
Lukasz Stanislawski 1a9ff2b841 conf_apps: fix add/remove screen lock applications.
Summary:
Fix missmatched paths between desklock and conf_applications module to
enable adding/removing screen lock applications with a dialog.

Test Plan:
Settings=>Apps=>Screen lock/unlock application
           Veryfy if apps are correctly added to config.

Reviewers: zmike, cedric

Subscribers: cedric, seoz

Differential Revision: https://phab.enlightenment.org/D3436
2015-12-11 16:49:22 -05:00
Mike Blumenkrantz bbc81b90bd use canvas RENDER_PRE callback to trigger compositor pre-render callbacks
this should probably be removed entirely...
2015-12-11 16:48:54 -05:00
Mike Blumenkrantz ab0d5de40c set wayland new client focus based on accepts_focus and !override
seems to resolve some cases where focus is not applied to new clients
2015-12-11 16:48:46 -05:00
Mike Blumenkrantz cdd8d86abe make e_comp_wl_surface_attach static and take a surface state
when attaching a buffer, it's necessary to have the state available
in order to pull the buffer data into the state for use during commit

fixes subsurface frame callbacks
2015-12-11 16:48:40 -05:00
Mike Blumenkrantz 7836d58030 do not drop subsurface buffer early after commit from cache
this should work the same way as a normal surface
2015-12-11 16:48:34 -05:00
Mike Blumenkrantz 09d5ca9e25 add wayland shell private data for managing shell-specific data
also cache xdg configure infos and avoid sending duplicate events
2015-12-11 16:48:29 -05:00
Mike Blumenkrantz c4925b3246 do not apply x11 randr iface in wl-x11 if running nested in x11
http://i.imgur.com/S7G0O96.gif
2015-12-11 16:48:21 -05:00
Mike Blumenkrantz ac2249d152 move comp canvas resize callback to monitor elm win geometry
elm win intercepts this callback in order to maintain internal sizing
for use with elm widgets on the compositor canvas, so it's necessary to
get the callback from this object in order to accurately update the canvas
during resizes
2015-12-11 16:48:13 -05:00
Mike Blumenkrantz 0502cc947f init ecore-x during wl-x11 init to ensure DISPLAY is set 2015-12-11 16:48:08 -05:00
Mike Blumenkrantz c520000c33 apply already-committed wayland subsurface positioning after parent surface move 2015-12-11 16:48:02 -05:00
Mike Blumenkrantz 8239622d1b enforce wayland subsurface stacking order when parent surface is restacked 2015-12-11 16:47:53 -05:00
Marcel Hollerbach ceea32a633 e_randr2: Add NULL check
e crashed for me when starting the screen configure tool.
Adding the NULL check here fixes that.
2015-12-11 16:47:53 -05:00
Carsten Haitzler b36e68bcef e - fix leak added by previous fix for icon theme
fixes leak added by a885c8c040

though this is basically unlikely to happen and happens likely just
once for an app... so not a big deal

@fix
2015-12-11 16:47:53 -05:00
Mike Blumenkrantz edfbc7e8af fix wl-x11 make/install rules to not include nonexistent DATA files 2015-12-11 16:47:53 -05:00
Carsten Haitzler 65af14d095 e - fix using an invalid icon theme - fall back to hicolor if not exists
this should fix D2036 on the e side by checking validity of an icon
theme once efreet has finished scanning for stuff and if its invalid,
going back to hicolor.

@fix
2015-12-11 16:47:08 -05:00
Mike Blumenkrantz 5ee63bb201 disable redirection toggling for the nocomp client
#ThisBreaksTheCompositor!
2015-12-11 16:47:08 -05:00
Mike Blumenkrantz 2bff9611c3 reshuffle all notifications on a notification merge
improves layout when a notification's size changes due to merged text
being larger than original text
2015-12-11 16:47:08 -05:00
Carsten Haitzler 31157dadcc e randr - fix leak of modes list in randr code
this fixes a leak of the modes list in randr

@fix
2015-12-11 16:47:08 -05:00
Carsten Haitzler a77d23055c e randr2 - remove auto-clone and now make randr dialog come up instead
some odd things happen with auto-clone, so give the user manual
intervention automatically with the randr conf dilaog coming up on an
unconfigured screen being detected.

@fix
2015-12-11 16:47:08 -05:00
Carsten Haitzler fb7fce8935 e comp randr support - fix leak of randr info
this fixes case where randr info is not freed

@fix
2015-12-11 16:47:08 -05:00
Carsten Haitzler ca3e4460e5 e randr - fix silent free of data behind randr's back
this fixes a bizarrre issue that valgrind reported that has the
strings we malloc and fill somehow being freed by xlib. totally didn't
make sense. either way, a workaround here is to strdup them
immediately and free the tmp copy and oddly the bug doesn't happen.
this is very odd.

@fix
2015-12-11 16:47:08 -05:00
Carsten Haitzler 47ae1ac843 e exec - fix missing ref and unref for instance event
this fixes a crash on shutdown when freeing up stuff because an exec
instance wasnt ref++'d and ref--'d when adding an event on the event
queue that pointed to it.

@fix
2015-12-11 16:47:07 -05:00
Carsten Haitzler 6037523032 e randr - feature fix that allows config to jump to specific screen
as part of another fix for having e just pop up the screen config
dialog when a new screen is detected that isn't configured, allow
config dialog for randr to get screen output name via input params

@fix
2015-12-11 16:44:29 -05:00
Carsten Haitzler e0e7af80bb e zone - handle null e_comp if comp is already shut down
this came from backlight shutdown that got current zone... and getting
zone relied on e_comp being valid.

@fix
2015-12-11 16:44:29 -05:00
Carsten Haitzler 7f5d75e737 e comp - set e_comp to null on shutdown so others dont access junk
e backlight was accessing e_comp implicitly during shutdown and comp
is shut down before backlight (that is correct as comp relies on
backlight). this fixes that

@fix
2015-12-11 16:44:29 -05:00
Carsten Haitzler ae27fa9b7a e backlight - avoid seg when comp is shut down and backlight updated
if comp is already shut down, then backlight can't do shutdown things
assuming comp is around, thus handle null e_comp. this fixes segv's
waiting to happen as backlight is shut down after comp and thus e_comp
is a garbage pointer of course

@fix
2015-12-11 16:44:29 -05:00
Mike Blumenkrantz 70f053cd76 use client geometry for calculations in x11 ConfigureRequest handler
the values requested by the client will be based on its geometry and not
the geometry of the frame. using the frame geometry here results in windows
moving ↘ based on the top/left frame sizes

fix T2912
2015-12-03 14:13:07 -05:00
Mike Blumenkrantz 09954da308 20.0 NEWS updates 2015-11-30 14:52:06 -05:00
Mike Blumenkrantz 15bf3f0439 e20 release 2015-11-30 14:52:06 -05:00
Mike Blumenkrantz 302407e6b1 add NEWS from 19.13-14 releases 2015-11-30 14:52:06 -05:00
Mike Blumenkrantz e5e31a2501 remove e_comp_wl struct keyboard repeat members
duplicating these from e_config serves no purpose

ref D3364
2015-11-30 14:15:47 -05:00
Sung-Jin Park 6826608961 (1) e_config.c/e_comp_wl.c: add code for making repeat values configurable
(2) e.src(s): add keyboard.repeat_delay, keyboard.repeat_rate into e.src files

Summary:
As of now, the default values of repeat delay/rate are being set in e_comp_wl.c.
Those values need to be configurable and will be used in e_comp_wl_init().
The limit of each of the values is defined from -1 to 1000. (maximum 1s).
If one of the two is negative, it means default repeat delay/rate are going to be used.
(e.g. delay:400, rate:25)

Test Plan:
N/A

Signed-off-by: Sung-Jin Park <input.hacker@gmail.com>

Reviewers: raster, stefan_schmidt, gwanglim, devilhorns, zmike

Subscribers: Jeon, ohduna, cedric

Differential Revision: https://phab.enlightenment.org/D3364
2015-11-30 14:05:10 -05:00
Derek Foreman 81ff082e0d Stop using MIN macros when choosing versions for wayland resources
Summary:
libwayland-server.so will post an error if the requested version
is higher than the supported one anyway, so there's no point in
doing this.

Using MIN() to pick versions is a client side idiom.

 #kansas

Reviewers: zmike, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3385
2015-11-26 20:12:47 -05:00
Stefan Schmidt 9365129a5a e_menu: use Eina_Bool for one-bit bitfield
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.
2015-11-26 18:31:29 +01:00
Stefan Schmidt d18e169701 e_gadcon: use Eina_Bool for one-bit bitfield
Make sure we are using a unsigned var here. Best go with a Eina_Bool directly.
2015-11-26 18:31:02 +01:00
Stefan Schmidt 7ed2381722 pulse backend: correct declaration of function with no parameters
We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

Thanks for the sparse semantic parser for pointing this out.
2015-11-26 18:10:47 +01:00
Stefan Schmidt 01a4a24f34 e_fm:correct declaration of function with no parameters
We have to use void in a function declaration if we want no function
parameters. Using just empty parenthesis means the function takes an
unspecified number of parameters.

We had it correct for most declarations and this series fixes it for
the rest.

Thanks for the sparse semantic parser for pointing this out.
2015-11-26 18:09:32 +01:00
Mike Blumenkrantz c05100ed14 re-swallow bg_object after wallpaper transition has completed
fixes eventing/stacking on bg object
2015-11-25 12:36:36 -05:00
Mike Blumenkrantz ac0cc26765 allow more client hooks to bypass delete check
failing to propagate these signals can result in a broken compositor
when a client is deleted before/during an operation
2015-11-24 21:42:22 -05:00
Mike Blumenkrantz ea8e88b592 do not apply max client geometry restriction if max geometry is not set
default values for these is set to a very high value, but it's possible
(and guaranteed) for some clients to set them to a value <= 0, which results
in a broken window
2015-11-24 17:34:03 -05:00
Mike Blumenkrantz 60269f3ecf use CSD geometry during move/resize display
this should provide more user-relevant information
2015-11-24 17:31:47 -05:00
Mike Blumenkrantz e8f4f30f40 adjust for SSD geometry during wayland client resize
client moveinfo includes the frame geometry, so this must be taken
into account when resizing a client which has a frame

fix T2863
2015-11-24 17:29:53 -05:00
Mike Blumenkrantz 0ed63ede7c avoid setting incorrect geometry during new_client frame calc
in the case where a client has no geometry set, attempting to update
the client's geometry during frame recalc will guarantee that wrong
geometry is set, resulting in a bad first frame
2015-11-24 17:28:08 -05:00
Mike Blumenkrantz 913e04bda7 declare xwayland functions prior to using them
#CompileFail
2015-11-24 15:46:10 -05:00
Mike Blumenkrantz 70c6dc30d1 use separate handler for x11 fatal errors when using xwayland
a fatal error with xwayland is not a fatal error for the compositor,
so this should not result in a dead session
2015-11-24 15:34:42 -05:00