Commit Graph

8893 Commits

Author SHA1 Message Date
Sebastian Dransfeld 8c3b7800c9 randr: TODO++ 2014-03-06 15:18:15 +01:00
Sebastian Dransfeld c0d0afad32 randr: function to apply current config 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld f6a0ec2753 randr: only activate outputs we want to connect 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 52751092f5 randr: store connection status in output 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 2e7964794b randr: make current setup extern 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 9bd18c6272 randr: same param name in prototype and function 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld d6cec482d4 randr: don't let crtc changes change our config 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld ff750b2bb9 randr: add match for refresh rate
Store output config with refresh rate, so we don't just get correct
geometry for outputs.
2014-03-06 15:18:14 +01:00
Sebastian Dransfeld f32426878c randr: common function for fetching output name
Add a common function to get output name, and also check edid if no name
is set by randr.
2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 82e7d1184c randr: remember crtc in output struct 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 2b4a70b283 randr: remove wrong typedef
There is no struct for crtc config
2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 5c6eed2307 randr: allocate hot-plugged outputs 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 11e21fd1ff randr: allocate hot-plugged crtcs 2014-03-06 15:18:14 +01:00
Sebastian Dransfeld 8b5153130a randr: Use already fetched root window 2014-03-06 15:18:14 +01:00
Mike Blumenkrantz 63b01101ee fix comp util object initial visibility 2014-03-05 10:53:05 -05:00
Mike Blumenkrantz 851ef43c41 force comp render on dirty for hidden objects with visible mirrors 2014-03-05 10:08:09 -05:00
Mike Blumenkrantz 8b4162d681 fix maximization geometry on desks with shelves
in some cases during startup a client can get post-maximize geometry before the sizing algorithm is applied

fix T1052
2014-03-05 10:08:09 -05:00
Mike Blumenkrantz ee6b8e8c38 simplify maximize shelf fill visibility check 2014-03-05 10:08:09 -05:00
Mike Blumenkrantz 267966834f fix deskmirror visibility for re_manage previously-iconic clients 2014-03-05 10:08:09 -05:00
Mike Blumenkrantz f82351d3e2 reset client urgency on focus-out and iconify 2014-03-05 10:08:09 -05:00
Mike Blumenkrantz 9ad04eb877 redo client urgency again with separate flag for actual urgent state
preserve icccm flag for accurate detection
2014-03-05 10:08:09 -05:00
Stefan Schmidt 58286beed4 e_comp_wl: Remove unused variable.
Later on we use state_w directly.
2014-03-05 13:41:35 +01:00
Mike Blumenkrantz 8568a76313 always set iconic client comp state as visible
pass: init_states
2014-03-04 15:20:24 -05:00
Mike Blumenkrantz 5241140dd2 don't run client visibility idler updates for iconic clients 2014-03-04 15:20:24 -05:00
Mike Blumenkrantz 7b44add514 redo iconic setting for new clients 2014-03-04 15:20:24 -05:00
Mike Blumenkrantz 043a3c17e0 fix some enum decls 2014-03-04 15:20:24 -05:00
Carsten Haitzler 5c8710ded3 fix screen blanking while fullscreen window is up - work again
@fix - this fixes T1019 - when a window is fullscreen the display just
NVER can blank no mater what. it's hrdcoded, and wrong to enforce. if
an app wants to display screensaver - there is the xscreensaver extn -
or maybe supporting an explicit property on a window would work
better, but just equating fullscreen == never blank is wrong. it's an
option now. off by default.
2014-03-01 08:04:09 +09:00
Mike Blumenkrantz e77d536466 remove comp override immediately on screensaver disable 2014-02-28 15:27:35 -05:00
Mike Blumenkrantz 41c4cded01 send unmaximize signal when unfullscreening
fix T1044
2014-02-28 14:55:27 -05:00
Mike Blumenkrantz 54999472de force full rerender on present pixmap size change
a new X extension should make this unnecessary in the future for pixmap resizes, but for now it seems to be a necessary evil

fix T993
2014-02-28 10:48:54 -05:00
Mike Blumenkrantz c720451933 force client urgency unsetting on focus
fix T1016
2014-02-27 21:05:33 -05:00
Mike Blumenkrantz 6555daf56d correctly set keygrab flag on renaming efm icon to not permanently break input 2014-02-27 20:51:02 -05:00
Mike Blumenkrantz 78403e2f54 don't reshadow on client redirect
fix T1019
2014-02-27 20:31:18 -05:00
Mike Blumenkrantz 6abcb5f946 save efm rename focus hook pointer 2014-02-27 20:26:16 -05:00
Mike Blumenkrantz c01a1fcc6c manage comp overrides for comp objects
fix T1019
2014-02-26 11:46:32 -05:00
Mike Blumenkrantz def17d763b +e_comp_util_object_is_above_nocomp() 2014-02-26 11:46:32 -05:00
Mike Blumenkrantz 6a90f66cc4 use comp overrides when grabbing comp input 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz 7604e7a6f7 use one comp override per comp, not per zone, when toggling screensaver fading 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz a331627e09 reduce comp override pop timer, successive pops trigger instapop 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz a52ede0c66 track current nocomp client 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz a22181c0da allow nocomp on some overrides 2014-02-26 11:46:31 -05:00
Mike Blumenkrantz ef26b0fb1e set client-redirected on overrides 2014-02-26 11:46:31 -05:00
Daniel Kolesa 79f3313931 e_comp_x: reverted 7c20b54 (was fixed in the meantime and i didn't notice) 2014-02-25 20:30:45 +00:00
Daniel Kolesa 7c20b5407a e_comp_x: check for zone before actually using it 2014-02-25 20:16:15 +00:00
Mike Blumenkrantz b7f4686d00 e_object zone warning-- 2014-02-25 14:44:05 -05:00
Daniel Kolesa 6085d79df8 e_client: build fix 2014-02-25 19:40:37 +00:00
Mike Blumenkrantz eca0549238 only set atoms for zone geometry for non-ignored clients
another T787 crash
2014-02-25 14:38:08 -05:00
Carsten Haitzler 0313a54da4 e-object-check - this has been turned off since 2007 - back on
this is crazy. all the E_OBJECT_CHECK macros have been off since 2007.
this is just nuts. either remove them, or have them on by default, but
not off. so this turns them back on and fixes code to actually compile
again with them on, as this broke over the years. a lot of code
expects/assumes thatthese willcheck types and null ptrs, but they
don't because they are off by default.
2014-02-26 04:28:12 +09:00
Mike Blumenkrantz 9395553039 don't reset ignored clients on canvas update
part of T787
2014-02-25 09:46:41 -05:00
Sebastian Dransfeld 43aed04241 randr: check NULL before dereference
Fixes CID 1181926
2014-02-24 09:17:25 +01:00