Julien Danjou
|
d07ca5f76d
|
Fix potential segfault in client_focus()
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 17:33:48 +01:00 |
Julien Danjou
|
904cd4e06a
|
Normalize some window functions protos
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:22 +01:00 |
Julien Danjou
|
1d468c5583
|
Lot of cosmetic changes: proto change, etc.
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:22 +01:00 |
Julien Danjou
|
0a6c6e017b
|
Store physical screen id in statusbar and client, change get_phys_s() to screen_virttophys()
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:22 +01:00 |
Julien Danjou
|
08f1e90384
|
Do not set urgent on window if it is focused
|
2008-03-23 15:52:21 +01:00 |
Julien Danjou
|
279e83ba05
|
Update titlebar with real floating info now if client is floating
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:21 +01:00 |
Julien Danjou
|
b1cd7d16c6
|
Do not compute smart floating geometry on awesome restart
|
2008-03-23 15:52:21 +01:00 |
Julien Danjou
|
1acc6ec8f6
|
Fix various bug with smart/mouse floating placement
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:21 +01:00 |
Julien Danjou
|
7c79f94341
|
Move titlebar initialization routine in titlebar.c
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
0b6d6d738a
|
Do nothing it the client already has focus
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
720dabbaf6
|
Add support for titlebar on right
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
bb0fab396f
|
Add an ismoving attribute to client to fix a bug with titlebar and mouse moving in Xinerama
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
a42d43a853
|
Fix various placement issue with titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
850145f994
|
Changing floating geometry is bad
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
466ed47c2a
|
Remove useless code
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
dbe2052320
|
Check for sw also before restacking titlebars
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
c99bc4dc1d
|
Fix titlebar drawing on max
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
3eef1842e4
|
Do not use titlebar_update_geometry_floating() which sucks in client_resize()
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
e22d57a0ca
|
Change the way to do resize
Go back to old school
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
cf58c338e4
|
Add drawing support for left titlebars
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
99d72010c5
|
Fix various metrics problems with titlebar
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
dd71f55469
|
Fix regression introduced by 7e2f59d851437d68c47b5827644eba117c0e7b82
Signed-off-by: Julien Danjou <julien@danjou.info>
|
2008-03-23 15:52:20 +01:00 |
Julien Danjou
|
31f6010eda
|
Put titlebar resize for floating in titlebar_update_geometry_floating() function and call it for movemouse
This fix the problem when moving a window on a floating layout on screen N to
non-floating layout on screen M
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
c9450c6fbd
|
Remove switch/case for sw creation of titlebar, useless
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
eb595fe06e
|
Add support for Bottom titlebar
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
9bd32fc3b8
|
Split titlebar stuff into titlebar.[ch], and uicb_client_toggletitlebar
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
bc6656320d
|
Add support for text_align option in titlebars
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
f9f75629e1
|
Rule for titlebar applies event if we restart; set default to auto, which means off
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
cc56ccd2e9
|
Use section for titlebar parameters
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
3aa550ef6b
|
Cosmetic changes
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
bb453bd444
|
s/client_titlebar_update_position/client_titlebar_update_geometry/g
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
b51e352ed8
|
Fix errors with windows without titlebar
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
539636c77e
|
Fix bug with floating windows and titlebar
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
95f8325c06
|
Fix titlebar width (add borders)
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
b6f86ebb63
|
Smart placement support handling titlebar
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
a6b203f8a6
|
Disable titlebar for dock and panels
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
12584caa5d
|
Compute the rule only one time
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
8b217359e9
|
Rename Auto to Maybe in Fuzzy; add Auto as Position; add support for titlebar as rule
|
2008-03-23 15:52:19 +01:00 |
Julien Danjou
|
2c43fd6a69
|
Split titlebar properties into a struct with a SW and a Position
|
2008-03-23 15:52:18 +01:00 |
Julien Danjou
|
4311564945
|
Fix condition for having titlebars
|
2008-03-23 15:52:18 +01:00 |
Julien Danjou
|
dce101d044
|
Split out titlebar handling into layout for non-floating, and into resize for floating
|
2008-03-23 15:52:18 +01:00 |
Julien Danjou
|
3c3015fd76
|
Remove resize_hints args to client_resize(), force usage of client_geometry_hints()
|
2008-03-23 15:52:18 +01:00 |
Julien Danjou
|
ea88e324a0
|
First titlebar support
|
2008-03-23 15:52:18 +01:00 |
Julien Danjou
|
f1109b055c
|
Simplify next/prev stuff
|
2008-03-23 15:52:18 +01:00 |
Julien Danjou
|
c6eec955c8
|
Rename Area to area_t
|
2008-03-23 15:52:18 +01:00 |
Julien Danjou
|
fa47024714
|
Change colors infrastructure to style: rename colors_ctx_t to style_t and add font in it
|
2008-03-23 15:52:18 +01:00 |
Julien Danjou
|
0a980095b3
|
Rework colors stuff, add a common colors_ctx_t containing colors and shadow options
|
2008-03-23 15:52:17 +01:00 |
Julien Danjou
|
eee37d063c
|
Use xinerama_is_active attribute and drop XineramaIsActive() usage
|
2008-03-23 15:52:17 +01:00 |
Julien Danjou
|
355b7d67b3
|
Change screen_get_bycoord() proto to take ScreensInfo as arg, and speed up things
|
2008-03-23 15:52:17 +01:00 |
Julien Danjou
|
0bde5c9e29
|
Move some screen functions from screen.c to new common/xscreen.c
|
2008-03-23 15:52:17 +01:00 |