Commit Graph

7038 Commits

Author SHA1 Message Date
Mike Blumenkrantz e6c47e8d90 disable fileman popups in wl-only mode
these crash for now and I'm annoyed
2015-02-27 14:45:45 -05:00
Derek Foreman d576c58bd7 clamp to parent height, not parent y co-ordinate.
Summary:
Clamping to Y makes pop ups get shifted up if a window is
near the top of the screen.

Reviewers: devilhorns, zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2060
2015-02-26 15:27:52 -05:00
Mike Blumenkrantz b0613520a2 pre-escape all notification body texts before display or merge
this fixes notification merging again

ref T2053
2015-02-25 20:06:45 -05:00
Bryce Harrington 89dbb9bd27 cosmetic: Whitespace cleanup of wayland client files
Summary:
cosmetic: Cleanup whitespace for wayland compositor

There is excess trailing whitespace in several of the files for the
wayland implementation.  These patches attempt to apply the spacing
rules for Enlightenment as documented at:
https://phab.enlightenment.org/w/coding_convention/

The whitespace rules are applied using the following emacs tabbing
settings:

 (defun start-efl-c-mode ()
  "C mode with adjusted defaults for use with Enlightenment
  development."
  (interactive)
  (c-mode)
  (c-set-style "gnu")
  (setq tab-width 8)
  (setq indent-tabs-mode nil)
  (setq c-basic-offset 3)
  (setq defun-block-intro 3)
  (setq statement-block-intro 3)
  (setq case-label 1)
  (setq statement-case-intro 3)
 )

This patchset also eliminates all tabs in favor of whitespace, as per
the coding style rules.

Reviewers: zmike, cedric, devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2048
2015-02-24 17:34:20 -05:00
Chris Michael 9e585e3f79 remove unused variable
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-24 15:36:34 -05:00
Bryce Harrington 40998b8a6e Code cleanup and check for OOM condition with wl_array_add
Summary:
wayland: Check wl_array_add return for OOM condition
cosmetic: Make error return check syntax consistent with rest of code
wayland: Reuse use_adj to track child-forced adjust
wayland: Refactor to collapse if chain
wayland: Refactor _e_comp_wl_client_priority_adjust to collapse if chain
 + This uses early returns to unwrap a couple if clauses to make the code a bit less nesty.
wayland: Refactor if statements for consistency with rest of file

Reviewers: cedric, zmike, devilhorns

Subscribers: devilhorns, cedric

Differential Revision: https://phab.enlightenment.org/D2034
2015-02-24 14:47:56 -05:00
Chris Michael d89681fa3c create wl_outputs when in wayland-only mode
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-24 13:27:56 -05:00
Mike Blumenkrantz cc5a4e9071 fix border frame color classes to be configured as solids, not text
fix T1637
2015-02-23 17:54:09 -05:00
Mike Blumenkrantz f6b3c1533e fix appindicator icon loading when using IconThemePath key
fix T1888
2015-02-23 17:22:51 -05:00
Mike Blumenkrantz a4477e16e4 set default text for edgebindings caption when no bindings exist 2015-02-23 16:53:20 -05:00
Mike Blumenkrantz 5160707eb2 remove unnecessary icon setting and fix sizing in edgebindings
ref T2144
2015-02-23 16:47:53 -05:00
Yomi 9e5264fa84 Fixed tense in presentation mode notifications.
Summary: Fixed tense in presentation mode notifications.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2020
2015-02-23 15:26:17 -05:00
Derek Foreman 7aa0ff24c7 Provide wl_output events on hotplug
Summary:
Clients that have bound wl_output now receive wl_output events on hotplug

NOTE: We don't handle removal yet

Reviewers: devilhorns, zmike

Reviewed By: devilhorns, zmike

Subscribers: cedric

Maniphest Tasks: T2131

