Commit graph

1055 commits

Author SHA1 Message Date
Dana Jansens
f8a47de5ec merge the C branch into HEAD 2003-03-16 21:11:39 +00:00
Dana Jansens
feaf3ac4e5 time to refactor shit hard 2003-02-19 19:28:11 +00:00
Dana Jansens
1dac42d9ed catch button presses on the client border (the plate's border) 2003-02-19 12:12:32 +00:00
Dana Jansens
2df4d8c7aa map to the highest possible desktop if a desktop too large is requested 2003-02-19 09:35:13 +00:00
Dana Jansens
fb1c1a8163 only map on a requested desktop if its not out of range 2003-02-19 09:33:30 +00:00
Dana Jansens
2ffeaf1ecd labels are higher than buttons too 2003-02-19 02:41:22 +00:00
Dana Jansens
89a5c973ac surface's have a size not a width()/height() 2003-02-19 02:39:21 +00:00
Dana Jansens
65e91ac3d6 labels are not the size of buttons 2003-02-19 02:38:47 +00:00
Dana Jansens
dfd3f12c5c make labels' parent relative actually work :> 2003-02-19 02:35:12 +00:00
Dana Jansens
1e47e17d08 make parentrelative decorations work 2003-02-19 02:31:35 +00:00
Dana Jansens
04494f100b dont assume only 5 mouse buttons.
dont need to track them all either, kill the queue, and watch one at a timesmarter
2003-02-19 01:29:11 +00:00
Dana Jansens
d2a1ecb1b5 let any number of mouse buttons work 2003-02-19 01:07:29 +00:00
Dana Jansens
d647de97be add the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote' mode. 2003-02-19 00:58:59 +00:00
Dana Jansens
503638dbc6 typo! 2003-02-18 22:57:28 +00:00
Dana Jansens
a1a606d4f8 watch for case where we think one button is pressed but it isnt anymore, making Click events get missed 2003-02-18 15:59:36 +00:00
Dana Jansens
ccb58d37ee adjust to the new format for otk::Proeprty::get() functions (no nelements)
let the user specify if it is a 'final' move for a window or not, and the client will only be sent a ConfigureNotify if it is.
2003-02-17 21:50:48 +00:00
Dana Jansens
232092fa21 provide a function to return all the desktop names instead of one at a time.
adjust to the new format for otk::Proeprty::get() functions (no nelements)
2003-02-17 21:49:39 +00:00
Dana Jansens
3240c1d94e check for no screens before asserting 2003-02-17 19:17:17 +00:00
Dana Jansens
fbfa279862 dont need preprocessor shit for swig 2003-02-17 17:39:22 +00:00
Dana Jansens
0dd7ebcba9 add support for the openbox_restack_window message.
use the state_add/remove/toggle values from otk::Property::atoms
2003-02-17 15:11:03 +00:00
Dana Jansens
c15dced3b9 this has been moved to wrap/ 2003-02-17 15:10:16 +00:00
Dana Jansens
b3879a2323 s/False/false/ 2003-02-17 13:42:01 +00:00
Dana Jansens
c6930ae234 rm the SWIG ifdefs 2003-02-17 12:46:55 +00:00
Dana Jansens
361303715b kill the typedef 2003-02-17 12:46:32 +00:00
Dana Jansens
136c9c078d support for pixmap icons, kwm_win_icon and the icon in wmhints 2003-02-16 21:57:21 +00:00
Dana Jansens
0c2f0e0b5e keep track of the kwm_win_icon property 2003-02-16 20:11:02 +00:00
Dana Jansens
93ea4c4d2e supply more information about errors when running scripts 2003-02-16 18:16:55 +00:00
Dana Jansens
16a952c35d adjust how the config is loaded. it is not loaded at all during the screen's constructor, it is loaded afterwards and applied, but before windows are managed 2003-02-16 18:14:05 +00:00
Dana Jansens
893faed7b1 order things to work correctly for now, with the python loading and the the config setting 2003-02-16 18:09:06 +00:00
Dana Jansens
c8789ccdbf execute files such that i can track if an exception was thrown in it 2003-02-16 16:33:37 +00:00
Dana Jansens
8ed79248e7 when python_exec fails on user.py:
a) remove all the bindings
  b) exec defaults.py
  c) show a dialog message
2003-02-16 16:33:12 +00:00
Dana Jansens
8cbabdcb93 import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded
2003-02-16 16:32:21 +00:00
Dana Jansens
afe1d9e3a8 still draw the background when no text will fit 2003-02-16 10:05:29 +00:00
Dana Jansens
532697b21a put the desktop names in the right variable 2003-02-16 09:08:34 +00:00
Derek Foreman
73a584981e Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)
2003-02-16 06:55:11 +00:00
Dana Jansens
fd76689470 dont provide a default icon in the python stuff, itll come from the style 2003-02-15 12:47:05 +00:00
Dana Jansens
7fe3301e7e Add the "obsetroot" tool. Use it to set the root background. 2003-02-14 23:05:59 +00:00
Dana Jansens
299dc47a6b rm shit that no longer applies 2003-02-14 22:53:24 +00:00
Dana Jansens
53b5c60a5e check if the window is focused before unfocusing it 2003-02-14 18:31:52 +00:00
Dana Jansens
f78761c8dd just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways. 2003-02-14 11:09:01 +00:00
Dana Jansens
29d030cc3e use an icon smaller than the surface if possible 2003-02-14 08:47:37 +00:00
Dana Jansens
0b466d7136 kill debug prints 2003-02-14 08:20:54 +00:00
Dana Jansens
49974f6916 dont put DEBUG: in the printf 2003-02-14 06:22:29 +00:00
Dana Jansens
50002f2ceb add a default icon 2003-02-14 05:48:31 +00:00
Dana Jansens
e936cba57e rm debug print 2003-02-14 03:44:00 +00:00
Dana Jansens
2f2d6e736e layout the titlebar right, was adding too much space when buttons were removed from the titlebar 2003-02-14 03:13:26 +00:00
Dana Jansens
059bc4dc24 add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.
2003-02-14 03:04:23 +00:00
Dana Jansens
238355f190 put the Python.h header in the .cc 2003-02-13 23:44:47 +00:00
Dana Jansens
54e85b2599 only keep fullscreen windows in the top layer when they or a relative is focused 2003-02-13 23:44:32 +00:00
Dana Jansens
07305ec718 display icons in the frame titlebar! 2003-02-13 10:23:22 +00:00