Differential Revision: https://phab.enlightenment.org/D2008
2015-02-19 14:49:21 -05:00
Mike Blumenkrantz 23c4d42e4c rename extremely frustratingly-named E_Screen_Limits enum and members
this came in a patch that I take full responsibility for not adequately reviewing at the time.
the names are confusing and counterintuitive, and it does not properly include the client namespace.
2015-02-18 18:34:29 -05:00
Mike Blumenkrantz 185c236b5a fix crashing when changing desklock settings and using pin/personal auth 2015-02-18 17:07:39 -05:00
Mike Blumenkrantz 3e517158a2 escape notification popup text...always
fix T2053
2015-02-18 16:52:54 -05:00
Daniel Kolesa bc41e68f80 cpufreq: freebsd fixes
This fixes a sysctlbyname lookup and adds a stub for the "pstate"
command. Based on a patch contributed by Dmitry Luhtionov.

@fix
2015-02-18 11:09:34 +00:00
Mike Blumenkrantz ed48508850 use elm scroller for xkb options
fix T2007
2015-02-17 18:16:54 -05:00
Marcel Hollerbach 9b3bdc57c2 Ibar: Emit the given origin to the Ibar Icon.
Summary:
This fixes T1828.

The theme also would have to support this!

Reviewers: zmike

Subscribers: myoungwoon, cedric

Maniphest Tasks: T1828

Differential Revision: https://phab.enlightenment.org/D1798
2015-02-17 17:20:13 -05:00
Yomi db6aeef2b1 Update the error message shown if a theme file is invalid.
Summary:
Update the error message shown if a theme file is invalid. This isn't E17 any more. rEec1cd25cfe666665b9e5641c91d3ad1fd2f9f11c

{F13161 size="full"}

Reviewers: zmike, raster

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1959
2015-02-13 16:03:01 -05:00
Mike Blumenkrantz 62328e0c90 remove wl override clients from focus stack
no more client cursor clients in winlist hoorayyyyy
2015-02-13 15:48:00 -05:00
Mike Blumenkrantz 92079a11e7 allow focus on normal wl clients again 2015-02-13 15:45:03 -05:00
Mike Blumenkrantz 1ef496c9cc remove unneeded client attr setting in wl shell
these are always set by the wl new client hook
2015-02-13 15:41:58 -05:00
Mike Blumenkrantz af0508baf9 set wl popups to appropriate layer in shell module 2015-02-13 15:24:24 -05:00
Mike Blumenkrantz e80bd28d33 don't set geometry during wl client surface mapping
this happens automatically in other places, calling it here breaks client placement

 #barrel
2015-02-11 17:15:31 -05:00
Mike Blumenkrantz a9b56c4c28 reenable new_client for wl clients, but force moveresize actions to succeed 2015-02-11 17:00:59 -05:00
Mike Blumenkrantz 8541c13b06 unset new_client flag for wayland clients
this is only applicable for X clients
2015-02-10 15:51:35 -05:00
Carsten Haitzler 790183d74a e - randr - laptop lids - handle plug/unplug and well as lid open/close
this fixes some issues in the new randr2 code that made it not work
right with plug/unplug and lid close/open. now it does work right and
plugging/unplugging displays is seamless (if your driver does not give
plug/unplug events bind a key to update screen config acvtion and e
will figure it out when you hit the key).
2015-02-09 18:22:02 +09:00
Chris Michael 96b3a04192 enlightenment: Don't crash if fwin app dialog has no exec_cmd
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-08 11:53:45 -05:00
Mike Blumenkrantz c67e31f99b remove unnecessary EC_CHANGED from wl shell creation
new clients are always changed, this is redundant
2015-02-04 18:09:32 -05:00
Mike Blumenkrantz c196ce0c12 clamp wl popup coords to parent when possible 2015-02-04 18:09:00 -05:00
Mike Blumenkrantz ad41e45b84 set wl popups as overrides
not technically correct but will mimic expected behavior more accurately
2015-02-04 18:01:38 -05:00
Chris Michael f69dcf9181 call e_manager_new with the proper root window so that keybindings on
the desktop work

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-02-04 12:33:04 -05:00
Mike Blumenkrantz 8d5ab29625 don't create wl clients as re_manage 2015-02-02 12:41:39 -05:00
Carsten Haitzler 1c222e0329 e randr config - fid selecting of screen to populate correctly 2015-02-02 14:13:58 +09:00
Mike Blumenkrantz 2a51535fc0 Revert "move wl pixmap creation into shell, fix pixmap id usage"
This reverts commit c1a93d893e.
2015-01-28 17:29:17 -05:00
Mike Blumenkrantz c1a93d893e move wl pixmap creation into shell, fix pixmap id usage
using raw surface id here guarantees overlap between surfaces for different apps. instead, shift and add app pid to ensure uniqueness

 #barrel
2015-01-28 17:04:59 -05:00
Mike Blumenkrantz 36e4eff943 clarify wl shell errors when failing to create clients 2015-01-28 17:01:16 -05:00
Chris Michael 4753c56d42 de-e_comp_get()-ify lokker module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-01-26 14:32:32 -05:00
Carsten Haitzler 33d4531f1d e - rewrite randr code entirely. core and dialog. dialog is basic atm
the dialog for now is simple and lets you just raw edit the properties
per screen in a dialog. nothing fancy. not user firendly. but it works.

the randr core has been totally rewritten and tested against a range
of drivers and setups before even getting a commit. it works solidly
and configures screens reliably now. drivers tested:

nvidia
intel
radeon

some drivers still are unreliable in terms of delivering plug/unplug
events for outputs (both intel and radeon are flakey - nvidia is solid
and reliable). so to fix this there is now a screen redo action you
can bind to a hotkey or something and have e re-evaluate current
screen setup and apply ny pending config if needed.

also to make reconfiguring prettier the screen is faded to black
first, then configured, then faded back in. some drivers work
flawlessly with this, others still flicker some garbage.

i admit - i haven't tested nouveau, but my general take on this is the
randr code is now in far better shape than where it was (minus pretty
and easy dialog). the dialog can be done next, but i'd like to get the
core in now for more testing.

@fix
2015-01-25 22:50:23 +09:00
Davide Andreoli 619afde7e5 Update gtk bookmarks to work with new gtk3 path
...I hope they will not change this stupid path for each minor release
2015-01-24 14:47:17 +01:00
Davide Andreoli 61816a5ba2 Fix gadman config to be actually usable.
The button was not expanded correctly in the box,
not really the definitive fix, something is wrong in
e_widget_framelist_object_append_full()
2015-01-24 14:30:40 +01:00
Mike Blumenkrantz a8bd9df733 Revert "simplify/fix wl client borderless setting"
This reverts commit 1b3d89c4c0.

I suck too much to fix this right now, maybe later
2015-01-23 16:30:28 -05:00
Mike Blumenkrantz 1b3d89c4c0 simplify/fix wl client borderless setting 2015-01-23 16:22:02 -05:00
Chris Michael fba5de7d6a Revert "only set wl client borderless state as necessary, don't overwrite existing states"
This reverts commit 5c80ce8e0e.

Revert this as it causes ALL internal windows to not have any borders
anymore.
2015-01-23 14:57:04 -05:00
Mike Blumenkrantz 5c80ce8e0e only set wl client borderless state as necessary, don't overwrite existing states 2015-01-23 14:31:35 -05:00
Mike Blumenkrantz 03c5915245 force server borders on internal wl wins again
this goes back to previous behavior before elm win conversion
2015-01-23 14:10:58 -05:00
Mike Blumenkrantz 1b321567bf simplify wl xdg/shell configure functions
setting changes.XYZ is generally bad and shouldn't be done. in this case, it was obscuring an infinite render resize loop

 #barrel
2015-01-22 23:45:11 -05:00
Mike Blumenkrantz 01b0f4a85d set wl client geometry before showing in desktop shell
bad things (tm) can happen if geometry doesn't get updated before the show

 #barrel
2015-01-22 23:45:08 -05:00
Mike Blumenkrantz 5735f7a2e7 de-e_comp_get()ify evry 2015-01-22 15:05:58 -05:00